Template:Infobox CTCG Card: Difference between revisions

The Terran Knowledge Bank
Jump to: navigation, search
No edit summary
No edit summary
 
(12 intermediate revisions by the same user not shown)
Line 2: Line 2:
|-
|-
! class="fn" colspan="2" {{WPMILHIST Infobox style|header_bar_{{{faction}}}}} | {{{name}}}
! class="fn" colspan="2" {{WPMILHIST Infobox style|header_bar_{{{faction}}}}} | {{{name}}}
|-
|-  
{{#if:{{{image|<noinclude>-</noinclude>}}}|
{{#if:{{{image|<noinclude>-</noinclude>}}}|
{{!}} colspan="2" {{WPMILHIST Infobox style|image_box}} {{!}} [[{{{image}}}|250px]]
{{!}} colspan="2" {{WPMILHIST Infobox style|image_box}} {{!}} [[{{{image}}}|250px]]
{{!}}-
{{!}}-
}}
}}
{{#if:{{{caption|<noinclude>-</noinclude>}}}|
{{#if:{{{imagetype|<noinclude>-</noinclude>}}}|
{{!}} colspan="2" style="border-bottom: 1px solid #aaa; text-align:center;" {{!}} ''{{{caption}}}''
{{!}} colspan="2" {{WPMILHIST Infobox style|image_box}} {{!}} [[{{{imagetype}}}|100px]]
{{!}}-
{{!}}-
}}
}}
{{#if:{{{type|<noinclude>-</noinclude>}}}|
{{#if:{{{rarity|<noinclude>-</noinclude>}}}|
{{!}} style="text-align:left;" {{!}} '''Type'''
{{!}} style="text-align:left; vertical-align:top;" {{!}} '''Rarity'''
{{!}} {{{type}}}
{{!}} {{{rarity}}}
{{!}}-
}}
{{#if:{{{equivalent|<noinclude>-</noinclude>}}}|
{{!}} style="text-align:left; vertical-align:top;" {{!}} '''Equivalent'''
{{!}} {{{equivalent}}}
{{!}}-
{{!}}-
}}
}}
|}</includeonly>
|}</includeonly>


<noinclude>{{infobox Ship
<noinclude>
|faction = kilrathi
 
|image = C-s-arr-blu.jpg
Usage:
|name = Darket
 
|type = [[Light Fighter]]
<pre>
{{infobox CTCG Card
|faction = REQUIRED (terran/kilrathi/landreich/firekkan)
|name =
|image =
|rarity =  
|equivalent =
}}
}}
</pre>


This infobox is for use with both fighters and capital ships. To the right all of the potential lines are displayed.
----


<pre><nowiki>
Example:
{{infobox Ship
 
|faction =  
{| style="background:transparent; border:0; width:100%"
|name =  
|
|image =  
<pre>{{infobox CTCG Card
|caption =  
|faction = terran
|type =
|name = Blue Devil Squadron
|image = image:WCTCG_Arrow_Blue_Devil_Squadron.png
|rarity = Common
|equivalent = [[Darket (card type)|Darket]]
}}</pre>
|
{{infobox CTCG Card
|faction = terran
|name = Blue Devil Squadron
|image = image:WCTCG_Arrow_Blue_Devil_Squadron.png
|rarity = Common
|equivalent = [[Darket (card type)|Darket]]
}}
}}
</nowiki></pre>
|}
 
[[Category:Infobox templates]]


[[Category:Infobox templates]]</noinclude>
</noinclude>

Latest revision as of 23:19, 23 July 2020



Usage:

{{infobox CTCG Card
|faction = REQUIRED (terran/kilrathi/landreich/firekkan)
|name =
|image =
|rarity = 
|equivalent =
}}

Example:

{{infobox CTCG Card
|faction = terran
|name = Blue Devil Squadron
|image = image:WCTCG_Arrow_Blue_Devil_Squadron.png
|rarity = Common
|equivalent = [[Darket (card type)|Darket]]
}}
Blue Devil Squadron
WCTCG Arrow Blue Devil Squadron.png
Rarity Common
Equivalent Darket