Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Card: Difference between revisions

Template page
mNo edit summary
mNo edit summary
 
(141 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| style="border:2px solid #{{{{{cardtype|Mastermind}}} border color|fff}}; width: 80%" align="center"
<div style="display: flex; flex-wrap: wrap; width: 100%; border:2px solid #{{{{{type|Mastermind}}} border color|fff}}; background:{{{{{type|Mastermind}}} background color|#fff}}; padding-bottom:0">
|-
  <div colspan="3" class="wikitable-title" style="flex: 1 0 100%; padding: 5px; font-weight: bold; color: #fff; font-size: 110%; border: 1px solid #{{{{{type|Mastermind}}} border color|fff}}; background-color:#{{{{{type|Mastermind}}} border color|fff}}; text-shadow: -1px 1px 0 #000, 1px 1px 0 #000, 1px -1px 0 #000, -1px -1px 0 #000;">{{{name|Hero}}}</div>
|style="border:1px solid #{{{{{cardtype|Mastermind}}} border color|fff}}; width: 25%; height: 150px" colspan="2" rowspan="{{#if: {{{cardtype|Mission}}}|5|4}}"|  
<div align="center" style="flex: 1 0 100%; padding: 5px;">'''Japanese:''' {{{jpname|Hero}}} •  '''Rōmaji:''' {{{roname|Hero}}}</div>
[[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 color|fff}}; padding-left:5px" colspan="4" rowspan="1" | {{{name|Hero}}}
  <div align="center" style="flex: 1 0 200px; padding: 5px;">[[File:{{{img|Genso Suikoden Card Stories card back}}}.png|center|200px]]</div>
|-
 
{{!}}align ="center" style="border:1px solid #{{{{{cardtype|Mastermind}}} border color|fff}}; background: #fff; width:5%" colspan="1" rowspan="3"{{!}}
<div align="center" style="flex: 1 0 70%; padding: 5px; flex-direction: column;">
{{#if:{{{cardtype|}}}|<br><p></p>[[File:Class {{{cardtype}}}.webp|30px|link=Class|{{{cardtype}}}]]}}{{#if:{{{gender|}}}|<br><p></p>[[File:Gender {{{gender}}}.webp|30px|link=Gender|{{{gender}}}]]}}{{#if:{{{gender2|}}}|<br><p></p>[[File:Gender {{{gender2}}}.webp|30px|link=Gender|{{{gender2}}}]]}}{{#if:{{{rune|}}}|<br><p></p>[[File:Rune {{{rune}}}.webp|30px|link=Rune (Genso Suikoden Card Stories)|Rune]]|}}<br><br>{{#if: {{{camp|}}}|[[File:Camp {{{camp}}}.webp|30px|link=Camp|{{{camp}}}|alt={{{camp}}}]]|}} {{#if: {{{camp2|}}}|<br>[[File:Camp {{{camp2}}}.webp|30px|link=Camp|{{{camp2}}}|alt={{{camp2}}}]]}} {{#if: {{{camp3|}}}|<br>[[File:Camp {{{camp3}}}.webp|30px|link=Camp|{{{camp3}}}|alt={{{camp3}}}]]}} {{#if: {{{camp4|}}}|<br>[[File:Camp {{{camp4}}}.webp|30px|link=Camp|{{{camp4}}}|alt={{{camp4}}}]]}}
 
{{#if:{{{attack|}}}|
  {{#if:{{{gender|}}}|<div style="vertical-align: middle; margin: 5px;">
{{!}} style="border:1px solid #{{{{{cardtype|Mastermind}}} border color|fff}}" align="center"; colspan="3"; rowspan="1"{{!}}  
  <div style="border: 1px solid #{{{{{type|Mastermind}}} border color|fff}}; width:100%">
{{#ifeq: {{{Link A}}}|yes|[[File:CS Link A.webp|50px]]|[[File:CS Blank A.webp|50px]]}}{{#ifeq: {{{Link B}}}|yes|[[File:CS Link B.webp|50px]]|[[File:CS Blank B.webp|50px]]}}{{#ifeq: {{{Link C}}}|yes|[[File:CS Link C.webp|50px]]|[[File:CS Blank C.webp|50px]]}}{{#ifeq: {{{Link D}}}|yes|[[File:CS Link D.webp|50px]]|[[File:CS Blank D.webp|50px]]}}{{#ifeq: {{{Link E}}}|yes|[[File:CS Link E.webp|50px]]|[[File:CS Blank E.webp|50px]]}}{{#ifeq: {{{Link F}}}|yes|[[File:CS Link F.webp|50px]]|[[File:CS Blank F.webp|50px]]}}{{#ifeq: {{{Link G}}}|yes|[[File:CS Link G.webp|50px]]|[[File:CS Blank G.webp|50px]]}}{{#ifeq: {{{Link H}}}|yes|[[File:CS Link H.webp|50px]]|[[File:CS Blank H.webp|50px]]}}{{#ifeq: {{{Link I}}}|yes|[[File:CS Link I.webp|50px]]|[[File:CS Blank I.webp|50px]]}}
  <div style="display: flex; flex-direction: row; padding: 5px;">
{{!}}-
  <div class="labelbox" style="width:25%; font-weight: bold;">Class</div>
{{!}} style="border:1px solid #{{{{{cardtype|Mastermind}}} border color|fff}}; width: 24%" rowspan="1"{{!}} '''Attack:''' {{{attack|10}}}
  <div>[[File:Class {{{type}}}.webp|30px|link=Class|{{{type}}}]] {{{type}}}</div>
{{!}} style="border:1px solid #{{{{{cardtype|Mastermind}}} border color|fff}}; width: 24%" rowspan="1 {{!}} '''Military:''' {{{soldiers|2000}}}
  </div>
{{!}} style="border:1px solid #{{{{{cardtype|Mastermind}}} border color|fff}}; width: 24%" rowspan="1 {{!}} '''Construction:''' {{{construction|10}}}
  {{#if: {{{rune|}}}|<div style="display: flex; flex-direction: row; padding: 5px;">
{{!}}-
  <div class="labelbox" style="width:25%; font-weight: bold;">[[Rune (Genso Suikoden Card Stories)|Rune]]</div>
}}
  <div>[[File:Rune {{{rune}}}.webp|30px|link=Rune (Genso Suikoden Card Stories)|Rune]] [[{{{rune}}} Rune]]</div>
{{#ifeq: {{{cardtype}}}|Mission|
  </div>}}
{{!}} style="border:1px solid #{{{{{cardtype|Mastermind}}} border color|fff}}; width: 36%" rowspan="1"{{!}} '''Clear Points:''' {{{attack1|1}}} {{{cleartype|Attack}}}
  <div style="display: flex; flex-direction: row; padding: 5px;">
{{!}} style="border:1px solid #{{{{{cardtype|Mastermind}}} border color|fff}}; width: 36%" rowspan="1"{{{!}} '''Victory Points:''' {{{victorypts|1/1}}} VP
  <div class="labelbox" style="width:25%; font-weight: bold;">[[Gender]]</div>
{{!}}-
  <div align="left">[[File:Gender {{{gender}}}.webp|30px|link=Gender|{{{gender}}}]] {{{gender}}}<br>{{#if:{{{gender2|}}}|[[File:Gender {{{gender2}}}.webp|30px|link=Gender|{{{gender2}}}]] {{{gender2}}}}}</div>
}}
  </div>
{{#ifeq: {{{cardtype}}}|Facilities|
  {{#if: {{{camp|}}}|<div style="display: flex; flex-direction: row; padding: 5px;">
{{!}} style="border:1px solid #{{{{{cardtype|Mastermind}}} border color|fff}}; width: 36%" rowspan="1"{{!}} '''Clear Points:''' {{{clearpts|1}}} Construction
  <div class="labelbox" style="width:25%; font-weight: bold;">Camp</div>
{{!}} style="border:1px solid #{{{{{cardtype|Mastermind}}} border color|fff}}; width: 36%" rowspan="1"{{{!}} '''Block Points:''' {{{facilitypts|1}}} {{{blocktype|Attack}}}
  <div align="left">[[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}}}}}</div>
{{!}}-
  </div>}}
}}
</div></div>}}{{#if:{{{str|}}}|<div style="vertical-align: middle; margin: 5px;">
| style="border:1px solid #{{{{{cardtype|Mastermind}}} border color|fff}}; height:auto" rowspan="1" colspan="3" | {{{entext|--}}}
  <div style="border: 1px solid #{{{{{type|Mastermind}}} border color|fff}}; width:100%;">
|-
  <div style="display: flex; flex-direction: row; padding: 5px;">
! style="border:1px solid #{{{{{cardtype|Mastermind}}} border color|fff}}; width: 100%" rowspan="1" colspan="5" | <small>Card No. {{{number|001}}} • Illustration [[{{{artist|Ishikawa Fumi}}}]]</small>
  <div class="labelbox" style="width:25%; font-weight: bold;">[[Link|Links]]</div><div>{{#ifeq: {{{linkA}}}|yes|[[File:Link A.webp|35px]]|[[File:CS Blank A.webp|35px]]}}{{#ifeq: {{{linkB}}}|yes|[[File:Link B.webp|35px]]|[[File:CS Blank B.webp|35px]]}}{{#ifeq: {{{linkC}}}|yes|[[File:Link C.webp|35px]]|[[File:CS Blank C.webp|35px]]}}{{#ifeq: {{{linkD}}}|yes|[[File:Link D.webp|35px]]|[[File:CS Blank D.webp|35px]]}} {{#ifeq: {{{linkE}}}|yes|[[File:Link E.webp|35px]]|[[File:CS Blank E.webp|35px]]}} {{#ifeq: {{{linkF}}}|yes|[[File:Link F.webp|35px]]|[[File:CS Blank F.webp|35px]]}} {{#ifeq: {{{linkG}}}|yes|[[File:Link G.webp|35px]]|[[File:CS Blank G.webp|35px]]}} {{#ifeq: {{{linkH}}}|yes|[[File:Link H.webp|35px]]|[[File:CS Blank H.webp|35px]]}}{{#ifeq: {{{linkI}}}|yes|[[File:Link I.webp|35px]]|[[File:CS Blank I.webp|35px]]}}</div>
|}
  </div>
<includeonly>{{Main cat|[[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>
  <div style="display: flex; flex-direction: row; padding: 5px;">
<noinclude>
  <div class="labelbox" style="width:25%; font-weight: bold;">Strength</div><div>{{{str|0}}} STR</div>
  </div>
  <div style="display: flex; flex-direction: row; padding: 5px;">
  <div class="labelbox" style="width:25%; font-weight: bold;">Military</div><div>{{{mil|0}}} MIL</div>
  </div>
  <div style="display: flex; flex-direction: row; padding: 5px;">
  <div class="labelbox" style="width:25%; font-weight: bold;">Construct</div><div>{{{con|0}}} CON</div>
  </div>
</div></div>}}{{#switch:{{{type|}}}
| Mission
| Facilities = <div style="vertical-align: middle; margin: 5px;">
  <div style="border: 1px solid #{{{{{type|Mastermind}}} border color|fff}}; width:100%;">
  <div style="display: flex; flex-direction: row; padding: 5px;">
  <div class="labelbox" style="width:25%; font-weight: bold;">[[Card type|Type]]</div><div>[[{{{type}}} card|{{{type}}}]]</div>
  </div>
  <div style="display: flex; flex-direction: row; padding: 5px;">
  <div class="labelbox" style="width:25%; font-weight: bold;">Clear Target</div><div>{{{cp|}}} {{#ifeq: {{{type}}}|Mission|{{{cbtype|}}} {{{cp2|}}} {{{cbtype2|}}}|CON}}</div>
  </div>
  <div style="display: flex; flex-direction: row; padding: 5px;">
  <div class="labelbox" style="width:25%; font-weight: bold;">{{#ifeq: {{{type}}}|Mission|Victory Points</div><div>{{{vp|1/1}}} VP|Block Target</div><div>{{{bp|1}}} STR}}</div>
  </div>
</div></div>|}}
  <div style="vertical-align: middle; margin: 5px;">
  <div style="border: 1px solid #{{{{{type|Mastermind}}} border color|fff}}; width:100%;">
  <div style="display: flex; flex-direction: column;">
  <div style="padding: 5px; text-align: left;">{{#tag:tabber|{{{tab1|Text}}}={{{entext|<includeonly>[[Category:Cards missing card text data]]</includeonly>}}}
{{!}}-{{!}}
{{{tab2|テキスト}}}={{{jptext|<includeonly>[[Category:Cards missing Japanese card text data]]</includeonly>}}}
}}</div>
</div></div></div>
</div>
<div align="center" style="flex: 1 0 100%; padding: 5px;"><small>Card No. {{{no|001}}} • Illustration [[{{{art|Ishikawa Fumi}}}]]</small></div>
</div>
<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>
==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 (STR, 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:Infobox templates]]
[[Category:Infobox templates]]
</noinclude>
</noinclude>

Latest revision as of 13:37, 13 December 2024

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 (STR, 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
}}
Contents