[dismiss]
Difference between revisions of "Template:STFI"
Jump to navigation
Jump to search
m |
Tag: Manual revert |
||
(8 intermediate revisions by 3 users not shown) | |||
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. | ||
<pre>{{STFI|<page name>|icon=|link=}}</pre> | <pre>{{STFI|<page name>|icon=|link=|size=}}</pre> | ||
== Parameters == | == Parameters == | ||
Line 13: | Line 13: | ||
; link | ; link | ||
: Optional. The image url with extension (eg. Action'''.png'''), defaults to <code><nowiki><parameter 1>.png</nowiki></code>. | : Optional. The image url with extension (eg. Action'''.png'''), defaults to <code><nowiki><parameter 1>.png</nowiki></code>. | ||
; size | |||
: Optional. The image size. Can be ''big (default)'', ''mid'', or ''small''. | |||
== Examples == | == Examples == | ||
<pre>{{STFI|Transpose}}</pre> | <pre>{{STFI|Transpose}}</pre> | ||
{{STFI|Transpose}} | {{STFI|Transpose}} | ||
<pre>{{STFI|Nonexistant}}</pre> | |||
{{STFI|Nonexistant}} | |||
<pre>{{STFI|Transpose|size=big}} (default)</pre> | |||
{{STFI|Transpose|size=big}} | {{STFI|Transpose|size=big}} | ||
<pre>{{STFI|Transpose|size=mid}}</pre> | |||
{{STFI|Transpose|size=mid}} | {{STFI|Transpose|size=mid}} | ||
<pre>{{STFI|Transpose|size=small}}</pre> | |||
{{STFI|Transpose|size=small}} | {{STFI|Transpose|size=small}} | ||
<pre>{{STFI|Rampart|icon=Ruin II.png}}</pre> | <pre>{{STFI|Rampart|icon=Ruin II.png}}</pre> |
Latest revision as of 18:44, 20 June 2024
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}}