Difference between revisions of "Template:STFI"

From Final Fantasy XIV Online Wiki
Jump to navigation Jump to search
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>
<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}}}} &nbsp;]</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}}

Transpose.png 

{{STFI|Nonexistant}}

40px 

{{STFI|Transpose|size=big}} (default)

Transpose.png 

{{STFI|Transpose|size=mid}}

Transpose.png 

{{STFI|Transpose|size=small}}

Transpose.png 

{{STFI|Rampart|icon=Ruin II.png}}

Ruin II.png 

{{STFI|icon=Ruin II.png|link=Ruin III}}

Ruin II.png