Template:Infobox CTCG Card: Difference between revisions

The Terran Knowledge Bank
Jump to: navigation, search
No edit summary
No edit summary
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>{| {{WPMILHIST Infobox style|main_box|vcard}}
{| {{WPMILHIST Infobox style|main_box|vcard}}
|-
|-
! 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:left;" {{!}} {{{caption}}}
{{!}} colspan="2" {{WPMILHIST Infobox style|image_box}} {{!}} [[{{{imagetype}}}|100px]]
{{!}}-
{{!}}-
}}
}}
{{#if:{{{sector|<noinclude>-</noinclude>}}}|
{{#if:{{{rarity|<noinclude>-</noinclude>}}}|
{{!}} style="text-align:left;" {{!}} '''Sector'''
{{!}} style="text-align:left; vertical-align:top;" {{!}} '''Rarity'''
{{!}} {{{sector}}}
{{!}} {{{rarity}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{quadrant|<noinclude>-</noinclude>}}}|
{{#if:{{{equivalent|<noinclude>-</noinclude>}}}|
{{!}} style="text-align:left;" {{!}} '''Quadrant'''
{{!}} style="text-align:left; vertical-align:top;" {{!}} '''Equivalent'''
{{!}} {{{quadrant}}}
{{!}} {{{equivalent}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{region|<noinclude>-</noinclude>}}}|
|}</includeonly>
{{!}} style="text-align:left;" {{!}} '''Region'''
 
{{!}} {{{region}}}
<noinclude>
{{!}}-
 
}}
Usage:
{{#if:{{{planets|<noinclude>-</noinclude>}}}|
 
{{!}} style="text-align:left;vertical-align:top;" {{!}} '''Planets'''
<pre>
{{!}} {{{planets}}}
{{infobox CTCG Card
{{!}}-
|faction = REQUIRED (terran/kilrathi/landreich/firekkan)
}}
|name =
{{#if:{{{system|<noinclude>-</noinclude>}}}|
|image =
{{!}} style="text-align:left;" {{!}} '''System'''
|rarity =  
{{!}} {{{system}}}
|equivalent =
{{!}}-
}}
{{#if:{{{nav|<noinclude>-</noinclude>}}}|
{{!}} style="text-align:left;" {{!}} '''Nav Point'''
{{!}} {{{nav}}}
{{!}}-
}}
{{#if:{{{allegiance|<noinclude>-</noinclude>}}}|
{{!}} style="text-align:left;" {{!}} '''Allegiance'''
{{!}} {{{allegiance}}}
{{!}}-
}}
{{#if:{{{places|<noinclude>-</noinclude>}}}|
{{!}} style="text-align:left;vertical-align:top;" {{!}} '''Notable Places'''
{{!}} {{{places}}}
{{!}}-
}}
{{#if:{{{produces|<noinclude>-</noinclude>}}}|
{{!}} style="text-align:left;vertical-align:top;" {{!}} '''Produces'''
{{!}} {{{produces}}}
{{!}}-
}}
{{#if:{{{imports|<noinclude>-</noinclude>}}}|
{{!}} style="text-align:left;vertical-align:top;" {{!}} '''Imports'''
{{!}} {{{imports}}}
{{!}}-
}}
{{#if:{{{other|<noinclude>-</noinclude>}}}|
{{!}} style="text-align:left;" {{!}} '''Other Features'''
{{!}} {{{other}}}
{{!}}-
}}
{{#if:{{{links|<noinclude>-</noinclude>}}}|
{{!}} style="text-align:left;vertical-align:top;" {{!}} '''Jump Links'''
{{!}} {{{links}}}
{{!}}-
}}
}}
|-
</pre>
| colspan="2" style="font-size: smaller;" | {{{footnotes|}}}
|}
</includeonly>
<noinclude>
[[Category:star system infobox templates]]
USAGE:
<pre>{{infobox Star System
|faction = #REQUIRED for faction design of template - terran/kilrathi/landreich/firekkan
|name =
|image =
|sector =
|quadrant =
|allegiance =
|places =
|other =
|links =
}}</pre>


----
----


Examples:
Example:
 
{| style="background:transparent; border:0; width:100%"
{| style="background:transparent; border:0; width:100%"
|
|
<pre>{{infobox Star System
<pre>{{infobox CTCG Card
|faction = terran
|faction = terran
|name = Blue Devil Squadron
|name = Blue Devil Squadron
|image = c-s-arr-blu.jpg
|image = image:WCTCG_Arrow_Blue_Devil_Squadron.png
|sector = Sol
|rarity = Common
|quadrant = Terra
|equivalent = [[Darket (card type)|Darket]]
|allegiance = Terran Confederation
|places =
|other =
|links =
}}</pre>
}}</pre>
|
|
{{infobox Star System
{{infobox CTCG Card
|faction = terran
|faction = terran
|name = Sol
|name = Blue Devil Squadron
|image = c-s-arr-blu.jpg
|image = image:WCTCG_Arrow_Blue_Devil_Squadron.png
|sector = Sol
|rarity = Common
|quadrant = Terra
|equivalent = [[Darket (card type)|Darket]]
|allegiance = Terran Confederation
|places =
|other =
|links =
}}
|-
|
<pre>{{infobox Star System
|faction = kilrathi
|name = Kilrah
|image =
|sector = Kilrah
|quadrant = Kur'u'khag
|allegiance = Kilrathi Empire
|places =
|other =
|links =
}}</pre>
|
{{infobox Star System
|faction = kilrathi
|name = Kilrah
|image =
|sector = Kilrah
|quadrant = Kur'u'khag
|allegiance = Kilrathi Empire
|places =
|other =
|links =
}}
|-
|
<pre>{{infobox Star System
|faction = neutral
|name =
|image =
|sector =
|quadrant =
|allegiance =
|places =
|other =  
|links =  
}}</pre>
|
{{infobox Star System
|faction = neutral
|name = Oasis
|image =
|sector = Pleiades
|quadrant =
|allegiance = Neutral or Uncontrolled
|places =
|other =
|links =
}}
|-
|
<pre>{{infobox Star System
|faction = unexplored
|name =
|image =
|sector =
|quadrant =
|allegiance =
|places =
|other =
|links =
}}</pre>
|
{{infobox Star System
|faction = unexplored
|name = TCSC1599
|image =
|sector = Argent
|quadrant = Rod
|allegiance = Unexplored
|places =
|other =
|links =
}}
}}
|}
|}
[[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