Template:Card info: Difference between revisions

From Tears of Themis Wiki
imported>Elaeagnifolia
No edit summary
(still image handling + SSS rarity logic)
 
(33 intermediate revisions by 4 users not shown)
Line 5: Line 5:
-->{{#cargo_declare:_table=Card
-->{{#cargo_declare:_table=Card
|name=String
|name=String
|image1=String
|image2=String
|image3=String
|cardName=String
|cardName=String
|attribute=String
|attribute=String
|rarity=String
|rarity=String
|featuredCharacter=String
|featuredCharacter=String
|featuredCharacterShortName=String
|obtain=Wikitext
|obtain=Wikitext
|maxPower=Integer
|maxPower=Integer
Line 16: Line 20:
|skill2=String
|skill2=String
|skill3=String
|skill3=String
|releaseDate=DateTime
|still1=String
|still2=String
|still3=String
}}</noinclude><includeonly><!--
}}</noinclude><includeonly><!--


Line 21: Line 29:


-->{{#cargo_store:_table=Card
-->{{#cargo_store:_table=Card
|name={{{name|{{PAGENAME}}}}}
|name={{#titleparts:{{{name|{{PAGENAME}}}}}}}
|image1={{#titleparts:{{{image1|}}}}}
|image2={{#titleparts:{{{image2|}}}}}
|image3={{#titleparts:{{{image3|}}}}}
|cardName={{{cardName|}}}
|cardName={{{cardName|}}}
|attribute={{{attribute|}}}
|attribute={{{attribute|}}}
|rarity={{{rarity|}}}
|rarity={{{rarity|}}}
|featuredCharacter={{{character|}}}
|featuredCharacter={{{character|}}}
|featuredCharacterShortName={{#explode:{{{character|}}}||0}}
|obtain={{{obtain|}}}
|obtain={{{obtain|}}}
|maxPower={{{maxPower|}}}
|maxPower={{{maxPower|}}}
Line 33: Line 45:
|skill2={{{skill2|}}}
|skill2={{{skill2|}}}
|skill3={{{skill3|}}}
|skill3={{{skill3|}}}
|releaseDate={{{releaseDate|2021-07-29 12:00:00}}}
|still1={{#titleparts:{{{still1|}}}}}
|still2={{#titleparts:{{{still2|}}}}}
|still3={{#titleparts:{{{still3|}}}}}
}}<!--
}}<!--


Line 50: Line 66:
-->{{#vardefine:skillItem3|Tie Clip}}<!--
-->{{#vardefine:skillItem3|Tie Clip}}<!--
-->{{#vardefine:skillItem4|Sapphire Cufflinks}}<!--
-->{{#vardefine:skillItem4|Sapphire Cufflinks}}<!--
-->{{#vardefine:skillItem5|}}<!--
-->{{#vardefine:skillItem5|Model Handgun}}<!--
-->{{#vardefine:skillItem6|}}
-->{{#vardefine:skillItem6|Senior Attorney's Badge}}
|Marius von Hagen={{#vardefine:characterChip|Infinity}}<!--
|Marius von Hagen={{#vardefine:characterChip|Infinity}}<!--
-->{{#vardefine:skillItem1|Oil-Painting Tools}}<!--
-->{{#vardefine:skillItem1|Oil-Painting Tools}}<!--
-->{{#vardefine:skillItem2|Block Component}}<!--
-->{{#vardefine:skillItem2|Block Component}}<!--
-->{{#vardefine:skillItem3|Pressure-Sensitive Stylus}}<!--
-->{{#vardefine:skillItem3|Touch Stylus}}<!--
-->{{#vardefine:skillItem4|Bluetooth Headphones}}<!--
-->{{#vardefine:skillItem4|Bluetooth Earpiece}}<!--
-->{{#vardefine:skillItem5|}}<!--
-->{{#vardefine:skillItem5|Stud Earring}}<!--
-->{{#vardefine:skillItem6|Pass Key}}
-->{{#vardefine:skillItem6|Pass Key}}
|Vyn Richter={{#vardefine:characterChip|Mind}}<!--
|Vyn Richter={{#vardefine:characterChip|Mind}}<!--
Line 64: Line 80:
-->{{#vardefine:skillItem3|Voice Recorder}}<!--
-->{{#vardefine:skillItem3|Voice Recorder}}<!--
-->{{#vardefine:skillItem4|Pocket Watch}}<!--
-->{{#vardefine:skillItem4|Pocket Watch}}<!--
-->{{#vardefine:skillItem5|}}<!--
-->{{#vardefine:skillItem5|Gilded Poker Cards}}<!--
-->{{#vardefine:skillItem6|}}
-->{{#vardefine:skillItem6|Ceramic Tea Cup}}
}}<!--
}}<!--


Line 75: Line 91:
|image2={{{image2|}}}
|image2={{{image2|}}}
|image3={{{image3|}}}
|image3={{{image3|}}}
|still1={{{still1|}}}
|still2={{{still2|}}}
|still3={{{still3|}}}
|character={{{character|}}}
|character={{{character|}}}
|rarity={{{rarity|}}}
|rarity={{{rarity|}}}
Line 82: Line 101:
|maxDefense={{{maxDefense|}}}
|maxDefense={{{maxDefense|}}}
|obtain={{{obtain|}}}
|obtain={{{obtain|}}}
|obtainQuote={{{obtainQuote|}}}
|originalEvent={{{originalEvent|}}}
|releaseDate={{{releaseDate|2021-07-29 12:00:00}}}
|nameCH={{{nameCH|}}}
|nameJP={{{nameJP|}}}
|nameKR={{{nameKR|}}}
}}
}}


Line 92: Line 117:
|q?where=name="{{{skill1|}}}"
|q?where=name="{{{skill1|}}}"
|template=Card info skill table
|template=Card info skill table
|default=[[Category:Cards missing skill information]]
}}
}}
{{#invoke:CargoQuery|main
{{#invoke:CargoQuery|main
Line 98: Line 124:
|q?where=name="{{{skill2|}}}"
|q?where=name="{{{skill2|}}}"
|template=Card info skill table
|template=Card info skill table
|default=[[Category:Cards missing skill information]]
}}
}}
{{#if:{{{skill3|}}} |  
{{#if:{{{skill3|}}} |  
Line 105: Line 132:
|q?where=name="{{{skill3|}}}"
|q?where=name="{{{skill3|}}}"
|template=Card info skill table
|template=Card info skill table
|default=[[Category:Cards missing skill information]]
}}
}}
}}
}}
Line 128: Line 156:
[[File:{{{attribute|}}} Chip II icon.png|44px|link=]] [[{{{attribute|}}} Chip II]] x10<br/>
[[File:{{{attribute|}}} Chip II icon.png|44px|link=]] [[{{{attribute|}}} Chip II]] x10<br/>
[[File:{{#var:characterChip}} Chip II icon.png|44px|link=]] [[{{#var:characterChip}} Chip II]] x10
[[File:{{#var:characterChip}} Chip II icon.png|44px|link=]] [[{{#var:characterChip}} Chip II]] x10
|MR=
[[File:{{{attribute|}}} Chip II icon.png|44px|link=]] [[{{{attribute|}}} Chip II]] x20<br/>
[[File:{{{attribute|}}} Chip III icon.png|44px|link=]] [[{{{attribute|}}} Chip III]] x15<br/>
[[File:{{#var:characterChip}} Chip III icon.png|44px|link=]] [[{{#var:characterChip}} Chip III]] x15
|SSS=
[[File:{{{attribute|}}} Chip I icon.png|44px|link=]] [[{{{attribute|}}} Chip I]] x15<br/>
[[File:{{{attribute|}}} Chip II icon.png|44px|link=]] [[{{{attribute|}}} Chip II]] x15<br/>
[[File:{{#var:characterChip}} Chip II icon.png|44px|link=]] [[{{#var:characterChip}} Chip II]] x15
}}
}}
}}
}}
{{#switch:{{{rarity|}}}
{{#switch:{{{rarity|}}}
|SR
|SR
|SSR=
|SSR
|SSS=
{{Notable
{{Notable
|header=Evolve 2
|header=Evolve 2
Line 145: Line 182:
[[File:{{{attribute|}}} Chip III icon.png|44px|link=]] [[{{{attribute|}}} Chip III]] x15<br/>
[[File:{{{attribute|}}} Chip III icon.png|44px|link=]] [[{{{attribute|}}} Chip III]] x15<br/>
[[File:{{#var:characterChip}} Chip III icon.png|44px|link=]] [[{{#var:characterChip}} Chip III]] x15
[[File:{{#var:characterChip}} Chip III icon.png|44px|link=]] [[{{#var:characterChip}} Chip III]] x15
|SSS=
[[File:{{{attribute|}}} Chip II icon.png|44px|link=]] [[{{{attribute|}}} Chip II]] x45<br/>
[[File:{{{attribute|}}} Chip III icon.png|44px|link=]] [[{{{attribute|}}} Chip III]] x25<br/>
[[File:{{#var:characterChip}} Chip III icon.png|44px|link=]] [[{{#var:characterChip}} Chip III]] x25
}}
}}
}}
}}
Line 152: Line 193:
==Skill Level Up Materials==
==Skill Level Up Materials==
* Numbers shown are for leveling a single skill.
* Numbers shown are for leveling a single skill.
{{Card info skill materials
{{Card info skill materials
|attribute={{{attribute|}}}
|attribute={{{attribute|}}}
Line 160: Line 200:
|skillItem3={{#var:skillItem3}}
|skillItem3={{#var:skillItem3}}
|skillItem4={{#var:skillItem4}}
|skillItem4={{#var:skillItem4}}
|skillItem5={{#var:skillItem5}}
|skillItem6={{#var:skillItem6}}
}}
}}


{{#switch:{{{rarity|}}}
{{#switch:{{{rarity|}}}
|SR
|SR
|SSR=
|SSR
==Card Stories/Private Messages==
|MR
|SSS=
==Card Rewards==
{{:{{PAGENAME}}/Rewards}}
{{:{{PAGENAME}}/Rewards}}
}}
}}


[[Category:Cards]]</includeonly>
{{#switch:{{{rarity|}}}
|SR
|SSR
|SSS=<nowiki/>
==Shadow of Themis Availability==
The following is a list of [[Shadows of Themis]] that '''{{PAGENAME}}''' has been featured in.
 
{{#cargo_query:tables=ShadowOfThemis
|fields=CONCAT('[', bannerType, '] ', name)
|where=featuredCards HOLDS '{{EscQ|{{#titleparts:{{{name|{{PAGENAME}}}}}}}}}'
|order by=startDate DESC
|format=ul
|default=<nowiki/>
* This card has not been featured in any Shadows of Themis.
}}
}}
 
{{Card navbox|show={{{character|}}}}}
 
{{#seo:
|title={{PAGENAME}} - Tears of Themis Wiki
|keywords=tears of themis {{PAGENAME}},tears of themis card
|description=Detailed card information on {{PAGENAME}} including stats, skills, card rewards, and upgrade materials in Tears of Themis
}}
 
[[Category:Cards]][[Category:{{{character|}}} Cards]][[Category:{{{rarity|}}} Cards]]</includeonly>

Latest revision as of 21:23, 2 November 2023

Template-info.png Documentation

Description[edit source]

Used to format information on card pages

Usage[edit source]

{{Card info
|name={{PAGENAME}}
|image1=
|image2=
|image3=
|cardName=
|character=
|rarity=
|attribute=
|maxPower=
|maxInfluence=
|maxDefense=
|skill1=
|skill2=
|skill3=
|obtain=
|originalEvent=
|releaseDate=YYYY-MM-DD HH:MM:SS
|obtainQuote=
|nameCH=
|nameJP=
|nameKR=
|still1=
|still2=
|still3=
}}

Parameters[edit source]

  • name - Defaults to Card info. Do not change unless the page name does not match the card's name (e.g. disambigutation)
  • image1|2|3 - File name of the where the card goes.
    • For SSR/SRs, this should be:
|image1={{PAGENAME}} Base.webm
|image2={{PAGENAME}} Evolve 1.webm
|image3={{PAGENAME}} Evolve 2.webm
    • For Rs, they won't have an image3 and the file extension should be .png (as R cards are not animated).
  • cardName - The name of the card without the character or quotation marks (e.g. Luke "Alluring Gaze" would be Alluring Gaze for this field).
  • character - The full name of the character featured in the card (e.g. Luke Pearce)
  • rarity - SSS / SSR / SR / MR / R
  • attribute - Logic / Intuition / Empathy
  • maxPower|Influence|Defense - The max stats of the card. This can be viewed from the in-game Archive if you own the card.
  • obtain - How to obtain the card. By default, this should be Shadows of Themis if the card comes from the gacha.
  • skill1|2|3 - Just the name of the card's skill. If the skill page and information exists, it will automatically pull the skill detail information.
  • releaseDate - The exact time the card was released (UTC+9 timezone) in YYYY-MM-DD HH:mm:ss format.
  • still1|2|3 - File names for still images of animated (SR/MR/SSR+) cards. R cards should continue to use the image1|2 fields above only.
This template defines the table "Card". View table.