This site is not maintained anymore. Please move to MHWiki.org

Difference between revisions of "Template:Game Image"

From Die2Nite Wiki
Jump to: navigation, search
(try to remove the need to type in the image name)
(few more updates)
Line 4: Line 4:
 
This image is property of [http://www.die2nite.com/ '''Die2Nite'''], copyright [http://www.motion-twin.com/english Motion-Twin].
 
This image is property of [http://www.die2nite.com/ '''Die2Nite'''], copyright [http://www.motion-twin.com/english Motion-Twin].
  
−
The original location of this image was:<br />[http://data.die2nite.com/gfx/{{#if:{{{2|}}}|{{{2}}}|icons}}/{{lcfirst:{{PAGENAMEE}}}} http://data.die2nite.com/gfx/{{#if:{{{2|}}}|{{{2}}}|icons}}/{{lcfirst:{{PAGENAMEE}}}}]<!--{{#if:{{{2|}}}|<br />
+
The original location of this image was:<br />[http://data.die2nite.com/gfx/{{#if:{{{directory|}}}|{{{directory}}}|icons}}/{{#if:{{{filename|}}}|{{{filename}}}|{{lcfirst:{{PAGENAMEE}}}}}} http://data.die2nite.com/gfx/{{#if:{{{directory|}}}|{{{directory}}}|icons}}/{{#if:{{{filename|}}}|{{{filename}}}|{{lcfirst:{{PAGENAMEE}}}}}}]<!--
 +
{{#if:{{{2|}}}|<br />
 
<br />
 
<br />
 
{{#ifeq:{{{2}}}|{{lcfirst:{{PAGENAMEE}}}}||This image {{#ifeq:{{{renamed|0}}}|1|was [[TheKolWiki talk:Image use policy|intentionally renamed]] when it was uploaded {{#ifexist:Image:{{{2}}}|to avoid conflicting with [[:Image:{{{2}}}|{{{2}}}]].|due to filename length restrictions.}}[[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]]}}}}|{{#ifeq:{{{nodirs|0}}}|0|[[Category:Unchecked Images]]|}}}}
 
{{#ifeq:{{{2}}}|{{lcfirst:{{PAGENAMEE}}}}||This image {{#ifeq:{{{renamed|0}}}|1|was [[TheKolWiki talk:Image use policy|intentionally renamed]] when it was uploaded {{#ifexist:Image:{{{2}}}|to avoid conflicting with [[:Image:{{{2}}}|{{{2}}}]].|due to filename length restrictions.}}[[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]]}}}}|{{#ifeq:{{{nodirs|0}}}|0|[[Category:Unchecked Images]]|}}}}
Line 11: Line 12:
 
</div>
 
</div>
 
</div>
 
</div>
−
[[Category:Game Images]][[Category:{{#if:{{{category|}}}|{{{category}}}}} Images]]</includeonly><noinclude>Originally from http://kol.coldfront.net/thekolwiki/index.php/Template:Kolimage
+
[[Category:Game images]][[Category:{{#if:{{{category|}}}|{{{category}}}|Uncategorised}} images]]</includeonly><noinclude>Originally from http://kol.coldfront.net/thekolwiki/index.php/Template:Kolimage
 
Used for marking in game images as copyright of motion twin, sorting into categories, sourcing images etc
 
Used for marking in game images as copyright of motion twin, sorting into categories, sourcing images etc
−
*First parameter is the original filename usually all lowercase with underscores
+
*filename is the original filename only to be used if there is a filename conflict (extremely unlikely)
−
*Second parameter if included is an alternate directory in the die2nite gfx directory, not often used see [[Image:small_pa.gif]]
+
*directory= parameter if included is an alternate directory in the die2nite gfx directory, not often used see [[Image:small_pa.gif]]
 
*category= parameter is used to sort the image into an appropriate subcategory</noinclude>
 
*category= parameter is used to sort the image into an appropriate subcategory</noinclude>

Revision as of 15:13, 4 August 2011

Originally from http://kol.coldfront.net/thekolwiki/index.php/Template:Kolimage Used for marking in game images as copyright of motion twin, sorting into categories, sourcing images etc

  • filename is the original filename only to be used if there is a filename conflict (extremely unlikely)
  • directory= parameter if included is an alternate directory in the die2nite gfx directory, not often used see Small pa.gif
  • category= parameter is used to sort the image into an appropriate subcategory