Difference between revisions of "Template:Relations"
Jump to navigation
Jump to search
m |
m |
||
Line 1: | Line 1: | ||
<includeonly> | <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> | ||
| 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> | ||
| 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> | ||
| 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> | ||
| 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> | ||
| 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> | ||
| 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> | ||
| 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|}}} | }}{{#if:{{{2|}}}| {{formatnum:{{{2}}}}}|}}</includeonly><noinclude> | ||
== Usage == | == Usage == | ||
Line 16: | Line 16: | ||
{{relations|<type>}} | {{relations|<type>}} | ||
{{relations|<type>|<amount>}} | {{relations|<type>|<amount>}} | ||
{{relations|<type>|<amount> | {{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. | ||
=== Examples === | === Examples === |
Revision as of 13:41, 27 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}} |
|
Sahagin | {{relations|sahagin}} |
|
Kobold | {{relations|kobold}} |
|
Ixali | {{relations|ixali}} |
|
Amalj'aa | {{relations|amaljaa}} |
|
Vanu Vanu | {{relations|vanu}} |
|
Vath | {{relations|vath}} |
|
Moogle | {{relations|Moogle}} |
|
Kojin | {{relations|kojin}} |