Difference between revisions of "Template:Relations"

From Final Fantasy XIV Online Wiki
Jump to navigation Jump to search
m
 
(8 intermediate revisions by 3 users not shown)
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>{{#if:{{{name|}}}|&nbsp;[[Sylphic Relations]]}}
| 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>{{#if:{{{name|}}}|&nbsp;[[Sahagin Relations]]}}
| sahagin = <span style="position:relative; bottom:2px;">[[File:Sahagin Relations.png|{{{size|20}}}px|link=Sahagin Relations|Sahagin 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]]}}
| kobold = <span style="position:relative; bottom:2px;">[[File:Kobold Relations.png|{{{size|20}}}px|link=Kobold Relations|Kobold 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]]}}
| ixali = <span style="position:relative; bottom:2px;">[[File:Ixali Relations.png|{{{size|20}}}px|link=Ixali Relations|Ixali 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]]}}
| 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>
| 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]]}}
| vanu | vanu vanu = <span style="position:relative; bottom:2px;">[[File:Vanu Relations.png|{{{size|20}}}px|link=Vanu Relations|Vanu 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]]}}
| vath = <span style="position:relative; bottom:2px;">[[File:Vath Relations.png|{{{size|20}}}px|link=Vath Relations|Vath 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]]}}
| moogle = <span style="position:relative; bottom:2px;">[[File:Moogle Relations.png|{{{size|20}}}px|link=Moogle Relations|Moogle 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]]}}
| kojin = <span style="position:relative; bottom:2px;">[[File:Kojin Relations.png|{{{size|20}}}px|link=Kojin Relations|Kojin Relations]]</span>
| pixie = <span style="position:relative; bottom:2px;">[[File:Ananta Relations.png|{{{size|20}}}px|link=Pixie Relations|Pixie Relations]]</span>
| qitari = <span style="position:relative; bottom:2px;">[[File:Qitari Relations.png|{{{size|20}}}px|link=Qitari Relations|Qitari Relations]]</span>
| dwarf = <span style="position:relative; bottom:2px;">[[File:Dwarf Relations.png|{{{size|20}}}px|link=Dwarf Relations|Dwarf Relations]]</span>
| arkasodara = <span style="position:relative; bottom:2px;">[[File:Arkasodara Relations.png|{{{size|20}}}px|link=Arkasodara Relations|Arkasodara Relations]]</span>
| pelupelu = <span style="position:relative; bottom:2px;">[[File:Pelupelu Relations.png|{{{size|20}}}px|link=Pelupelu Relations|Pelupelu Relations]]</span>
| #default={{currency||{{{1}}}}}
| #default={{currency||{{{1}}}}}
}}{{#if:{{{2|}}}|&nbsp;{{formatnum:{{{2}}}}}|}}</includeonly><noinclude>
}}{{#if:{{{2|}}}|&nbsp;{{formatnum:{{{2}}}}}|}}</includeonly><noinclude>
Line 16: Line 21:
{{relations|<type>}}
{{relations|<type>}}
{{relations|<type>|<amount>}}
{{relations|<type>|<amount>}}
{{relations|<type>|<amount>|name=}}</nowiki>
{{relations|<type>|<amount>}}</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 ===
Line 45: Line 48:
|-
|-
| [[Kojin]] || <code><nowiki>{{relations|kojin}}</nowiki></code> || {{relations|kojin}}
| [[Kojin]] || <code><nowiki>{{relations|kojin}}</nowiki></code> || {{relations|kojin}}
|-
| [[Pixie]] || <code><nowiki>{{relations|pixie}}</nowiki></code> || {{relations|pixie}}
|-
| [[Qitari]] || <code><nowiki>{{relations|qitari}}</nowiki></code> || {{relations|qitari}}
|-
| [[Dwarf]] || <code><nowiki>{{relations|dwarf}}</nowiki></code> || {{relations|dwarf}}
|-
| [[Arkasodara]] || <code><nowiki>{{relations|arkasodara}}</nowiki></code> || {{relations|arkasodara}}
|-
| [[Pelupelu]] || <code><nowiki>{{relations|pelupelu}}</nowiki></code> || {{relations|pelupelu}}
|-
|}
|}


[[Category:Currency icon templates]]  
[[Category:Currency icon templates]]  
</noinclude>
</noinclude>

Latest revision as of 11:54, 17 November 2024


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
Pixie {{relations|pixie}} Pixie Relations
Qitari {{relations|qitari}} Qitari Relations
Dwarf {{relations|dwarf}} Dwarf Relations
Arkasodara {{relations|arkasodara}} Arkasodara Relations
Pelupelu {{relations|pelupelu}} Pelupelu Relations