Difference between revisions of "Template:Relations"
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> | | 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> | ||
| | | 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> | ||
| | | 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|}}}| {{formatnum:{{{2}}}}}|}}</includeonly><noinclude> | }}{{#if:{{{2|}}}| {{formatnum:{{{2}}}}}|}}</includeonly><noinclude> | ||
Line 16: | Line 21: | ||
{{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 === | ||
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}} |
|
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}} |
|
Pixie | {{relations|pixie}} |
|
Qitari | {{relations|qitari}} |
|
Dwarf | {{relations|dwarf}} |
|
Arkasodara | {{relations|arkasodara}} |
|
Pelupelu | {{relations|pelupelu}} |