Template:Card: Difference between revisions

Template page
mNo edit summary
mNo edit summary
Line 1: Line 1:
{| style="border:2px solid #{{{{{cardtype|Mastermind}}} border colour|fff}}; width: 80%" align="center"
{| class="charboxouter" style="border-color: #{{{{{cardtype|Mastermind}}} border colour|fff}}" align=right
|
{| class="charstatinner" style="background: {{{{{cardtype|Mastermind}}} colour|fff}}"
| class="infoboxblank" style="border-right: none; text-align:left; padding-left:5px" | <big><big>'''{{{name|Louie McDohl}}}'''</big></big><br>
<hr style="margin-left:10px;margin-top:0px;margin-bottom:-10px;width:80%;height:2px;border-width:0;background-color:#fff;">
<small>'''{{{japanese_name|マッシュ・マクドール}}}''' {{#if:{{{romaji_name|}}}|''{{{romaji_name}}}''}}</small>
| align="center" class="infoboxblank" style="border-left: none; border-right: none; float:center; width:10%" |<small>{{#ifeq: {{{cardtype}}}|Mastermind|[[File:Class Mastermind.png|30px|link=Class|Mastermind|alt=Mastermind]]}}{{#ifeq: {{{cardtype}}}|Leader|[[File:Class Leader.png|30px|link=Class|Leader|alt=Leader]]}}{{#ifeq: {{{cardtype}}}|Commoner|[[File:Class Commoner.png|30px|link=Class|Commoner|alt=Commoner]]}}{{#ifeq: {{{cardtype}}}|Craftman|[[File:Class Craftman.png|30px|link=Class|Craftman|alt=Craftman]]}}{{#ifeq: {{{cardtype}}}|Free|[[File:Class Free.png|30px|link=Class|Free|alt=Free]]}}</small>
| align="right" class="infoboxblank" style="border-left: none; float:center; width:10%" |{{#if: {{{rune|}}}|[[File:Rune {{{rune}}}.png|30px|link=Rune (Genso Suikoden Card Stories)|{{{rune}}}|alt={{{rune}}}]]}} {{#if: {{{gender|}}}|[[File:Gender {{{gender}}}.png|30px|link=gender|{{{gender}}}|alt={{{gender}}}]]}} {{#if: {{{gender2|}}}|[[File:Gender {{{gender2}}}.png|30px|link=Gender|{{{gender2}}}|alt={{{gender2}}}]]}}
|}
{| class="charstatinner" style="background: {{{{{cardtype|Mastermind}}} colour|fff}}"
|  class="infoboxblank" align="left" style="border-right: none; float:center; padding-left:5px" |'''{{{number|001}}}'''
| align="center" class="infoboxblank" style="border-left: none; border-right: none; float:center; width:20%;" |
| align="right" class="infoboxblank" style="border-left: none; float:center; width:40%;" |{{#if: {{{camp|}}}|[[File:Camp {{{camp}}}.png|30px|link=Camp|{{{camp}}}|alt={{{camp}}}]]}} {{#if: {{{camp2|}}}|[[File:Camp {{{camp2}}}.png|30px|link=Camp|{{{camp2}}}|alt={{{camp2}}}]]}} {{#if: {{{camp3|}}}|[[File:Camp {{{camp3}}}.png|30px|link=Camp|{{{camp3}}}|alt={{{camp3}}}]]}} {{#if: {{{camp4|}}}|[[File:Camp {{{camp4}}}.png|30px|link=Camp|{{{camp4}}}|alt={{{camp4}}}]]}}
|}
|- align="center" class="textfield"
| [[File:{{{tmname}}}.png|340x340px]]
|-
| class="textfield" | {{#!:<center><small>''Illustration [[{{{artist}}}]]''</small></center>}}
{| class="charstatinner" style="background: {{{{{cardtype|Mastermind}}} colour|fff}}"
! class="infoboxblank" style="text-align:right; padding-right:3px; width:30%" {{!}} '''Expansion'''
{{!}} class="textfield" style="padding-left:3px" {{!}}{{{expansion|Starter Box & Booster Pack Vol.1}}}
|-
|-
|style="border:1px solid #{{{{{cardtype|Mastermind}}} border colour|fff}}; width: 25%; height: 150px" colspan="1" rowspan="4"|  
{{#if:{{{attack|}}} |
[[File:{{{tmname|Jilia (Premium Pack)}}}.png|center|160x200px]]
! class="infoboxblank" style="text-align:right; padding-right:3px; width:30%" {{!}} '''Links'''
!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}}}
{{!}} class="textfield" style="padding-left:3px" {{!}}{{#ifeq: {{{Link A|no}}}|no|&nbsp;A&nbsp;}}{{#ifeq: {{{Link A}}}|yes|<span style="background:#ff0000; color:#fff">&nbsp;'''A'''&nbsp;</span>}}{{#ifeq: {{{Link B|no}}}|no|&nbsp;B&nbsp;}}{{#ifeq: {{{Link B}}}|yes|<span style="background:#ffa500; color:#fff">&nbsp;'''B'''&nbsp;</span>}}{{#ifeq: {{{Link C|no}}}|no|&nbsp;C&nbsp;}}{{#ifeq: {{{Link C}}}|yes|<span style="background:#ffff00; color:#000">&nbsp;'''C'''&nbsp;</span>}}{{#ifeq: {{{Link D|no}}}|no|&nbsp;D&nbsp;}}{{#ifeq: {{{Link D}}}|yes|<span style="background:#008000; color:#fff">&nbsp;'''D'''&nbsp;</span>}}{{#ifeq: {{{Link E|no}}}|no|&nbsp;E&nbsp;}}{{#ifeq: {{{Link E}}}|yes|<span style="background:#00ffff; color:#fff">&nbsp;'''E'''&nbsp;</span>}}{{#ifeq: {{{Link F|no}}}|no|&nbsp;F&nbsp;}}{{#ifeq: {{{Link F}}}|yes|<span style="background:#0000ff; color:#fff">&nbsp;'''F'''&nbsp;</span>}}{{#ifeq: {{{Link G|no}}}|no|&nbsp;G&nbsp;}}{{#ifeq: {{{Link G}}}|yes|<span style="background:#0000a0; color:#fff">&nbsp;'''G'''&nbsp;</span>}}{{#ifeq: {{{Link H|no}}}|no|&nbsp;H&nbsp;}}{{#ifeq: {{{Link H}}}|yes|<span style="background:#800080; color:#fff">&nbsp;'''H'''&nbsp;</span>}}{{#ifeq: {{{Link I|no}}}|no|&nbsp;I&nbsp;}}{{#ifeq: {{{Link I}}}|yes|<span style="background:#ff00ff" color:#fff">&nbsp;'''I'''&nbsp;</span>}}
}}
|-
|-
| style="border:1px solid #{{{{{cardtype|Mastermind}}} border colour|fff}}; background: #fff; width:1%" colspan="1" rowspan="3"|
{{#if:{{{attack|}}} |
{{#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}}}]]}}
! class="infoboxblank" style="text-align:right; padding-right:3px; width:30%" {{!}} '''Attack'''
{{#if:{{{attack|}}}|
{{!}} class="textfield" style="padding-left:3px" {{!}}{{{attack|3}}}
{{!}} style="border:1px solid #{{{{{cardtype|Mastermind}}} border colour|fff}}" align="center"; colspan="3"; rowspan="1"{{!}}
{{#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]]}}
{{!}}-
{{!}} style="border:1px solid #{{{{{cardtype|Mastermind}}} border colour|fff}}; width: 24%" rowspan="1"{{!}} '''Attack:''' {{{attack|10}}}
{{!}} style="border:1px solid #{{{{{cardtype|Mastermind}}} border colour|fff}}; width: 24%" rowspan="1 {{!}} '''Military:''' {{{soldiers|2000}}}
{{!}} style="border:1px solid #{{{{{cardtype|Mastermind}}} border colour|fff}}; width: 24%" rowspan="1 {{!}} '''Construction:''' {{{construction|10}}}
{{!}}-
}}
}}
{{#ifeq: {{{cardtype}}}|Mission|
|-
{{!}} style="border:1px solid #{{{{{cardtype|Mastermind}}} border colour|fff}}; width: 36%" rowspan="1"{{!}} '''Clear Points:''' {{{attack1|1}}} {{{cleartype|Attack}}}
{{#if:{{{soldiers|}}} |
{{!}} style="border:1px solid #{{{{{cardtype|Mastermind}}} border colour|fff}}; width: 36%" rowspan="1"{{{!}} '''Victory Points:''' {{{victorypts|1/1}}} VP
! class="infoboxblank" style="text-align:right; padding-right:3px; width:30%" {{!}} '''Soldiers'''
{{!}}-
{{!}} class="textfield" style="padding-left:3px" {{!}}{{{soldiers|1000}}}
}}
}}
{{#ifeq: {{{cardtype}}}|Facilities|
|-
{{!}} style="border:1px solid #{{{{{cardtype|Mastermind}}} border colour|fff}}; width: 36%" rowspan="1"{{!}} '''Clear Points:''' {{{clearpts|1}}} Construction
{{#if:{{{construction|}}} |
{{!}} style="border:1px solid #{{{{{cardtype|Mastermind}}} border colour|fff}}; width: 36%" rowspan="1"{{{!}} '''Block Points:''' {{{facilitypts|1}}} {{{blocktype|Attack}}}
! class="infoboxblank" style="text-align:right; padding-right:3px; width:30%" {{!}} '''Construction'''
{{!}}-
{{!}} class="textfield" style="padding-left:3px" {{!}}{{{construction|1000}}}
}}
}}
| 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>
{{#if:{{{clearpts|}}} |
! class="infoboxblank" style="text-align:right; padding-right:3px; width:30%" {{!}} '''Clear Points'''
{{!}} class="textfield" style="padding-left:3px" {{!}}{{{clearpts|5}}} {{{cleartype|Attack}}}
}}
|-
{{#if:{{{victorypts|}}} |
! class="infoboxblank" style="text-align:right; padding-right:3px; width:30%" {{!}} '''Victory Points'''
{{!}} class="textfield" style="padding-left:3px" {{!}}{{{victorypts|1/1}}}
}}
|-
{{#if:{{{facilitypts|}}} |
! class="infoboxblank" style="text-align:right; padding-right:3px; width:30%" {{!}} '''Block Points'''
{{!}} class="textfield" style="padding-left:3px" {{!}}{{{facilitypts|5}}} {{{blocktype|Attack}}}
}}
|}
{| class="charstatinner" style="background: {{{{{cardtype|Mastermind}}} colour|fff}}; font-size: 90%"
| <div style="clear:both; margin: 0.3em auto; text-align:center">{{#tag:tabber|
JP Text=<div class="textfield" style="clear:both; margin: 2px; padding:10px; text-align:left">{{{jptext|''はカードテキストなし''}}}</div>
{{!}}-{{!}}
EN Text=<div class="textfield" style="clear:both; margin: 2px; padding:10px; text-align:left">{{{entext|''No card text''}}}</div>
}}
|}
|}
|}
<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>
<noinclude>
<noinclude>
==Usage==
This template is used to add a character infobox to a page. To add this template to an article copy and paste the code below and then fill in the information for each section.{{clear}}
<pre>
<pre>
{{Test
{{Character
|name=The character's name
|name = The characters English name or closest localisation.
|image#=An image of the card
|japanese_name= The characters name in Japanese. This is usually written in Katakana.
|altimage#=If the card has an alternate printing (e.g. a + rarity version or a promotional reprint), put its image here
|romaji_name = The characters Japanese name once converted to Romaji
|altlabel#=Label for the tab into the alternate card image
|star = The star a character is listed as, if they are one of the 108 Stars of Destiny.
|alt2image#=If the card has a second alternate printing (for those extra special characters with two promo reprints), put its image here
|tmname = If the name of the image differs to the character name, enter it in this field
|alt2label#=Label for the second alternate card image
|caption = The name of the artist who drew the image used in this infobox.
|name#=The card character's name (in case of cases like Camus, where one character is known by multiple names)
|race = The species of the character.
|affil#=The card's national/continent affiliation. Insert one of the following: Archanea, Jugdral, Elibe, Tellius, Ylisse, Hoshido, Nohr, None.
|gender = The gender of the character.
|affil2-#=The card's second national/continent affiliation. Only invoke on dual-affiliation cards.
|age = The characters age(s) in each of the games they appear in.
|gender#=The card's gender
|birth_date = The year of birth for the character, according to the Solar Year Calender. Only the number is necessary.
|weapon#=The card's weapon type. Insert one of the following: Sword, Lance, Axe, Bow, Knife, Tome, Staff, Dragonstone, Fang
|height = The characters listed height. Only Suikoden III and IV characters have official heights given.
|type#=Any class/effectiveness types assigned to the card. Insert the full icon code at 20px width/height
|from = The town/region/nation the character is listed as being from.
|quote#=The quote attributed to the card
|family = The characters relatives, listed in alphabetical order with the nature of their relationship in parenthesis after each name.
|attack#=The card's attack power
|va = The voice actor for the character, with the media form they are voiced in parenthesis.
|support#=The card's support power
|atkcost#=The card's deployment cost
|range#=The card's range
|class#=The card's class
|tier#=The class's promotion tier
|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]]</noinclude>
[[Category:Genso Suikoden Card Stories templates]]
</noinclude>