Template:Card: Difference between revisions

Template page
mNo edit summary
mNo edit summary
Tag: Manual revert
 
(137 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| style="border:2px solid #{{{{{cardtype|Mastermind}}} border colour|fff}}; width: 80%" align="center"
{| class="containbox statbox" style="border:2px solid #{{{{{type|Mastermind}}} border color|fff}}; width: 90%; background:{{{{{type|Mastermind}}} background color|#fff}}; padding-bottom:0" align="center"
|-
|-
|style="border:1px solid #{{{{{cardtype|Mastermind}}} border colour|fff}}; width: 25%; height: 150px" colspan="1" rowspan="4"|
!class="starbox" style="color: #fff; font-size: 110%; border: 1px solid #{{{{{type|Mastermind}}} border color|fff}}; background-color:#{{{{{type|Mastermind}}} border color|fff}}; height:15px; text-shadow: -1px 1px 0 #000, 1px 1px 0 #000, 1px -1px 0 #000, -1px -1px 0 #000;" colspan="3" rowspan="1" | {{{name|Hero}}}
[[File:{{{tmname|Jilia (Premium Pack)}}}.png|center|160x200px]]
!style="background: rgb(2,0,36); width: 75%; background: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(9,73,121,1) 25%, rgba(16,164,183,1) 100%); color: #fff; font-size: 110%; border: 1px solid #{{{{{cardtype|Mastermind}}} border colour|fff}}; padding-left:5px" colspan="4" rowspan="1" | {{{name|Hero}}}
|-
|-
| style="border:1px solid #{{{{{cardtype|Mastermind}}} border colour|fff}}; background: #fff; width:1%" colspan="1" rowspan="3"|
|colspan="3" align="center"|'''Japanese:''' {{{jpname|Hero}}}  •  '''Rōmaji:''' {{{roname|Hero}}}
{{#if:{{{cardtype|}}}|<br><p></p>[[File:Class {{{cardtype}}}.png|30px|link=Class|{{{cardtype}}}]]}}{{#if:{{{gender|}}}|<br><p></p>[[File:Gender {{{gender}}}.png|30px|link=Gender|{{{gender}}}]]}}{{#if:{{{gender2|}}}|<br><p></p>[[File:Gender {{{gender2}}}.png|30px|link=Gender|{{{gender2}}}]]}}{{#if:{{{rune|}}}|<br><p></p>[[File:Rune {{{rune}}}.png|30px|link=Rune (Genso Suikoden Card Stories)|Rune]]|}}<br><br>{{#if: {{{camp|}}}|[[File:Camp {{{camp}}}.png|30px|link=Camp|{{{camp}}}|alt={{{camp}}}]]|}} {{#if: {{{camp2|}}}|<br>[[File:Camp {{{camp2}}}.png|30px|link=Camp|{{{camp2}}}|alt={{{camp2}}}]]}} {{#if: {{{camp3|}}}|<br>[[File:Camp {{{camp3}}}.png|30px|link=Camp|{{{camp3}}}|alt={{{camp3}}}]]}} {{#if: {{{camp4|}}}|<br>[[File:Camp {{{camp4}}}.png|30px|link=Camp|{{{camp4}}}|alt={{{camp4}}}]]}}
|-
{{#if:{{{attack|}}}|
| class="nomobile" style="vertical-align:middle; width:30%" colspan="1" rowspan="{{#switch:{{{type}}}|Mastermind=2|Other=1|Mission=2|Facilities=2|#default=3}}"|  
{{!}} style="border:1px solid #{{{{{cardtype|Mastermind}}} border colour|fff}}" align="center"; colspan="3"; rowspan="1"{{!}}  
[[File:{{{img|Genso Suikoden Card Stories card back}}}.png|center|200px]]
{{#ifeq: {{{Link A}}}|yes|[[File:CS Link A.png|50px]]|[[File:CS Blank A.png|50px]]}}{{#ifeq: {{{Link B}}}|yes|[[File:CS Link B.png|50px]]|[[File:CS Blank B.png|50px]]}}{{#ifeq: {{{Link C}}}|yes|[[File:CS Link C.png|50px]]|[[File:CS Blank C.png|50px]]}}{{#ifeq: {{{Link D}}}|yes|[[File:CS Link D.png|50px]]|[[File:CS Blank D.png|50px]]}}{{#ifeq: {{{Link E}}}|yes|[[File:CS Link E.png|50px]]|[[File:CS Blank E.png|50px]]}}{{#ifeq: {{{Link F}}}|yes|[[File:CS Link F.png|50px]]|[[File:CS Blank F.png|50px]]}}{{#ifeq: {{{Link G}}}|yes|[[File:CS Link G.png|50px]]|[[File:CS Blank G.png|50px]]}}{{#ifeq: {{{Link H}}}|yes|[[File:CS Link H.png|50px]]|[[File:CS Blank H.png|50px]]}}{{#ifeq: {{{Link I}}}|yes|[[File:CS Link I.png|50px]]|[[File:CS Blank I.png|50px]]}}
<mobileonly>
<th style="height: 150px" colspan="2" rowspan="1">[[File:{{{img|Genso Suikoden Card Stories card back}}}.png|center|200px]]</th>
<tr></mobileonly>
{{#if:{{{gender|}}}|
{{!}} colspan="2" style="vertical-align:top; height:15px" {{!}}
{{{!}} style="border:1px solid #{{{{{type|Mastermind}}} border color|fff}}; width:100%"
{{!}}-
! class="labelbox" style="width:25%" {{!}} [[Class]]
{{!}} [[File:Class {{{type}}}.webp|30px|link=Class|{{{type}}}]] {{{type}}}
{{#if:{{{rune|}}}|{{!}}-
! class="labelbox" style="width:25%" {{!}} [[Rune (Genso Suikoden Card Stories)|Rune]]
{{!}} [[File:Rune {{{rune}}}.webp|30px|link=Rune (Genso Suikoden Card Stories)|Rune]] [[{{{rune}}} Rune]]
}}
{{!}}-
! class="labelbox" style="width:25%" {{!}} [[Gender]]
{{!}} [[File:Gender {{{gender}}}.webp|30px|link=Gender|{{{gender}}}]] {{{gender}}}<br>{{#if:{{{gender2|}}}|[[File:Gender {{{gender2}}}.webp|30px|link=Gender|{{{gender2}}}]] {{{gender2}}}}}
{{#if:{{{camp|}}}|  
{{!}}-
{{!}}-
{{!}} style="border:1px solid #{{{{{cardtype|Mastermind}}} border colour|fff}}; width: 24%" rowspan="1"{{!}} '''Attack:''' {{{attack|10}}}
! class="labelbox" style="width:25%" {{!}} [[Camp]]
{{!}} style="border:1px solid #{{{{{cardtype|Mastermind}}} border colour|fff}}; width: 24%" rowspan="1 {{!}} '''Military:''' {{{soldiers|2000}}}
{{!}} [[File:Camp {{{camp}}}.webp|30px|link=Camp|{{{camp}}}|alt={{{camp}}}]] {{{camp}}}{{#if: {{{camp2|}}}|<br>[[File:Camp {{{camp2}}}.webp|30px|link=Camp|{{{camp2}}}|alt={{{camp2}}}]] {{{camp2}}}}}{{#if: {{{camp3|}}}|<br>[[File:Camp {{{camp3}}}.webp|30px|link=Camp|{{{camp3}}}|alt={{{camp3}}}]] {{{camp3}}}}}{{#if: {{{camp4|}}}|<br>[[File:Camp {{{camp4}}}.webp|30px|link=Camp|{{{camp4}}}|alt={{{camp4}}}]] {{{camp4}}}}}
{{!}} style="border:1px solid #{{{{{cardtype|Mastermind}}} border colour|fff}}; width: 24%" rowspan="1 {{!}} '''Construction:''' {{{construction|10}}}
}}
{{!}}}
{{!}}-
{{!}}-
}}
}}
{{#ifeq: {{{cardtype}}}|Mission|
{{#if:{{{atk|}}}|
{{!}} style="border:1px solid #{{{{{cardtype|Mastermind}}} border colour|fff}}; width: 36%" rowspan="1"{{!}} '''Clear Points:''' {{{attack1|1}}} {{{cleartype|Attack}}}
{{!}} colspan="2" style="vertical-align:top; height:15px" {{!}}
{{!}} style="border:1px solid #{{{{{cardtype|Mastermind}}} border colour|fff}}; width: 36%" rowspan="1"{{{!}} '''Victory Points:''' {{{victorypts|1/1}}} VP
{{{!}} style="border:1px solid #{{{{{type|Mastermind}}} border color|fff}}; width:100%"
! class="labelbox" style="width:25%" {{!}}[[Link|Links]]
{{!}}{{#ifeq: {{{linkA}}}|yes|[[File:Link A.webp|35px]]|<nomobile>[[File:CS Blank A.webp|35px]]</nomobile>}} {{#ifeq: {{{linkB}}}|yes|[[File:Link B.webp|35px]]|<nomobile>[[File:CS Blank B.webp|35px]]</nomobile>}} {{#ifeq: {{{linkC}}}|yes|[[File:Link C.webp|35px]]|<nomobile>[[File:CS Blank C.webp|35px]]</nomobile>}} {{#ifeq: {{{linkD}}}|yes|[[File:Link D.webp|35px]]|<nomobile>[[File:CS Blank D.webp|35px]]</nomobile>}} {{#ifeq: {{{linkE}}}|yes|[[File:Link E.webp|35px]]|<nomobile>[[File:CS Blank E.webp|35px]]</nomobile>}} {{#ifeq: {{{linkF}}}|yes|[[File:Link F.webp|35px]]|<nomobile>[[File:CS Blank F.webp|35px]]</nomobile>}} {{#ifeq: {{{linkG}}}|yes|[[File:Link G.webp|35px]]|<nomobile>[[File:CS Blank G.webp|35px]]</nomobile>}} {{#ifeq: {{{linkH}}}|yes|[[File:Link H.webp|35px]]|<nomobile>[[File:CS Blank H.webp|35px]]</nomobile>}} {{#ifeq: {{{linkI}}}|yes|[[File:Link I.webp|35px]]|<nomobile>[[File:CS Blank I.webp|35px]]</nomobile>}}
{{!}}-
! class="labelbox" style="width:25%" {{!}}<nomobile>Attack (</nomobile>ATK<nomobile>)</nomobile>
{{!}} {{{atk|0}}}
{{!}}-
! class="labelbox" style="width:25%" {{!}}<nomobile>Military (</nomobile>MIL<nomobile>)</nomobile>
{{!}} {{{mil|0}}}
{{!}}-
! class="labelbox" style="width:25%" {{!}}<nomobile>Construction (</nomobile>CON<nomobile>)</nomobile>
{{!}} {{{con|0}}}
{{!}}}
{{!}}-
{{!}}-
}}
}}
{{#ifeq: {{{cardtype}}}|Facilities|
{{#ifeq: {{{type}}}|Mission|
{{!}} style="border:1px solid #{{{{{cardtype|Mastermind}}} border colour|fff}}; width: 36%" rowspan="1"{{!}} '''Clear Points:''' {{{clearpts|1}}} Construction
{{!}} colspan="2" style="vertical-align:top; height:15px" {{!}}
{{!}} style="border:1px solid #{{{{{cardtype|Mastermind}}} border colour|fff}}; width: 36%" rowspan="1"{{{!}} '''Block Points:''' {{{facilitypts|1}}} {{{blocktype|Attack}}}
{{{!}} style="border:1px solid #{{Mission border color|fff}}; width:100%"
! class="labelbox" style="width:25%" {{!}}[[Card type|Type]]
{{!}} [[{{{type}}} card|{{{type}}}]]
{{!}}-
{{!}}-
! class="labelbox" style="width:25%" {{!}}Clear<nomobile> Target</nomobile>
{{!}} {{{cp|}}} {{{cbtype|}}} {{{cp2|}}} {{{cbtype2|}}}
{{!}}-
! class="labelbox" style="width:25%" {{!}}<nomobile>Victory Points (</nomobile>VP<nomobile>)</nomobile>
{{!}} {{{vp|1/1}}} VP
{{!}}}
{{!}}-
}}
{{#ifeq: {{{type}}}|Facilities|
{{!}} colspan="2" style="vertical-align:top; height:15px" {{!}}
{{{!}} style="border:1px solid #{{Facilities border color|fff}}; width:100%"
! class="labelbox" style="width:25%" {{!}}[[Card type|Type]]
{{!}} [[{{{type}}} card|{{{type}}}]]
{{!}}-
! class="labelbox" style="width:25%" {{!}}Clear<nomobile> Target</nomobile>
{{!}} {{{cp|1}}} CON
{{!}}-
! class="labelbox" style="width:25%" {{!}}Block<nomobile> Target</nomobile>
{{!}} {{{bp|1}}} ATK
{{!}}}
{{!}}-
}}
| style="border:1px solid #{{{{{type|Mastermind}}} border color|fff}}; vertical-align:top; min-height: 12em; height:auto" colspan="2" |
{{#tag:tabber|{{{tab1|Text}}}={{{entext|<includeonly>[[Category:Cards missing card text data]]</includeonly>}}}
{{!}}-{{!}}
{{{tab2|テキスト}}}={{{jptext|<includeonly>[[Category:Cards missing Japanese card text data]]</includeonly>}}}
}}
}}
| style="border:1px solid #{{{{{cardtype|Mastermind}}} border colour|fff}}; height:auto" rowspan="1" colspan="3" | {{{entext|--}}}
|-
|-
! style="border:1px solid #{{{{{cardtype|Mastermind}}} border colour|fff}}; width: 100%" rowspan="1" colspan="5" | <small>Card No. {{{number|001}}} • Illustration [[{{{artist|Ishikawa Fumi}}}]]</small>
! style="border:1px solid #{{{{{type|Mastermind}}} border color|fff}}; height:15px" colspan="3" | <small>Card No. {{{no|001}}} • Illustration [[{{{art|Ishikawa Fumi}}}]]</small>
|}
|}
<includeonly>[[Category:Cards|{{{number}}}]]{{#ifeq: {{{cardtype}}}|Mastermind|[[Category:Character cards]]}}{{#ifeq: {{{cardtype}}}|Leader|[[Category:Character cards]]}}{{#ifeq: {{{cardtype}}}|Commoner|[[Category:Character cards]]}}{{#ifeq: {{{cardtype}}}|Craftman|[[Category:Character cards]]}}{{#ifeq: {{{cardtype}}}|Free|[[Category:Character cards]]}}[[Category:{{{cardtype}}} cards]]{{#if: {{{rune|}}}|[[Category:Cards with Runes]]}}{{#if: {{{gender|}}}|[[Category:{{{gender}}} cards]]}}{{#if: {{{gender2|}}}|[[Category:{{{gender2}}} cards]]}}{{#if: {{{camp|}}}|[[Category:{{{camp}}} cards]]}}{{#if: {{{camp2|}}}|[[Category:{{{camp2}}} cards]]}}{{#if: {{{camp3|}}}|[[Category:{{{camp3}}} cards]]}}{{#if: {{{camp4|}}}|[[Category:{{{camp4}}} cards]]}}{{#ifeq: {{{Link A}}}|yes|[[Category:A link cards|Link]]}}{{#ifeq: {{{Link B}}}|yes|[[Category:B link cards|Link]]}}{{#ifeq: {{{Link C}}}|yes|[[Category:C link cards|Link]]}}{{#ifeq: {{{Link D}}}|yes|[[Category:D link cards|Link]]}}{{#ifeq: {{{Link E}}}|yes|[[Category:E link cards|Link]]}}{{#ifeq: {{{Link F}}}|yes|[[Category:F link cards|Link]]}}{{#ifeq: {{{Link G}}}|yes|[[Category:G link cards|Link]]}}{{#ifeq: {{{Link H}}}|yes|[[Category:H link cards|Link]]}}{{#ifeq: {{{Link I}}}|yes|[[Category:I link cards|Link]]}}{{#ifeq: {{{sp}}}|Yes|[[Category:Star Parallel cards]]}}{{#ifeq: {{{rp}}}|Yes|[[Category:Radiance Star Parallel cards]]}}</includeonly>
<includeonly>{{Main cat|[[Category:Cards|{{{no}}}]]{{#ifeq: {{{type}}}|Mastermind|[[Category:Character cards]]}}{{#ifeq: {{{type}}}|Leader|[[Category:Character cards]]}}{{#ifeq: {{{type}}}|Commoner|[[Category:Character cards]]}}{{#ifeq: {{{type}}}|Craftman|[[Category:Character cards]]}}{{#ifeq: {{{type}}}|Free|[[Category:Character cards]]}}[[Category:{{{type}}} cards]]{{#ifeq: {{{type}}}|Mission|[[Category:{{{cbtype}}} Mission cards]]}}{{#ifeq: {{{cbtype2}}}|MIL|[[Category:{{{cbtype2}}} Mission cards]]}}{{#if: {{{and|}}}|[[Category:‹&› attribute cards]]}}{{#if: {{{rune|}}}|[[Category:‹Rune› attribute cards]]}}{{#if: {{{gender|}}}|[[Category:{{{gender}}} cards]]}}{{#if: {{{gender2|}}}|[[Category:{{{gender2}}} cards]]}}{{#if: {{{camp|}}}|[[Category:{{{camp}}} cards]]}}{{#if: {{{camp2|}}}|[[Category:{{{camp2}}} cards]]}}{{#if: {{{camp3|}}}|[[Category:{{{camp3}}} cards]]}}{{#if: {{{camp4|}}}|[[Category:{{{camp4}}} cards]]}}{{#ifeq: {{{linkA}}}|yes|[[Category:A link cards|Link]]}}{{#ifeq: {{{linkB}}}|yes|[[Category:B link cards|Link]]}}{{#ifeq: {{{linkC}}}|yes|[[Category:C link cards|Link]]}}{{#ifeq: {{{linkD}}}|yes|[[Category:D link cards|Link]]}}{{#ifeq: {{{linkE}}}|yes|[[Category:E link cards|Link]]}}{{#ifeq: {{{linkF}}}|yes|[[Category:F link cards|Link]]}}{{#ifeq: {{{linkG}}}|yes|[[Category:G link cards|Link]]}}{{#ifeq: {{{linkH}}}|yes|[[Category:H link cards|Link]]}}{{#ifeq: {{{linkI}}}|yes|[[Category:I link cards|Link]]}}{{#ifeq: {{{sp}}}|yes|[[Category:Star Parallel cards]]}}{{#ifeq: {{{rp}}}|yes|[[Category:Radiance Star Parallel cards]]}}{{#ifeq: {{{sr}}}|yes|[[Category:Sign Rare cards]]}}|}}</includeonly>
<noinclude>
<noinclude>
==Usage==
==Usage==
<pre>
<pre>
{{Test
{{Card
|name=The character's name
|name=The card's name
|image#=An image of the card
|jpname= The card's name in Japanese kana
|altimage#=If the card has an alternate printing (e.g. a + rarity version or a promotional reprint), put its image here
|roname= The romanized version of the Japanese name
|altlabel#=Label for the tab into the alternate card image
|img=An image of the card
|alt2image#=If the card has a second alternate printing (for those extra special characters with two promo reprints), put its image here
|type=The card's type (Mastermind, Leader, Commoner, Craftman, Free, Mission, Facilities, Other)
|alt2label#=Label for the second alternate card image
|gender#=The card's gender, if any, where # is the number after 1 (e.g., gender=, gender2=)
|name#=The card character's name (in case of cases like Camus, where one character is known by multiple names)
|rune=The card's rune type (e.g., rune=Fire)
|affil#=The card's national/continent affiliation. Insert one of the following: Archanea, Jugdral, Elibe, Tellius, Ylisse, Hoshido, Nohr, None.
|camp#=The card's camps, if any, where # is the number after 1 (e.g., camp=, camp2=, camp3=)
|affil2-#=The card's second national/continent affiliation. Only invoke on dual-affiliation cards.
|linkX=The card's links, where X is the link letter (e.g., linkA=yes)
|gender#=The card's gender
|atk=The card's attack
|weapon#=The card's weapon type. Insert one of the following: Sword, Lance, Axe, Bow, Knife, Tome, Staff, Dragonstone, Fang
|mil=The card's military
|type#=Any class/effectiveness types assigned to the card. Insert the full icon code at 20px width/height
|con=The card's construction
|quote#=The quote attributed to the card
|cbtype=The type of power needed to clear or block this Mission/Facilities card (ATK, MIL, CON, Duel)
|attack#=The card's attack power
|cp=The number of points needed to clear this card
|support#=The card's support power
|vp=Number of VP awarded for a clear/block (e.g, vp=2/2)
|atkcost#=The card's deployment cost
|jptext=The card's Japanese text
|range#=The card's range
|entext=The card's translated text
|class#=The card's class
|no=The card's number
|tier#=The class's promotion tier
|art=The card's artist
|cccost#=The promotion cost needed to promote to this card. Only applies to advanced-class cards
|skill#=The names and descriptions for the card's skills
|no#=The card's number
|artist#=The card's artist
}}
}}
</pre>
</pre>
[[Category:Genso Suikoden Card Stories templates]]
[[Category:Infobox templates]]
</noinclude>
</noinclude>

Latest revision as of 09:51, 22 November 2023

Hero
Japanese: Hero • Rōmaji: Hero

Card No. 001 • Illustration Ishikawa Fumi


Usage

{{Card
|name=The card's name
|jpname= The card's name in Japanese kana
|roname= The romanized version of the Japanese name
|img=An image of the card
|type=The card's type (Mastermind, Leader, Commoner, Craftman, Free, Mission, Facilities, Other)
|gender#=The card's gender, if any, where # is the number after 1 (e.g., gender=, gender2=)
|rune=The card's rune type (e.g., rune=Fire)
|camp#=The card's camps, if any, where # is the number after 1 (e.g., camp=, camp2=, camp3=)
|linkX=The card's links, where X is the link letter (e.g., linkA=yes)
|atk=The card's attack
|mil=The card's military
|con=The card's construction
|cbtype=The type of power needed to clear or block this Mission/Facilities card (ATK, MIL, CON, Duel)
|cp=The number of points needed to clear this card
|vp=Number of VP awarded for a clear/block (e.g, vp=2/2)
|jptext=The card's Japanese text
|entext=The card's translated text
|no=The card's number
|art=The card's artist
}}