Difference between revisions of "Template:Icon"
From Summertime Saga Wiki
(Created page with "<onlyinclude><div class="grid-item" style="height:{{{height|120px}}};">[[File:{{{name|Name}}} icon.png|100x100px|link={{{name}}}]]<p>[[{{{name}}}]]</p>{{#if:{{{description|}}}...") |
|||
Line 1: | Line 1: | ||
− | <onlyinclude><div class="grid-item" style="height:{{{height|120px}}};">[[File:{{{name|Name}}} icon.png|100x100px|link={{{name}}}]]<p>[[{{{name}}}]]</p>{{#if:{{{description|}}}|<p>{{{description}}}/p></div></onlyinclude> | + | <onlyinclude><div class="grid-item" style="height:{{{height|120px}}};">[[File:{{{name|Name}}} icon.png|100x100px|link={{{name}}}]]<p>[[{{{name}}}]]</p>{{#if:{{{description|}}}|<p>{{{description}}}</p></div></onlyinclude> |
<noinclude>Base Icon template. Displays the <Image> icon if a file for it exists and links to the page with <Name> also displays <Name> below the icon and a secondary descriptor if applicable. the dimensions are customizable with a default of 120px. | <noinclude>Base Icon template. Displays the <Image> icon if a file for it exists and links to the page with <Name> also displays <Name> below the icon and a secondary descriptor if applicable. the dimensions are customizable with a default of 120px. | ||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |
Revision as of 16:46, 13 September 2018
Base Icon template. Displays the <Image> icon if a file for it exists and links to the page with <Name> also displays <Name> below the icon and a secondary descriptor if applicable. the dimensions are customizable with a default of 120px.