Difference between revisions of "Template:THimage"

From Twilight Heroes Wiki
Jump to: navigation, search
Line 3: Line 3:
 
This image is property of [http://www.twilightheroes.com '''Twilight Heroes'''], Copyright © 2006-2016 [http://www.quirkz.com/ Quirkz Media]
 
This image is property of [http://www.twilightheroes.com '''Twilight Heroes'''], Copyright © 2006-2016 [http://www.quirkz.com/ Quirkz Media]
  
The original location of this image was:<br />[http://www.twilightheroes.com/images/{{{1}}}{{#if:{{{2|}}}|/{{{2}}}}} http://www.twilightheroes.com/images/{{{1}}}{{#if:{{{2|}}}|/{{{2}}}}}]{{#if:{{{2|}}}|<br /> <br /> {{#ifeq:{{{2}}}|{{lcfirst:{{PAGENAMEE}}}}||This image {{#ifeq:{{{renamed|0}}}|1|was intentionally renamed when it was uploaded {{#ifexist:Image:{{{2}}}|to avoid conflicting with [[:Image:{{{2}}}|{{{2}}}]].|due to some unspecified reason.}}[[Category:Renamed In-game Images]]|may have been uploaded with the wrong filename. If this was intentional, please add |renamed=1.[[Category:Misnamed In-game Images]]}}}}|[[Category:Unchecked Images]]}}[[Category:In-game Images]]</includeonly><noinclude>
+
The original location of this image was:<br />[http://www.twilightheroes.com/images/{{#if:{{{1|}}}|/{{{1}}}}}{{#if:{{{2|}}}|/{{{2}}}}} http://www.twilightheroes.com/images{{#if:{{{1|}}}|/{{{1}}}}}{{#if:{{{2|}}}|/{{{2}}}}}]{{#if:{{{2|}}}|<br /> <br /> {{#ifeq:{{{2}}}|{{lcfirst:{{PAGENAMEE}}}}||This image {{#ifeq:{{{renamed|0}}}|1|was intentionally renamed when it was uploaded {{#ifexist:Image:{{{2}}}|to avoid conflicting with [[:Image:{{{2}}}|{{{2}}}]].|due to some unspecified reason.}}[[Category:Renamed In-game Images]]|may have been uploaded with the wrong filename. If this was intentional, please add |renamed=1.[[Category:Misnamed In-game Images]]}}}}|[[Category:Unchecked Images]]}}[[Category:In-game Images]]</includeonly><noinclude>
 
==Usage==  
 
==Usage==  
 
<code><nowiki>{{</nowiki>THimage|''directory''|''filename''}}</code>
 
<code><nowiki>{{</nowiki>THimage|''directory''|''filename''}}</code>

Revision as of 23:23, 13 May 2009

Usage

{{THimage|directory|filename}}

Optional parameter: renamed - specify 1 if the image was intentionally renamed during upload to avoid conflicting with an existing image.