Difference between revisions of "Template:Relations"

From Final Fantasy XIV Online Wiki
Jump to navigation Jump to search
m
m
Line 1: Line 1:
<includeonly>{{#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>{{#if:{{{name|}}}|&nbsp;[[Sylphic Relations]]}}
| 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>{{#if:{{{name|}}}|&nbsp;[[Sahagin Relations]]}}
| kobold = <span style="position:relative; bottom:2px;">[[File:Kobold Relations.png|{{{size|20}}}px|link=Kobold Relations|Kobold Relations]]</span>
| kobold = <span style="position:relative; bottom:2px;">[[File:Kobold Relations.png|{{{size|20}}}px|link=Kobold Relations|Kobold Relations]]</span>{{#if:{{{name|}}}|&nbsp;[[Kobold Relations]]}}
| ixali = <span style="position:relative; bottom:2px;">[[File:Ixali Relations.png|{{{size|20}}}px|link=Ixali Relations|Ixali Relations]]</span>
| ixali = <span style="position:relative; bottom:2px;">[[File:Ixali Relations.png|{{{size|20}}}px|link=Ixali Relations|Ixali Relations]]</span>{{#if:{{{name|}}}|&nbsp;[[Ixali Relations]]}}
| amaljaa | amalj'aa = <span style="position:relative; bottom:2px;">[[File:Amalj'aa Relations.png|{{{size|20}}}px|link=Amalj'aa Relations|Amalj'aa Relations]]</span>
| amaljaa | amalj'aa = <span style="position:relative; bottom:2px;">[[File:Amalj'aa Relations.png|{{{size|20}}}px|link=Amalj'aa Relations|Amalj'aa Relations]]</span>{{#if:{{{name|}}}|&nbsp;[[Amalj'aa Relations]]}}
| vanu | vanu vanu = <span style="position:relative; bottom:2px;">[[File:Vanu Relations.png|{{{size|20}}}px|link=Vanu Relations|Vanu Relations]]</span>
| vanu | vanu vanu = <span style="position:relative; bottom:2px;">[[File:Vanu Relations.png|{{{size|20}}}px|link=Vanu Relations|Vanu Relations]]</span>{{#if:{{{name|}}}|&nbsp;[[Vanu Vanu Relations]]}}
| vath = <span style="position:relative; bottom:2px;">[[File:Vath Relations.png|{{{size|20}}}px|link=Vath Relations|Vath Relations]]</span>
| vath = <span style="position:relative; bottom:2px;">[[File:Vath Relations.png|{{{size|20}}}px|link=Vath Relations|Vath Relations]]</span>{{#if:{{{name|}}}|&nbsp;[[Vath Relations]]}}
| moogle = <span style="position:relative; bottom:2px;">[[File:Moogle Relations.png|{{{size|20}}}px|link=Moogle Relations|Moogle Relations]]</span>
| moogle = <span style="position:relative; bottom:2px;">[[File:Moogle Relations.png|{{{size|20}}}px|link=Moogle Relations|Moogle Relations]]</span>{{#if:{{{name|}}}|&nbsp;[[Moogle Relations]]}}
| 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>{{#if:{{{name|}}}|&nbsp;[[Kojin Relations]]}}
| #default={{currency||{{{1}}}}}
| #default={{currency||{{{1}}}}}
}}{{#if:{{{2|}}}|&nbsp;{{formatnum:{{{2}}}}}|}}</includeonly><noinclude>
}}{{#if:{{{2|}}}|&nbsp;{{formatnum:{{{2}}}}}|}}</includeonly><noinclude>
Line 16: Line 16:
{{relations|<type>}}
{{relations|<type>}}
{{relations|<type>|<amount>}}
{{relations|<type>|<amount>}}
{{relations|<type>|<amount>}}</nowiki>
{{relations|<type>|<amount>|name=}}</nowiki>


=== Parameters ===
=== Parameters ===
; ''unnamed parameter 1'' : Tribe relations identifier. See table below.
; ''unnamed parameter 1'' : Tribe relations identifier. See table below.
; ''unnamed parameter 2'' : Quantity, displayed in front of the token icon.
; ''unnamed parameter 2'' : Quantity, displayed in front of the token icon.
; name
: Optional. Set anything to display the relations name.


=== Examples ===
=== Examples ===

Revision as of 13:35, 27 November 2017


Usage

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

Parameters

unnamed parameter 1
Tribe relations identifier. See table below.
unnamed parameter 2
Quantity, displayed in front of the token icon.
name
Optional. Set anything to display the relations name.

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