Difference between revisions of "Template:THimage"

From Twilight Heroes Wiki
Jump to: navigation, search
(I think it's about time we specify the source (stolen from kolwiki like many other template))
 
m (Update copyright to 2020)
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<includeonly>[[Image:Twilight-heroes-logo.gif]]
 
<includeonly>[[Image:Twilight-heroes-logo.gif]]
  
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-2011 [http://www.quirkz.com/ Quirkz Media], 2011-2020 [http://www.metroplexitygames.com/ Metroplexity Games]
  
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]]}} </div> </div> [[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]][[Category:In-game Images]]|may have been uploaded with the wrong filename. If this was intentional, please add <nowiki>|renamed=1</nowiki>.[[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>
  
 
Optional parameter: ''renamed'' - specify 1 if the image was intentionally renamed during upload to avoid conflicting with an existing image.
 
Optional parameter: ''renamed'' - specify 1 if the image was intentionally renamed during upload to avoid conflicting with an existing image.
[[Category:Standardization Templates]]</noinclude>
+
[[Category:Standardization Templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 21:32, 31 March 2020

Usage

{{THimage|directory|filename}}

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