Difference between revisions of "Template:Relations"
Jump to navigation
Jump to search
(creation) |
|||
(10 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{#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> | ||
Line 9: | Line 9: | ||
| 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> | ||
| 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}}}}}|}}<noinclude> | }}{{#if:{{{2|}}}| {{formatnum:{{{2}}}}}|}}</includeonly><noinclude> | ||
== Usage == | == Usage == | ||
Line 43: | 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}} |