Difference between revisions of "Template:Icon"

From Summertime Saga Wiki
Jump to: navigation, search
(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|}}}...")
 
m
 
(20 intermediate revisions by 2 users not shown)
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>
+
File:{{{1}}} icon.png{{!}}alt{{=}}{{{1}}}{{!}}link{{=}}{{{2|{{{1}}}}}}{{!}}[[{{{2|{{{1}}}}}}|{{{3|{{{2|{{{1}}}}}}}}}]]<noinclude>[[Category:Templates]]</noinclude>
<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>
 

Latest revision as of 16:41, 10 July 2020

File:{{{1}}} icon.png|alt={{{1}}}|link={{{1}}}|[[{{{1}}}|{{{1}}}]]