Difference between revisions of "Template:Relations"

From Final Fantasy XIV Online Wiki
Jump to navigation Jump to search
(creation)
 
m
Line 1: Line 1:
{{#switch: {{lc:{{{1|}}}}}
<includeonly>{{#switch: {{lc:{{{1|}}}}}
| sylphic = <span style="position:relative; bottom:2px;">[[File:Sylphic Relations.png|{{{size|20}}}px|link=Sylphic Relations|Sylphic Relations]]</span>
| sylphic = <span style="position:relative; bottom:2px;">[[File:Sylphic Relations.png|{{{size|20}}}px|link=Sylphic Relations|Sylphic Relations]]</span>
| sahagin = <span style="position:relative; bottom:2px;">[[File:Sahagin Relations.png|{{{size|20}}}px|link=Sahagin Relations|Sahagin Relations]]</span>
| sahagin = <span style="position:relative; bottom:2px;">[[File:Sahagin Relations.png|{{{size|20}}}px|link=Sahagin Relations|Sahagin Relations]]</span>
Line 10: Line 10:
| kojin = <span style="position:relative; bottom:2px;">[[File:Kojin Relations.png|{{{size|20}}}px|link=Kojin Relations|Kojin Relations]]</span>
| kojin = <span style="position:relative; bottom:2px;">[[File:Kojin Relations.png|{{{size|20}}}px|link=Kojin Relations|Kojin Relations]]</span>
| #default={{currency||{{{1}}}}}
| #default={{currency||{{{1}}}}}
}}{{#if:{{{2|}}}|&nbsp;{{formatnum:{{{2}}}}}|}}<noinclude>
}}{{#if:{{{2|}}}|&nbsp;{{formatnum:{{{2}}}}}|}}</includeonly><noinclude>


== Usage ==
== Usage ==

Revision as of 12:49, 20 November 2017


Usage

{{relations|<type>}}
{{relations|<type>|<amount>}}
{{relations|<type>|<amount>}}

Parameters

unnamed parameter 1
Tribe relations identifier. See table below.
unnamed parameter 2
Quantity, displayed in front of the token icon.

Examples

Beast Tribe Input Output
Sylphs {{relations|sylphic}} Sylphic Relations
Sahagin {{relations|sahagin}} Sahagin Relations
Kobold {{relations|kobold}} Kobold Relations
Ixali {{relations|ixali}} Ixali Relations
Amalj'aa {{relations|amaljaa}} Amalj'aa Relations
Vanu Vanu {{relations|vanu}} Vanu Relations
Vath {{relations|vath}} Vath Relations
Moogle {{relations|Moogle}} Moogle Relations
Kojin {{relations|kojin}} Kojin Relations