Difference between revisions of "Template:Triple Triad Card infobox"
Jump to navigation
Jump to search
JohnnySolas (talk | contribs) |
|||
(20 intermediate revisions by 4 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|}}}| | |||
; Card Number | |||
: {{{card-number}}} {{#set:Has card number={{{card-number}}}}} | |||
}}<!-- | |||
--> | |||
; Type | ; Type | ||
: | :{{#switch: {{lc:{{{type|}}}}} | ||
| beastman = | | beastman = {{ttcard icon|beastman}} Beastman {{#set:Has card type=Beastman}} | ||
| garlean = | | garlean = {{ttcard icon|garlean}} Garlean {{#set:Has card type=Garlean}} | ||
| primal = | | primal = {{ttcard icon|primal}} Primal {{#set:Has card type=Primal}} | ||
| scion | scions = | | scion | scions = {{ttcard icon|scion}} Scion {{#set:Has card type=Scion}} | ||
| #default = | | #default = None}} | ||
; Rarity | ; Rarity | ||
: {{#switch: {{lc:{{{rarity|}}}}} | : {{#switch: {{lc:{{{rarity|}}}}} | ||
Line 28: | 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 47: | Line 54: | ||
AUTOCATEGORIZATION | AUTOCATEGORIZATION | ||
--> | --> | ||
[[Category:Triple Triad cards]] | |||
<!-- Card Type --> | <!-- Card Type --> | ||
{{#switch: {{lc:{{{type| | {{#switch: {{lc:{{{type|}}}}} | ||
| beastman = [[Category:Beastman Triple Triad cards]] | | beastman = [[Category:Beastman Triple Triad cards]] | ||
| | | garlean = [[Category:Garlean Triple Triad cards]] | ||
| primal = [[Category:Primal Triple Triad cards]] | | primal = [[Category:Primal Triple Triad cards]] | ||
| scion | scions = [[Category:Scion Triple Triad cards]] | | scion | scions = [[Category:Scion Triple Triad cards]] | ||
| #default = | | #default = | ||
}} | }} | ||
<!-- Rarity --> | <!-- Rarity --> | ||
Line 62: | 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 67: | Line 76: | ||
{{#if: {{{patch|}}}|[[Category:Patch {{{patch}}} Triple Triad cards]]}}{{Quotation|In-game description|{{{description|''No description available.''}}}{{#if:{{{desc-note|}}}| ※ {{{desc-note|}}}}} }}{{#if: {{{description|}}}|{{#set:Has game description|{{{description}}}}} | {{#if: {{{patch|}}}|[[Category:Patch {{{patch}}} Triple Triad cards]]}}{{Quotation|In-game description|{{{description|''No description available.''}}}{{#if:{{{desc-note|}}}| ※ {{{desc-note|}}}}} }}{{#if: {{{description|}}}|{{#set:Has game description|{{{description}}}}} | ||
}} | }} | ||
{{PAGENAME}} is {{#switch: {{lc:{{{rarity|}}}}} | '''{{PAGENAME}}''' is {{#switch: {{lc:{{{rarity|}}}}} | ||
| common | 1 | ★ = a Common (★) | | common | 1 | ★ = a Common (★) | ||
| uncommon | 2 | ★★ = an Uncommon (★★) | | uncommon | 2 | ★★ = an Uncommon (★★) | ||
Line 73: | 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 81: | Line 91: | ||
|release = | |release = | ||
|patch = | |patch = | ||
|card-number = | |||
|type = | |type = | ||
|rarity = | |rarity = | ||
Line 98: | Line 109: | ||
; image | ; image | ||
: The image to be used for the infobox. | : The image to be used for the infobox. | ||
; card-number | |||
: the # of the card | |||
; type | ; type | ||
: The type of card that we're talking about (specified by the icon). | : The type of card that we're talking about (specified by the icon). | ||
Line 113: | 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 126: | Line 139: | ||
|release = Stormblood | |release = Stormblood | ||
|patch = 4.5 | |patch = 4.5 | ||
|card-number = 234 | |||
|type = Scion | |type = Scion | ||
|rarity = Legendary | |rarity = Legendary | ||
Line 140: | Line 154: | ||
|release = Stormblood | |release = Stormblood | ||
|patch = 4.5 | |patch = 4.5 | ||
|card-number = 234 | |||
|type = Scion | |type = Scion | ||
|rarity = Legendary | |rarity = Legendary | ||
Line 149: | 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.