Template:Icon: Difference between revisions
Jump to navigation
Jump to search
(Fixes.) |
(Bah.) |
||
Line 1: | Line 1: | ||
<includeonly>[[File:{{{1}}} {{#if:{{{v|}}}|{{{v}}} }}icon.png|link={{{1}}}|{{{3|x24px}}}]]{{#if:{{{2|}}}| [[{{{n|{{{1}}}}}}]]}}</includeonly><noinclude> | <includeonly>[[File:{{{1}}} {{#if:{{{v|}}}|{{{v}}} }}icon.png|link={{{1}}}|{{#if:{{{nosize|}}}||{{{3|x24px}}}}}]]{{#if:{{{2|}}}| [[{{{n|{{{1}}}}}}]]}}</includeonly><noinclude> | ||
==Info== | ==Info== | ||
Line 10: | Line 10: | ||
*v: If there is more than one version of the subject, use this parameter to specify it, for the icon's filename. | *v: If there is more than one version of the subject, use this parameter to specify it, for the icon's filename. | ||
*n: If you want a different display name for the text link, specify it here. | *n: If you want a different display name for the text link, specify it here. | ||
*nosize: If this parameter has a value, the icon size will not be changed from the original. | |||
===Examples=== | ===Examples=== |
Revision as of 04:44, September 22, 2014
Info
This template shows the icon of a subject, with the icon linking to said subject. You can also have it quickly give a link to the subject in plain text, right after the icon.
Parameters
- 1: The subject.
- 2: If this parameter has a value (like y), a text link will be added to the front of the icon.
- 3: If this parameter has a value, it'll change the default size (24px height) to your liking.
- v: If there is more than one version of the subject, use this parameter to specify it, for the icon's filename.
- n: If you want a different display name for the text link, specify it here.
- nosize: If this parameter has a value, the icon size will not be changed from the original.
Examples