Difference between revisions of "Template:MIA"

From Nookipedia, the Animal Crossing wiki
(Adding code to allow template to adjust image properties)
(Fixing code.)
Line 1: Line 1:
<onlyinclude>[[File:{{CurrentSeason}}Leaf.png{{#if: {{{1|}}} | {{{1|}}} | |}}]]</onlyinclude>
+
<onlyinclude>[[File:{{CurrentSeason}}Leaf.png|{{#if: {{{1|}}} | {{{1|}}} | 75px |}}]]</onlyinclude>
 
<noinclude>
 
<noinclude>
 
==Usage==
 
==Usage==
Line 5: Line 5:
  
 
The template also allows one to add additional wikitext to adjust the image's properties.
 
The template also allows one to add additional wikitext to adjust the image's properties.
e.g. <code><nowiki>{{MIA||50px}}</nowiki></code>
+
e.g. <code><nowiki>{{MIA|50px}}</nowiki></code>
 
</noinclude>
 
</noinclude>

Revision as of 20:19, July 5, 2016

FallLeaf.png

Usage

To be used in item tables when there is no image available for an item. The color of the leaf changes to match the site's skin color.

The template also allows one to add additional wikitext to adjust the image's properties. e.g. {{MIA|50px}}