This site is not maintained anymore. Please move to MHWiki.org
Difference between revisions of "Template:Gi"
From Die2Nite Wiki
| (3 intermediate revisions by the same user not shown) | |||
| Line 12: | Line 12: | ||
</div> | </div> | ||
</div> | </div> | ||
| − | <!--[[Category:Game images]]-->[[Category:{{#if:{{{category|}}}|{{{category}}}|Uncategorised}} 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 | ||
| − | *filename= is the original filename only to be used if there is a filename conflict ( | + | *filename= is the original filename only to be used if there is a filename conflict (unlikely) or for capitalised image names (very rare see [[:Category:Death images]]) |
| − | *directory= 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]] and [[:Category:Banner images]] |
| − | *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 |
| + | |||
| + | Typical use. | ||
| + | <pre>{{gi|category=item}}</pre> | ||
| + | |||
| + | Death images. | ||
| + | <pre>{{gi|category=death|directory=art/death|filename=DT_Dehydrated.jpg}}</pre> | ||
| + | |||
| + | Banner images: | ||
| + | <pre>{{gi|category=banner|directory=sections}}</pre> | ||
| + | |||
| + | ==File name and path check== | ||
| + | It is important after you have placed the template that you test if the file name and path are correct so click the external link in the template to go to the version of the image at die2nite.com. If the image gives a 404 error something is wrong and you need to adjust either the filename or directory. If the image loads correctly, everything is fine and you can finish editing. | ||
| + | </noinclude> | ||
Latest revision as of 17:48, 13 August 2011
Originally from [1] 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 (unlikely) or for capitalised image names (very rare see Category:Death images)
- directory= parameter if included is an alternate directory in the die2nite gfx directory, not often used see
and Category:Banner images - category= parameter is used to sort the image into an appropriate subcategory
Typical use.
{{gi|category=item}}
Death images.
{{gi|category=death|directory=art/death|filename=DT_Dehydrated.jpg}}
Banner images:
{{gi|category=banner|directory=sections}}
File name and path check
It is important after you have placed the template that you test if the file name and path are correct so click the external link in the template to go to the version of the image at die2nite.com. If the image gives a 404 error something is wrong and you need to adjust either the filename or directory. If the image loads correctly, everything is fine and you can finish editing.