Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Icon: Difference between revisions

Template page
Casiope (talk | contribs)
mNo edit summary
Casiope (talk | contribs)
m Test
Line 1: Line 1:
<onlyinclude><div class="grid-item" style="{{#if:{{{height|}}}|height:{{{height|100px}}};}}{{#if:{{{width|}}}|width:{{{width|100px}}};}}">[[File:{{{name|Name}}} icon.png|{{{size|100x100px}}}|link={{{name}}}]]<p>[[{{{name}}}]]</p>{{#if:{{{description|}}}|<p>{{{description}}}</p>}}</div></onlyinclude>
<onlyinclude>File:{{{name|Name}}} icon.png|link=[[{{{name}}}]]|[[{{{name}}}]]</onlyinclude>
<noinclude>
<noinclude>
Base Icon template. Displays the <Image> icon of <Size> if a file for it exists and links to the page with <Name> also displays <Name> below the icon and a description if applicable. the dimensions are customizable with a default of height and width is 100px.
Base Icon template. Displays the <Image> icon of <Size> if a file for it exists and links to the page with <Name> also displays <Name> below the icon and a description if applicable. the dimensions are customizable with a default of height and width is 100px.
[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Revision as of 15:13, 18 May 2019

File:Name icon.png|link=[[{{{name}}}]]|[[{{{name}}}]]

Base Icon template. Displays the <Image> icon of <Size> if a file for it exists and links to the page with <Name> also displays <Name> below the icon and a description if applicable. the dimensions are customizable with a default of height and width is 100px.