Difference between revisions of "Template:Triple Triad Card infobox"
Jump to navigation
Jump to search
(11 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#set:Has item type=Triple Triad Card}}{{#switch:{{lc:{{{release|}}}}}|heavensward = {{Heavensward expansion content}}|stormblood = {{Stormblood expansion content}}|shadowbringers = {{Shadowbringers expansion content}}|endwalker = {{Endwalker expansion content}}}}<!-- | <includeonly>{{#set:Has item type=Triple Triad Card}}{{#switch:{{lc:{{{release|}}}}}|heavensward = {{Heavensward expansion content}}|stormblood = {{Stormblood expansion content}}|shadowbringers = {{Shadowbringers expansion content}}|endwalker = {{Endwalker expansion content}}|dawntrail = {{Dawntrail expansion content}}}}{{#if:{{{release|}}}||{{#switch:{{{patch|}}}|1.0|2.0|2.05|2.1|2.15|2.16|2.2|2.21|2.25|2.28|2.3|2.35|2.38|2.4|2.41|2.45|2.5|2.51|2.55|2.56|2.57=|#default=[[Category:Missing release]]}}}}<!-- | ||
--><div class="infobox-n card"> | --><div class="infobox-n card"> | ||
<div class="icon card-infobox-icon"> | <div class="icon card-infobox-icon"> | ||
Line 8: | Line 8: | ||
| epic | 4 | ★★★★ = {{STFI|icon=Triple Triad Card r4.png|link=Triple Triad Cards}} {{#set:Has game icon=File:Triple Triad Card r4.png}} | | epic | 4 | ★★★★ = {{STFI|icon=Triple Triad Card r4.png|link=Triple Triad Cards}} {{#set:Has game icon=File:Triple Triad Card r4.png}} | ||
| legendary | 5 | ★★★★★ = {{STFI|icon=Triple Triad Card r5.png|link=Triple Triad Cards}} {{#set:Has game icon=File:Triple Triad Card r5.png}} | | legendary | 5 | ★★★★★ = {{STFI|icon=Triple Triad Card r5.png|link=Triple Triad Cards}} {{#set:Has game icon=File:Triple Triad Card r5.png}} | ||
| legendaryother | ★★★★★ = {{STFI|icon=Triple Triad Card r5other.png|link=Triple Triad Cards}} {{#set:Has game icon=File:Triple Triad Card r5other.png}} | |||
| #default = {{STFI|icon=Triple Triad Card r1.png|link=Triple Triad Cards}} {{#set:Has game icon=File:Triple Triad Card r1.png}} | | #default = {{STFI|icon=Triple Triad Card r1.png|link=Triple Triad Cards}} {{#set:Has game icon=File:Triple Triad Card r1.png}} | ||
}}</div> | }}</div> | ||
<p class="heading">[[Has canonical name::{{{title|{{#titleparts:{{PAGENAME}}}}}}}]]</p> | <p class="heading">[[Has canonical name::{{{title|{{#titleparts:{{PAGENAME}}}}}}}]]</p> | ||
{{#if: {{{image|}}}|<div style=" | {{#if: {{{image|}}}|<div style="clear: both; width:34.7%; margin:auto;">{{#set:Has card image=File:{{#ifeq:{{{image|}}}|y|<!-- Predefined -->{{#titleparts:{{PAGENAME}}}} (image).png|<!-- Custom file path -->{{{image}}}}}}}{{Triple Triad Card|{{PAGENAME}}}}</div>}} | ||
<div class="wrapper"> | <div class="wrapper"> | ||
<!-- | <!-- | ||
-->{{#if:{{{card-number|}}}| | -->{{#if:{{{card-number|}}}| | ||
; Card # | ; Card Number | ||
: {{{card-number}}} | : {{{card-number}}} {{#set:Has card number={{{card-number}}}}} | ||
}}<!-- | }}<!-- | ||
--> | --> | ||
Line 33: | Line 34: | ||
| epic | 4 | ★★★★ = ★★★★<br><small>(Epic)</small> | | epic | 4 | ★★★★ = ★★★★<br><small>(Epic)</small> | ||
| legendary | 5 | ★★★★★ = ★★★★★<br><small>(Legendary)</small> | | legendary | 5 | ★★★★★ = ★★★★★<br><small>(Legendary)</small> | ||
| legendaryother | ★★★★★ = ★★★★★<br><small>(Legendary)</small> | |||
| #default = Not Specified}} | | #default = Not Specified}} | ||
; Patch | ; Patch | ||
Line 68: | Line 70: | ||
| epic | 4 | ★★★★ = [[Category:Epic Triple Triad cards]] {{#set:Has card rarity=Epic}} | | epic | 4 | ★★★★ = [[Category:Epic Triple Triad cards]] {{#set:Has card rarity=Epic}} | ||
| legendary | 5 | ★★★★★ = [[Category:Legendary Triple Triad cards]] {{#set:Has card rarity=Legendary}} | | legendary | 5 | ★★★★★ = [[Category:Legendary Triple Triad cards]] {{#set:Has card rarity=Legendary}} | ||
| legendaryother | 5 | ★★★★★ = [[Category:Legendary Triple Triad cards]] {{#set:Has card rarity=Legendary}} | |||
| #default = [[Category:Triple Trad cards with no rarity specified]] | | #default = [[Category:Triple Trad cards with no rarity specified]] | ||
}} | }} | ||
Line 79: | Line 82: | ||
| epic | 4 | ★★★★ = an Epic (★★★★) | | epic | 4 | ★★★★ = an Epic (★★★★) | ||
| legendary | 5 | ★★★★★ = a Legendary (★★★★★) | | legendary | 5 | ★★★★★ = a Legendary (★★★★★) | ||
| legendaryother | 5 | ★★★★★ = a Legendary (★★★★★) | |||
| #default = | | #default = | ||
}} [[Triple Triad Card]].</includeonly><noinclude> | }} [[Triple Triad Card]].</includeonly><noinclude> | ||
Line 122: | Line 126: | ||
: Optional. Patch number. | : Optional. Patch number. | ||
; release | ; release | ||
: Optional. Expansion this quest belongs to. Accepts: ''heavensward'', or ''stormblood'', or ''shadowbringers''. | : Optional. Expansion this quest belongs to. Accepts: ''heavensward'', or ''stormblood'', or ''shadowbringers'' or ''dawntrail''. | ||
; id-edb | ; id-edb | ||
: ID number in the link to the quest on Eorzea Database, for example, if the URL is https://na.finalfantasyxiv.com/lodestone/playguide/db/item/83266250b51/, enter '''83266250b51'''. | : ID number in the link to the quest on Eorzea Database, for example, if the URL is https://na.finalfantasyxiv.com/lodestone/playguide/db/item/83266250b51/, enter '''83266250b51'''. | ||
Line 160: | Line 164: | ||
|id-edb = 57b7c6711ae | |id-edb = 57b7c6711ae | ||
|description = “I can strike bargains, forge ties, and change minds. And where better to do these things than in the home of our old enemy?”<br> “Go, then. You've obviously made up your mind.” | |description = “I can strike bargains, forge ties, and change minds. And where better to do these things than in the home of our old enemy?”<br> “Go, then. You've obviously made up your mind.” | ||
}}</noinclude> | }} | ||
[[Category:Infobox templates]]</noinclude> |
Latest revision as of 06:17, 24 July 2024
Usage
{{Triple Triad Card infobox |image = |release = |patch = |card-number = |type = |rarity = |top = |bottom = |left = |right = |id-gt = |id-edb = |description = }}
Parameters
- name
- Card's name. Defaults to the page name.
- image
- The image to be used for the infobox.
- card-number
- the # of the card
- type
- The type of card that we're talking about (specified by the icon).
- rarity
- The rarity of the card. Accepts input in text (i.e. common, uncommon), number (i.e. 1, 2), or even stars (i.e. ★, ★★).
- top
- The top value of the card.
- bottom
- The bottom value of the card.
- left
- The left value of the card.
- right
- The right value of the card.
- patch
- Optional. Patch number.
- release
- Optional. Expansion this quest belongs to. Accepts: heavensward, or stormblood, or shadowbringers or dawntrail.
- id-edb
- ID number in the link to the quest on Eorzea Database, for example, if the URL is https://na.finalfantasyxiv.com/lodestone/playguide/db/item/83266250b51/, enter 83266250b51.
- id-gt
- ID number in the link to the quest on Garland Tools, for example, if the URL is http://garlandtools.org/db/#item/65781, enter 65781.
- description
- The in-game description of the card.
Example
{{Triple Triad Card infobox |image = Stormblood alphinaud and alisaie card1.png |release = Stormblood |patch = 4.5 |card-number = 234 |type = Scion |rarity = Legendary |top = 6 |bottom = 8 |left = 8 |right = 8 |id-gt = 24879 |id-edb = 57b7c6711ae |description = “I can strike bargains, forge ties, and change minds. And where better to do these things than in the home of our old enemy?”<br> “Go, then. You've obviously made up your mind.” }}
Triple Triad Card infobox
Card not found.
““I can strike bargains, forge ties, and change minds. And where better to do these things than in the home of our old enemy?”
“Go, then. You've obviously made up your mind.”— In-game description
Triple Triad Card infobox is a Legendary (★★★★★) Triple Triad Card.