Difference between revisions of "User:Zuri/Template:STFI"

From Final Fantasy XIV Online Wiki
Jump to navigation Jump to search
(Created page with "<includeonly><div class="standard-frame-icon {{#switch:{{lc:{{{size|big}}}}}|big=|small=small|mid=mid}}">File:{{#if:{{{icon|}}}|{{{icon}}}|{{{1|}}}.png}}|{{#switch:{{lc:{{{s...")
 
(Blanked the page)
Tag: Blanking
 
Line 1: Line 1:
<includeonly><div 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}}}} &nbsp;]</div></includeonly><noinclude>
== Description ==
'''''St'''andard '''F'''rame '''I'''con''. Used by all templates which displays a frame icon.
<pre>{{STFI|<page name>|icon=|link=|size=}}</pre>


== Parameters ==
; ''unnamed parameter 1''
: Page name. Defines icon and link.
; icon
: Optional. The icon to be displayed with extension (eg. Action'''.png'''), defaults to <code><nowiki><parameter 1>.png</nowiki></code>.
; link
: 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 ==
<pre>{{STFI|Transpose}}</pre>
{{STFI|Transpose}}
<pre>{{STFI|Nonexistant}}</pre>
{{STFI|Nonexistant}}
<pre>{{STFI|Transpose|size=big}} (default)</pre>
{{STFI|Transpose|size=big}}
<pre>{{STFI|Transpose|size=mid}}</pre>
{{STFI|Transpose|size=mid}}
<pre>{{STFI|Transpose|size=small}}</pre>
{{STFI|Transpose|size=small}}
<pre>{{STFI|Rampart|icon=Ruin II.png}}</pre>
{{STFI|Rampart|icon=Ruin II.png}}
<pre>{{STFI|icon=Ruin II.png|link=Ruin III}}</pre>
{{STFI|icon=Ruin II.png|link=Ruin III}}
[[Category:Formatting templates]]</noinclude>

Latest revision as of 12:00, 2 April 2023