Difference between revisions of "Template:STFI"
Jump to navigation
Jump to search
m (→Examples) |
|||
Line 1: | Line 1: | ||
<includeonly>< | <includeonly><span class="standard-frame-icon {{#switch:{{lc:{{{size|big}}}}}|big=|small=small|mid=mid}}">[[File:{{#if:{{{icon|}}}|{{{icon}}}|{{{1|}}}.png}}|{{#switch:{{lc:{{{size|big}}}}}|small=20|mid=30|big=40}}px]][{{fullurl:{{#if:{{{link|}}}|{{{link}}}|File:{{{1|}}}.png}}}} ]</span></includeonly><noinclude> | ||
== Description == | == Description == | ||
'''''St'''andard '''F'''rame '''I'''con''. Used by all templates which displays a frame icon. | '''''St'''andard '''F'''rame '''I'''con''. Used by all templates which displays a frame icon. |
Revision as of 12:26, 5 February 2022
Description
Standard Frame Icon. Used by all templates which displays a frame icon.
{{STFI|<page name>|icon=|link=|size=}}
Parameters
- unnamed parameter 1
- Page name. Defines icon and link.
- icon
- Optional. The icon to be displayed with extension (eg. Action.png), defaults to
<parameter 1>.png
.
- link
- Optional. The image url with extension (eg. Action.png), defaults to
<parameter 1>.png
.
- size
- Optional. The image size. Can be big (default), mid, or small.
Examples
{{STFI|Transpose}}
{{STFI|Nonexistant}}
{{STFI|Transpose|size=big}} (default)
{{STFI|Transpose|size=mid}}
{{STFI|Transpose|size=small}}
{{STFI|Rampart|icon=Ruin II.png}}
{{STFI|icon=Ruin II.png|link=Ruin III}}