Template:Infobox CTCG Card: Difference between revisions

The Terran Knowledge Bank
Jump to: navigation, search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{| {{WPMILHIST Infobox style|main_box|vcard}}
<includeonly>
{| {{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}}}
Line 8: Line 9:
}}
}}
{{#if:{{{caption|<noinclude>-</noinclude>}}}|
{{#if:{{{caption|<noinclude>-</noinclude>}}}|
{{!}} colspan="2" style="border-bottom: 1px solid #aaa; text-align:center;" {{!}} ''{{{caption}}}''
{{!}} colspan="2" style="border-bottom: 1px solid #aaa; text-align:left;" {{!}} {{{caption}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{type|<noinclude>-</noinclude>}}}|
{{#if:{{{sector|<noinclude>-</noinclude>}}}|
{{!}} style="text-align:left;" {{!}} '''Type'''
{{!}} style="text-align:left;" {{!}} '''Sector'''
{{!}} {{{type}}}
{{!}} {{{sector}}}
{{!}}-
{{!}}-
}}
}}
|}</includeonly>
{{#if:{{{quadrant|<noinclude>-</noinclude>}}}|
{{!}} style="text-align:left;" {{!}} '''Quadrant'''
{{!}} {{{quadrant}}}
{{!}}-
}}
{{#if:{{{region|<noinclude>-</noinclude>}}}|
{{!}} style="text-align:left;" {{!}} '''Region'''
{{!}} {{{region}}}
{{!}}-
}}
{{#if:{{{planets|<noinclude>-</noinclude>}}}|
{{!}} style="text-align:left;vertical-align:top;" {{!}} '''Planets'''
{{!}} {{{planets}}}
{{!}}-
}}
{{#if:{{{system|<noinclude>-</noinclude>}}}|
{{!}} style="text-align:left;" {{!}} '''System'''
{{!}} {{{system}}}
{{!}}-
}}
{{#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}}}
{{!}}-
}}
|-
| 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>
 
----


<noinclude>{{infobox Ship
Examples:
{| style="background:transparent; border:0; width:100%"
|
<pre>{{infobox Star System
|faction = terran
|name = Sol
|image =
|sector = Sol
|quadrant = Terra
|allegiance = Terran Confederation
|places =
|other =
|links =
}}</pre>
|
{{infobox Star System
|faction = terran
|name = Sol
|image =
|sector = Sol
|quadrant = Terra
|allegiance = Terran Confederation
|places =
|other =
|links =
}}
|-
|
<pre>{{infobox Star System
|faction = kilrathi
|faction = kilrathi
|image = C-s-arr-blu.jpg
|name = Kilrah
|name = Darket
|image =  
|type = [[Light Fighter]]
|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 =  
}}
}}
 
|-
This infobox is for use with both fighters and capital ships. To the right all of the potential lines are displayed.
|
 
<pre>{{infobox Star System
<pre><nowiki>
|faction = neutral
{{infobox Ship
|name =
|faction =  
|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 =  
|name =  
|image =  
|image =  
|caption =  
|sector =  
|type =  
|quadrant =
|allegiance =
|places =
|other =
|links =
}}</pre>
|
{{infobox Star System
|faction = unexplored
|name = TCSC1599
|image =
|sector = Argent
|quadrant = Rod
|allegiance = Unexplored
|places =
|other =
|links =  
}}
}}
</nowiki></pre>
|}
 
</noinclude>
[[Category:Infobox templates]]</noinclude>

Revision as of 16:12, 26 June 2020

USAGE:

{{infobox Star System
|faction = #REQUIRED for faction design of template - terran/kilrathi/landreich/firekkan
|name = 
|image = 
|sector = 
|quadrant = 
|allegiance = 
|places = 
|other = 
|links = 
}}

Examples:

{{infobox Star System
|faction = terran
|name = Sol
|image = 
|sector = Sol
|quadrant = Terra
|allegiance = Terran Confederation
|places = 
|other = 
|links = 
}}
Sol
Sector Sol
Quadrant Terra


{{infobox Star System
|faction = kilrathi
|name = Kilrah
|image = 
|sector = Kilrah
|quadrant = Kur'u'khag
|allegiance = Kilrathi Empire
|places = 
|other = 
|links = 
}}
Kilrah
Sector Kilrah
Quadrant Kur'u'khag


{{infobox Star System
|faction = neutral
|name = 
|image = 
|sector = 
|quadrant = 
|allegiance = 
|places = 
|other = 
|links = 
}}
Oasis
Sector Pleiades


{{infobox Star System
|faction = unexplored
|name = 
|image = 
|sector = 
|quadrant = 
|allegiance = 
|places = 
|other = 
|links = 
}}
TCSC1599
Sector Argent
Quadrant Rod