Difference between revisions of "Template:Relations"
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>{{#if:{{{name|}}}| [[Sylphic Relations]]}} | | sylphic = <span style="position:relative; bottom:2px;">[[File:Sylphic Relations.png|{{{size|20}}}px|link=Sylphic Relations|Sylphic Relations]]</span>{{#if:{{{name|}}}| [[Sylph|Sylphic Relations]]}} | ||
| sahagin = <span style="position:relative; bottom:2px;">[[File:Sahagin Relations.png|{{{size|20}}}px|link=Sahagin Relations|Sahagin Relations]]</span>{{#if:{{{name|}}}| [[Sahagin Relations]]}} | | sahagin = <span style="position:relative; bottom:2px;">[[File:Sahagin Relations.png|{{{size|20}}}px|link=Sahagin Relations|Sahagin Relations]]</span>{{#if:{{{name|}}}| [[Sahagin|Sahagin Relations]]}} | ||
| kobold = <span style="position:relative; bottom:2px;">[[File:Kobold Relations.png|{{{size|20}}}px|link=Kobold Relations|Kobold Relations]]</span>{{#if:{{{name|}}}| [[Kobold Relations]]}} | | kobold = <span style="position:relative; bottom:2px;">[[File:Kobold Relations.png|{{{size|20}}}px|link=Kobold Relations|Kobold Relations]]</span>{{#if:{{{name|}}}| [[Kobold|Kobold Relations]]}} | ||
| ixali = <span style="position:relative; bottom:2px;">[[File:Ixali Relations.png|{{{size|20}}}px|link=Ixali Relations|Ixali Relations]]</span>{{#if:{{{name|}}}| [[Ixali Relations]]}} | | ixali = <span style="position:relative; bottom:2px;">[[File:Ixali Relations.png|{{{size|20}}}px|link=Ixali Relations|Ixali Relations]]</span>{{#if:{{{name|}}}| [[Ixali|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>{{#if:{{{name|}}}| [[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>{{#if:{{{name|}}}| [[Amalj'aa|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>{{#if:{{{name|}}}| [[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>{{#if:{{{name|}}}| [[Vanu Vanu|Vanu Vanu Relations]]}} | ||
| vath = <span style="position:relative; bottom:2px;">[[File:Vath Relations.png|{{{size|20}}}px|link=Vath Relations|Vath Relations]]</span>{{#if:{{{name|}}}| [[Vath Relations]]}} | | vath = <span style="position:relative; bottom:2px;">[[File:Vath Relations.png|{{{size|20}}}px|link=Vath Relations|Vath Relations]]</span>{{#if:{{{name|}}}| [[Vath|Vath Relations]]}} | ||
| moogle = <span style="position:relative; bottom:2px;">[[File:Moogle Relations.png|{{{size|20}}}px|link=Moogle Relations|Moogle Relations]]</span>{{#if:{{{name|}}}| [[Moogle Relations]]}} | | moogle = <span style="position:relative; bottom:2px;">[[File:Moogle Relations.png|{{{size|20}}}px|link=Moogle Relations|Moogle Relations]]</span>{{#if:{{{name|}}}| [[Moogle|Moogle Relations]]}} | ||
| kojin = <span style="position:relative; bottom:2px;">[[File:Kojin Relations.png|{{{size|20}}}px|link=Kojin Relations|Kojin Relations]]</span>{{#if:{{{name|}}}| [[Kojin Relations]]}} | | kojin = <span style="position:relative; bottom:2px;">[[File:Kojin Relations.png|{{{size|20}}}px|link=Kojin Relations|Kojin Relations]]</span>{{#if:{{{name|}}}| [[Kojin|Kojin Relations]]}} | ||
| #default={{currency||{{{1}}}}} | | #default={{currency||{{{1}}}}} | ||
}}{{#if:{{{2|}}}| {{formatnum:{{{2}}}}}|}}</includeonly><noinclude> | }}{{#if:{{{2|}}}| {{formatnum:{{{2}}}}}|}}</includeonly><noinclude> |
Revision as of 13:36, 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}} |
|
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}} |