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
No edit summary
No edit summary
Line 98: Line 98:
{{!}} align="center" colspan="4" {{!}}
{{!}} align="center" colspan="4" {{!}}
{{{!}} align="left" width="100%" style="{{round}}; background: #{{{{{cardtype|Mastermind}}} colour|e1e1e1}}; border: 1px solid #{{{{{cardtype|Mastermind}}} border colour|d2d2d2}};"
{{{!}} align="left" width="100%" style="{{round}}; background: #{{{{{cardtype|Mastermind}}} colour|e1e1e1}}; border: 1px solid #{{{{{cardtype|Mastermind}}} border colour|d2d2d2}};"
{{!}}{{Tab
{{!}}<div style="clear:both; margin: 0.3em auto; text-align:center; {{#if:{{{width|}}}|width:{{{width}}};}} {{#if:{{{header|}}}| border: 1px solid #000;}}"><!--
|tabwidth = 600px
 
|tab1     = JP Text
-->{{#if:{{{header|}}}|
|content1 = {{{jptext|''はカードテキストなし''}}}
<div style="background-color:#FFF; border:1px solid #000; margin:2px; white-space: nowrap;">
|tab2    = EN Text
{{{header}}}
|content2 = {{{entext|''No card text''}}}
</div>
}}<!--
 
-->{{#vardefine:width|{{#if:{{{tabwidth|}}}|style="width: {{{tabwidth}}}" }}}}<!--
--><div class="tabcontainer" style="margin:0 3px; padding:0;"><!--
--><span class="tab {{#ifeq:{{{default|1}}}|1|active}}" {{#var:width}}>{{{tab1|JP Text}}}</span><!--
--><span class="tab {{#ifeq:{{{default}}}|2|active}}" {{#var:width}}>{{{tab2|EN Text}}}</span><!--
--></div><!--
 
 
--><div class="tabcontents" style="{{round}} background: #{{{{{cardtype|Mastermind}}} background colour|fff}}; border: 1px solid #{{{{{cardtype|Mastermind}}} border colour|d2d2d2}}; clear:both; margin: 2px; padding:10px; {{#if:{{{height|}}}|min-height:{{{height}}}; height:auto !important; height:{{{height}}};}}"><!--
-->{{Tab/Content|1|{{{default|1}}}|{{{fallback}}}|{{{jptext|''はカードテキストなし''}}}}}<!--
-->{{Tab/Content|2|{{{default}}}|{{{fallback}}}|{{{entext|''No card text''}}}}}<!--
--><div style="clear:both;"></div></div>
</div>
{{#tag:css|
.tab {
background-color: #{{ZWheader}};
background-image:-webkit-linear-gradient(top, #1D679B, #1A4E7D);
background-image:  -moz-linear-gradient(top, #1D679B, #1A4E7D);
background-image:    -ms-linear-gradient(top, #1D679B, #1A4E7D);
background-image:    -o-linear-gradient(top, #1D679B, #1A4E7D);
background-image:        linear-gradient(top, #1D679B, #1A4E7D);
border:2px solid #426787;
cursor:pointer;
float:center;
margin:0 1px -2px;
padding:3px;
text-align:center;
white-space:nowrap;
}
 
.tab:hover {
background-color:#24527c;
background-image:-webkit-linear-gradient(top, #305f89, #17456E);
background-image:  -moz-linear-gradient(top, #305f89, #17456E);
background-image:    -ms-linear-gradient(top, #305f89, #17456E);
background-image:    -o-linear-gradient(top, #305f89, #17456E);
background-image:        linear-gradient(top, #305f89, #17456E);
color:#F4F26B;
}
 
.tab.active {
background-color:#{{ZWbgcolor}} !important;
background-image:-webkit-linear-gradient(top, #1D578B, #17456E);
background-image:  -moz-linear-gradient(top, #1D578B, #17456E);
background-image:    -ms-linear-gradient(top, #1D578B, #17456E);
background-image:    -o-linear-gradient(top, #1D578B, #17456E);
background-image:        linear-gradient(top, #1D578B, #17456E);
border-bottom: 2px solid #17456E;
color:#F4F26B;
}
 
}}
}}
{{!}}}
{{!}}}

Revision as of 15:16, 11 May 2013

{{#!:|- {{#!:|- {{#!:|- {{#!:|- {{#!:|- {{#!:|- {{#!:|-
McDohl
マクドール Makudōru
001
[[File:{{{tmname}}}.png|290px]]
Illustration [[ ]]
Expansion class= "roundy" width= "60%" style="border-radius: 15px; -moz-border-radius: 15px; -webkit-border-radius: 15px; -khtml-border-radius: 15px; -icab-border-radius: 15px; -o-border-radius: 15px;; background: #Template:Mastermind background colour; border: 1px solid #Template:Mastermind border colour;"|Starter Box & Booster Pack Vol.1
Links width= "60%" style="border-radius: 15px; -moz-border-radius: 15px; -webkit-border-radius: 15px; -khtml-border-radius: 15px; -icab-border-radius: 15px; -o-border-radius: 15px;; background: #Template:Mastermind background colour; border: 1px solid #Template:Mastermind border colour;"|Link A Link B Link C Link D Link E Link F Link G Link H Link I

}}

Attack width= "60%" style="border-radius: 15px; -moz-border-radius: 15px; -webkit-border-radius: 15px; -khtml-border-radius: 15px; -icab-border-radius: 15px; -o-border-radius: 15px;; background: #Template:Mastermind background colour; border: 1px solid #Template:Mastermind border colour;"|3

}}

Soldiers width= "60%" style="border-radius: 15px; -moz-border-radius: 15px; -webkit-border-radius: 15px; -khtml-border-radius: 15px; -icab-border-radius: 15px; -o-border-radius: 15px;; background: #Template:Mastermind background colour; border: 1px solid #Template:Mastermind border colour;"|1000

}}

Construction width= "60%" style="border-radius: 15px; -moz-border-radius: 15px; -webkit-border-radius: 15px; -khtml-border-radius: 15px; -icab-border-radius: 15px; -o-border-radius: 15px;; background: #Template:Mastermind background colour; border: 1px solid #Template:Mastermind border colour;"|2

}}

Clear Points width= "60%" style="border-radius: 15px; -moz-border-radius: 15px; -webkit-border-radius: 15px; -khtml-border-radius: 15px; -icab-border-radius: 15px; -o-border-radius: 15px;; background: #Template:Mastermind background colour; border: 1px solid #Template:Mastermind border colour;"|5 Attack

}}

Victory Points width= "60%" style="border-radius: 15px; -moz-border-radius: 15px; -webkit-border-radius: 15px; -khtml-border-radius: 15px; -icab-border-radius: 15px; -o-border-radius: 15px;; background: #Template:Mastermind background colour; border: 1px solid #Template:Mastermind border colour;"|1/1

}}

Facility Points width= "60%" style="border-radius: 15px; -moz-border-radius: 15px; -webkit-border-radius: 15px; -khtml-border-radius: 15px; -icab-border-radius: 15px; -o-border-radius: 15px;; background: #Template:Mastermind background colour; border: 1px solid #Template:Mastermind border colour;"|5

}}

<css> .tab { background-color: #Template:ZWheader; background-image:-webkit-linear-gradient(top, #1D679B, #1A4E7D); background-image: -moz-linear-gradient(top, #1D679B, #1A4E7D); background-image: -ms-linear-gradient(top, #1D679B, #1A4E7D); background-image: -o-linear-gradient(top, #1D679B, #1A4E7D); background-image: linear-gradient(top, #1D679B, #1A4E7D); border:2px solid #426787; cursor:pointer; float:center; margin:0 1px -2px; padding:3px; text-align:center; white-space:nowrap; }

.tab:hover { background-color:#24527c; background-image:-webkit-linear-gradient(top, #305f89, #17456E); background-image: -moz-linear-gradient(top, #305f89, #17456E); background-image: -ms-linear-gradient(top, #305f89, #17456E); background-image: -o-linear-gradient(top, #305f89, #17456E); background-image: linear-gradient(top, #305f89, #17456E); color:#F4F26B; }

.tab.active { background-color:#Template:ZWbgcolor !important; background-image:-webkit-linear-gradient(top, #1D578B, #17456E); background-image: -moz-linear-gradient(top, #1D578B, #17456E); background-image: -ms-linear-gradient(top, #1D578B, #17456E); background-image: -o-linear-gradient(top, #1D578B, #17456E); background-image: linear-gradient(top, #1D578B, #17456E); border-bottom: 2px solid #17456E; color:#F4F26B; }

</css>

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
}}