はカードテキストなし
Template:Card: Difference between revisions
Template page
More actions
mNo edit summary |
mNo edit summary |
||
| Line 13: | Line 13: | ||
{| class="infoboxinner" style="border: 2px solid #{{{{{cardtype|Mastermind}}} border colour|d2d2d2}}; background: #{{{{{cardtype|Mastermind}}} colour|e1e1e1}};" | {| class="infoboxinner" style="border: 2px solid #{{{{{cardtype|Mastermind}}} border colour|d2d2d2}}; background: #{{{{{cardtype|Mastermind}}} colour|e1e1e1}};" | ||
|- | |- | ||
| align="left" style="float:center; width:40%;" |'''{{{number|001}}}''' | | align="left" style="float:center; width:40%; color: #323232;" |'''{{{number|001}}}''' | ||
| align="center" style="float:center; width:20%;" | | | align="center" style="float:center; width:20%;" | | ||
| align="right" style="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="right" style="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}}}]]}} | ||
| Line 22: | Line 22: | ||
|- | |- | ||
| align="center" style="float:center; width:45px;" | | | align="center" style="float:center; width:45px;" | | ||
| align="center" style="float:center; width:290px;" | {{#if: {{{image{{!}}}}}|[[File:{{{tmname}}}.png{{!}}{{{size|340x340px}}}]]}}<br><small>''Illustration [[{{{artist| }}}]]''</small> | | align="center" style="float:center; width:290px; color: #323232;" | {{#if: {{{image{{!}}}}}|[[File:{{{tmname}}}.png{{!}}{{{size|340x340px}}}]]}}<br><small>''Illustration [[{{{artist| }}}]]''</small> | ||
| align="right" style="float:center; width:45px;" | | | align="right" style="float:center; width:45px;" | | ||
|} | |} | ||
|- | |- | ||
{{!}} align="center" colspan="4" {{!}} | {{!}} align="center" colspan="4" {{!}} | ||
{{{!}} align="left" width="100%" style="background: #{{{{{cardtype|Mastermind}}} colour|e1e1e1}}; border: 1px solid #{{{{{cardtype|Mastermind}}} border colour|d2d2d2}};" | {{{!}} align="left" width="100%" style="background: #{{{{{cardtype|Mastermind}}} colour|e1e1e1}}; border: 1px solid #{{{{{cardtype|Mastermind}}} border colour|d2d2d2}}; color: #323232;" | ||
{{!}}'''Expansion''' | {{!}}'''Expansion''' | ||
{{!}}class= " " width= "70%" style="background: #{{{{{cardtype|Mastermind}}} background colour|fff}}; border: 1px solid #{{{{{cardtype|Mastermind}}} border colour|d2d2d2}};"{{!}}[[{{{expansion|Starter Box & Booster Pack Vol.1}}}]] | {{!}}class= " " width= "70%" style="background: #{{{{{cardtype|Mastermind}}} background colour|fff}}; border: 1px solid #{{{{{cardtype|Mastermind}}} border colour|d2d2d2}};"{{!}}[[{{{expansion|Starter Box & Booster Pack Vol.1}}}]] | ||
| Line 34: | Line 34: | ||
{{#if:{{{links}}}|{{#!:{{!}}- | {{#if:{{{links}}}|{{#!:{{!}}- | ||
{{!}} align="center" colspan="4" {{!}} | {{!}} align="center" colspan="4" {{!}} | ||
{{{!}} align="left" width="100%" style="background: #{{{{{cardtype|Mastermind}}} colour|e1e1e1}}; border: 1px solid #{{{{{cardtype|Mastermind}}} border colour|d2d2d2}};" | {{{!}} align="left" width="100%" style="background: #{{{{{cardtype|Mastermind}}} colour|e1e1e1}}; border: 1px solid #{{{{{cardtype|Mastermind}}} border colour|d2d2d2}}; color: #323232;" | ||
{{!}}'''Links''' | {{!}}'''Links''' | ||
{{!}} width= "70%" style="color: grey; background: #{{{{{cardtype|Mastermind}}} background colour|fff}}; border: 1px solid #{{{{{cardtype|Mastermind}}} border colour|d2d2d2}};"{{!}}{{#ifeq: {{{Link A|no}}}|no|A}}{{#ifeq: {{{Link A}}}|yes|<span style="color:#ff0000">'''A'''</span>}}・{{#ifeq: {{{Link B|no}}}|no|B}}{{#ifeq: {{{Link B}}}|yes|<span style="color:#ffa500">'''B'''</span>}}・{{#ifeq: {{{Link C|no}}}|no|C}}{{#ifeq: {{{Link C}}}|yes|<span style="color:#ffff00">'''C'''</span>}}・{{#ifeq: {{{Link D|no}}}|no|D}}{{#ifeq: {{{Link D}}}|yes|<span style="color:#008000">'''D'''</span>}}・{{#ifeq: {{{Link E|no}}}|no|E}}{{#ifeq: {{{Link E}}}|yes|<span style="color:#00ffff">'''E'''</span>}}・{{#ifeq: {{{Link F|no}}}|no|F}}{{#ifeq: {{{Link F}}}|yes|<span style="color:#0000ff">'''F'''</span>}}・{{#ifeq: {{{Link G|no}}}|no|G}}{{#ifeq: {{{Link G}}}|yes|<span style="color:#0000a0">'''G'''</span>}}・{{#ifeq: {{{Link H|no}}}|no|H}}{{#ifeq: {{{Link H}}}|yes|<span style="color:#800080">'''H'''</span>}}・{{#ifeq: {{{Link I|no}}}|no|I}}{{#ifeq: {{{Link I}}}|yes|<span style="color:#ff00ff">'''I'''</span>}} | {{!}} width= "70%" style="color: grey; background: #{{{{{cardtype|Mastermind}}} background colour|fff}}; border: 1px solid #{{{{{cardtype|Mastermind}}} border colour|d2d2d2}};"{{!}}{{#ifeq: {{{Link A|no}}}|no|A}}{{#ifeq: {{{Link A}}}|yes|<span style="color:#ff0000">'''A'''</span>}}・{{#ifeq: {{{Link B|no}}}|no|B}}{{#ifeq: {{{Link B}}}|yes|<span style="color:#ffa500">'''B'''</span>}}・{{#ifeq: {{{Link C|no}}}|no|C}}{{#ifeq: {{{Link C}}}|yes|<span style="color:#ffff00">'''C'''</span>}}・{{#ifeq: {{{Link D|no}}}|no|D}}{{#ifeq: {{{Link D}}}|yes|<span style="color:#008000">'''D'''</span>}}・{{#ifeq: {{{Link E|no}}}|no|E}}{{#ifeq: {{{Link E}}}|yes|<span style="color:#00ffff">'''E'''</span>}}・{{#ifeq: {{{Link F|no}}}|no|F}}{{#ifeq: {{{Link F}}}|yes|<span style="color:#0000ff">'''F'''</span>}}・{{#ifeq: {{{Link G|no}}}|no|G}}{{#ifeq: {{{Link G}}}|yes|<span style="color:#0000a0">'''G'''</span>}}・{{#ifeq: {{{Link H|no}}}|no|H}}{{#ifeq: {{{Link H}}}|yes|<span style="color:#800080">'''H'''</span>}}・{{#ifeq: {{{Link I|no}}}|no|I}}{{#ifeq: {{{Link I}}}|yes|<span style="color:#ff00ff">'''I'''</span>}} | ||
| Line 43: | Line 43: | ||
{{#if:{{{attack}}}|{{#!:{{!}}- | {{#if:{{{attack}}}|{{#!:{{!}}- | ||
{{!}} align="center" colspan="4" {{!}} | {{!}} align="center" colspan="4" {{!}} | ||
{{{!}} align="left" width="100%" style="background: #{{{{{cardtype|Mastermind}}} colour|e1e1e1}}; border: 1px solid #{{{{{cardtype|Mastermind}}} border colour|d2d2d2}};" | {{{!}} align="left" width="100%" style="background: #{{{{{cardtype|Mastermind}}} colour|e1e1e1}}; border: 1px solid #{{{{{cardtype|Mastermind}}} border colour|d2d2d2}}; color: #323232;" | ||
{{!}}'''Attack''' | {{!}}'''Attack''' | ||
{{!}} width= "70%" style="background: #{{{{{cardtype|Mastermind}}} background colour|fff}}; border: 1px solid #{{{{{cardtype|Mastermind}}} border colour|d2d2d2}};"{{!}}{{{attack|3}}} | {{!}} width= "70%" style="background: #{{{{{cardtype|Mastermind}}} background colour|fff}}; border: 1px solid #{{{{{cardtype|Mastermind}}} border colour|d2d2d2}}; color: #323232;"{{!}}{{{attack|3}}} | ||
{{!}}} | {{!}}} | ||
}} | }} | ||
| Line 52: | Line 52: | ||
{{#if:{{{soldiers}}}|{{#!:{{!}}- | {{#if:{{{soldiers}}}|{{#!:{{!}}- | ||
{{!}} align="center" colspan="4" {{!}} | {{!}} align="center" colspan="4" {{!}} | ||
{{{!}} align="left" width="100%" style="background: #{{{{{cardtype|Mastermind}}} colour|e1e1e1}}; border: 1px solid #{{{{{cardtype|Mastermind}}} border colour|d2d2d2}};" | {{{!}} align="left" width="100%" style="background: #{{{{{cardtype|Mastermind}}} colour|e1e1e1}}; border: 1px solid #{{{{{cardtype|Mastermind}}} border colour|d2d2d2}}; color: #323232;" | ||
{{!}}'''Soldiers''' | {{!}}'''Soldiers''' | ||
{{!}} width= "70%" style="background: #{{{{{cardtype|Mastermind}}} background colour|fff}}; border: 1px solid #{{{{{cardtype|Mastermind}}} border colour|d2d2d2}};"{{!}}{{{soldiers|1000}}} | {{!}} width= "70%" style="background: #{{{{{cardtype|Mastermind}}} background colour|fff}}; border: 1px solid #{{{{{cardtype|Mastermind}}} border colour|d2d2d2}}; color: #323232;"{{!}}{{{soldiers|1000}}} | ||
{{!}}} | {{!}}} | ||
}} | }} | ||
| Line 61: | Line 61: | ||
{{#if:{{{construction}}}|{{#!:{{!}}- | {{#if:{{{construction}}}|{{#!:{{!}}- | ||
{{!}} align="center" colspan="4" {{!}} | {{!}} align="center" colspan="4" {{!}} | ||
{{{!}} align="left" width="100%" style="background: #{{{{{cardtype|Mastermind}}} colour|e1e1e1}}; border: 1px solid #{{{{{cardtype|Mastermind}}} border colour|d2d2d2}};" | {{{!}} align="left" width="100%" style="background: #{{{{{cardtype|Mastermind}}} colour|e1e1e1}}; border: 1px solid #{{{{{cardtype|Mastermind}}} border colour|d2d2d2}}; color: #323232;" | ||
{{!}}'''Construction''' | {{!}}'''Construction''' | ||
{{!}} width= "70%" style="background: #{{{{{cardtype|Mastermind}}} background colour|fff}}; border: 1px solid #{{{{{cardtype|Mastermind}}} border colour|d2d2d2}};"{{!}}{{{construction|2}}} | {{!}} width= "70%" style="background: #{{{{{cardtype|Mastermind}}} background colour|fff}}; border: 1px solid #{{{{{cardtype|Mastermind}}} border colour|d2d2d2}}; color: #323232;"{{!}}{{{construction|2}}} | ||
{{!}}} | {{!}}} | ||
}} | }} | ||
| Line 70: | Line 70: | ||
{{#if:{{{clearpts}}}|{{#!:{{!}}- | {{#if:{{{clearpts}}}|{{#!:{{!}}- | ||
{{!}} align="center" colspan="4" {{!}} | {{!}} align="center" colspan="4" {{!}} | ||
{{{!}} align="left" width="100%" style="background: #{{{{{cardtype|Mastermind}}} colour|e1e1e1}}; border: 1px solid #{{{{{cardtype|Mastermind}}} border colour|d2d2d2}};" | {{{!}} align="left" width="100%" style="background: #{{{{{cardtype|Mastermind}}} colour|e1e1e1}}; border: 1px solid #{{{{{cardtype|Mastermind}}} border colour|d2d2d2}}; color: #323232;" | ||
{{!}}'''Clear Points''' | {{!}}'''Clear Points''' | ||
{{!}} width= "70%" style="background: #{{{{{cardtype|Mastermind}}} background colour|fff}}; border: 1px solid #{{{{{cardtype|Mastermind}}} border colour|d2d2d2}};"{{!}}{{{clearpts|5}}} {{{cleartype|Attack}}} | {{!}} width= "70%" style="background: #{{{{{cardtype|Mastermind}}} background colour|fff}}; border: 1px solid #{{{{{cardtype|Mastermind}}} border colour|d2d2d2}}; color: #323232;"{{!}}{{{clearpts|5}}} {{{cleartype|Attack}}} | ||
{{!}}} | {{!}}} | ||
}} | }} | ||
| Line 79: | Line 79: | ||
{{#if:{{{victorypts}}}|{{#!:{{!}}- | {{#if:{{{victorypts}}}|{{#!:{{!}}- | ||
{{!}} align="center" colspan="4" {{!}} | {{!}} align="center" colspan="4" {{!}} | ||
{{{!}} align="left" width="100%" style="background: #{{{{{cardtype|Mastermind}}} colour|e1e1e1}}; border: 1px solid #{{{{{cardtype|Mastermind}}} border colour|d2d2d2}};" | {{{!}} align="left" width="100%" style="background: #{{{{{cardtype|Mastermind}}} colour|e1e1e1}}; border: 1px solid #{{{{{cardtype|Mastermind}}} border colour|d2d2d2}}; color: #323232;" | ||
{{!}}'''Victory Points''' | {{!}}'''Victory Points''' | ||
{{!}} width= "70%" style="background: #{{{{{cardtype|Mastermind}}} background colour|fff}}; border: 1px solid #{{{{{cardtype|Mastermind}}} border colour|d2d2d2}};"{{!}}{{{victorypts|1/1}}} | {{!}} width= "70%" style="background: #{{{{{cardtype|Mastermind}}} background colour|fff}}; border: 1px solid #{{{{{cardtype|Mastermind}}} border colour|d2d2d2}}; color: #323232;"{{!}}{{{victorypts|1/1}}} | ||
{{!}}} | {{!}}} | ||
}} | }} | ||
| Line 88: | Line 88: | ||
{{#if:{{{facilitypts}}}|{{#!:{{!}}- | {{#if:{{{facilitypts}}}|{{#!:{{!}}- | ||
{{!}} align="center" colspan="4" {{!}} | {{!}} align="center" colspan="4" {{!}} | ||
{{{!}} align="left" width="100%" style="background: #{{{{{cardtype|Mastermind}}} colour|e1e1e1}}; border: 1px solid #{{{{{cardtype|Mastermind}}} border colour|d2d2d2}};" | {{{!}} align="left" width="100%" style="background: #{{{{{cardtype|Mastermind}}} colour|e1e1e1}}; border: 1px solid #{{{{{cardtype|Mastermind}}} border colour|d2d2d2}}; color: #323232;" | ||
{{!}}'''Block Points''' | {{!}}'''Block Points''' | ||
{{!}} width= "70%" style="background: #{{{{{cardtype|Mastermind}}} background colour|fff}}; border: 1px solid #{{{{{cardtype|Mastermind}}} border colour|d2d2d2}};"{{!}}{{{facilitypts|5}}} {{{blocktype|Attack}}} | {{!}} width= "70%" style="background: #{{{{{cardtype|Mastermind}}} background colour|fff}}; border: 1px solid #{{{{{cardtype|Mastermind}}} border colour|d2d2d2}}; color: #323232;"{{!}}{{{facilitypts|5}}} {{{blocktype|Attack}}} | ||
{{!}}} | {{!}}} | ||
}} | }} | ||
| Line 96: | Line 96: | ||
{{!}}- | {{!}}- | ||
{{!}} align="center" colspan="4" {{!}} | {{!}} align="center" colspan="4" {{!}} | ||
{{{!}} align="left" width="100%" style="background: #{{{{{cardtype|Mastermind}}} colour|e1e1e1}}; border: 1px solid #{{{{{cardtype|Mastermind}}} border colour|d2d2d2}};" | {{{!}} align="left" width="100%" style="background: #{{{{{cardtype|Mastermind}}} colour|e1e1e1}}; border: 1px solid #{{{{{cardtype|Mastermind}}} border colour|d2d2d2}}; color: #323232;" | ||
{{!}}<div style="clear:both; margin: 0.3em auto; text-align:center; {{#if:{{{width|}}}|width:{{{width}}};}} {{#if:{{{header|}}}| border: 1px solid #000;}}"><!-- | {{!}}<div style="clear:both; margin: 0.3em auto; text-align:center; {{#if:{{{width|}}}|width:{{{width}}};}} {{#if:{{{header|}}}| border: 1px solid #000;}}"><!-- | ||
| Line 104: | Line 104: | ||
</div> | </div> | ||
}}{{#tag:tabber| | }}{{#tag:tabber| | ||
JP Text=<div class="tabcontents" style="background: #{{{{{cardtype|Mastermind}}} background colour|fff}}; border: 1px solid #{{{{{cardtype|Mastermind}}} border colour|d2d2d2}}; clear:both; margin: 2px; padding:10px;">{{{jptext|''はカードテキストなし''}}}</div> | JP Text=<div class="tabcontents" style="background: #{{{{{cardtype|Mastermind}}} background colour|fff}}; border: 1px solid #{{{{{cardtype|Mastermind}}} border colour|d2d2d2}}; clear:both; margin: 2px; padding:10px; color: #323232;">{{{jptext|''はカードテキストなし''}}}</div> | ||
{{!}}-{{!}} | {{!}}-{{!}} | ||
EN Text=<div class="tabcontents" style="background: #{{{{{cardtype|Mastermind}}} background colour|fff}}; border: 1px solid #{{{{{cardtype|Mastermind}}} border colour|d2d2d2}}; clear:both; margin: 2px; padding:10px;">{{{entext|''No card text''}}}</div> | EN Text=<div class="tabcontents" style="background: #{{{{{cardtype|Mastermind}}} background colour|fff}}; border: 1px solid #{{{{{cardtype|Mastermind}}} border colour|d2d2d2}}; clear:both; margin: 2px; padding:10px; color: #323232;">{{{entext|''No card text''}}}</div> | ||
}} | }} | ||
Revision as of 13:40, 18 November 2019
{{#!:|-
{{#!:|-
{{#!:|-
{{#!:|-
{{#!:|-
{{#!:|-
{{#!:|-
| |||||
| |||||
| |||||
| |||||
}} | |||||
}} | |||||
}} | |||||
}} | |||||
}} | |||||
}} | |||||
}} | |||||
| |||||
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.
{{Card
|name = Localised card name in English.
|japanese_name= The card name in Japanese. This is usually written in Katakana.
|romaji_name = The card Japanese name once converted to Romaji
|tmname = The name of the image file
|artist = The name of the artist of the card
|expansion= The expansion in which this card was introduced to the series
|number= The card number, usually found in the bottom left corner of the card
|type= The type of card (Mastermind, Leader, Commoner, Free, Craftman, Mission, Facilities, Other). Make sure you type this correctly as it affects the colouring and formatting of the infobox
|rune= The rune assigned to this card, if applicable
|gender = The gender assigned to this card, if applicable
|camp = The team alignment of this card, if applicable (Third Force 第三勢力)
|links = The links of this card, if applicable
|attack= The attack power (攻撃) of this card, if applicable
|soldiers= The number of soldiers (兵力) assigned to this card, if applicable
|construction= The construction points (建設) of this card, if applicable
|clearpts= The number of points needed to clear this card, applicable to Mission and Facilities cards only
|cleartype= The type of points needed to clear this card (Attack, Soldiers or Construction)
|victorypts= The number of Victory Points this card awards when cleared, applicable to Mission cards only
|facilitypts= The number of points needed to block (阻止) this card, applicable to Facilities cards only
|jptext= Blurb and rule text as printed on the card in Japanese
|entext= Blurb and rule text translated into English as best as possible
}}