This site is not maintained anymore. Please move to MHWiki.org
Difference between revisions of "Template:Gi"
From Die2Nite Wiki
(Redirected page to Template:Game Image) |
|||
| (4 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | # | + | <includeonly><div class="boilerplate" style="margin:0.5em auto; width:100%; clear:both; background-color:#f7f8ff; border:2px solid #8888aa; padding:4px; font-size:85%;min-height:50px; vertical-align:center;" id="imageLicense"> |
| + | <div style="float:left" id="imageLicenseIcon">[[Image:Copyright-200px.svg.png|60px]]</div> | ||
| + | <div style="text-align:left;margin-left:64px" id="imageLicenseText"> | ||
| + | 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:{{{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 /> | ||
| + | {{#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:{{localurl:Media:{{PAGENAME}}}}|/thekolwiki/images/a/ad/{{PAGENAME}}|<br />'''If you do not see this image, it is likely being blocked by an advertisement filter.'''[[Category:Ad-filtered Images]]}} | ||
| + | --> | ||
| + | </div> | ||
| + | </div> | ||
| + | <!--[[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 | ||
| + | *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]] and [[:Category:Banner images]] | ||
| + | *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.