Template:Infobox Fighter: Difference between revisions
The Terran Knowledge Bank
m (test) |
|||
Line 1: | Line 1: | ||
# | <includeonly> | ||
{| {{WPMILHIST Infobox style|main_box|vcard}} | |||
|- | |||
! class="fn" colspan="2" {{WPMILHIST Infobox style|header_bar_{{{faction}}}}} | {{{name}}} | |||
|- | |||
{{#if:{{{image|<noinclude>-</noinclude>}}}| | |||
{{!}} colspan="2" {{WPMILHIST Infobox style|image_box}} {{!}} [[{{{image}}}|250px]] | |||
{{!}}- | |||
{{#if:{{{caption|<noinclude>-</noinclude>}}}| | |||
{{!}} colspan="2" style="border-bottom: 1px solid #aaa; text-align:left;" {{!}} {{{caption}}} | |||
{{!}}- | |||
}} | |||
}} | |||
{{!}} style="text-align:right;" {{!}} '''Type''' | |||
{{!}} {{{type}}} | |||
{{!}}- | |||
{{!}} style="text-align:right;" {{!}} '''Manufacturer{{#if:{{{manufacturers|}}}|s}}''' | |||
{{!}} {{{manufacturers|{{{manufacturer}}}}}} | |||
{{!}}- | |||
{{#if:{{{designer|<noinclude>-</noinclude>}}}| | |||
{{!}} style="text-align:right;" {{!}} '''Designed by''' | |||
{{!}} {{{designer}}} | |||
{{!}}- | |||
}} | |||
{{#if:{{{first flight|<noinclude>-</noinclude>}}}| | |||
{{!}} style="text-align:right;" {{!}} '''Maiden flight''' | |||
{{!}} {{{first flight}}} | |||
{{!}}- | |||
}} | |||
{{#if:{{{introduction|<noinclude>-</noinclude>}}}| | |||
{{!}} style="text-align:right;" {{!}} '''Introduction''' | |||
{{!}} {{{introduction}}} | |||
{{!}}- | |||
}} | |||
{{#if:{{{introduced|<noinclude>-</noinclude>}}}| | |||
{{!}} style="text-align:right;" {{!}} '''Introduced''' | |||
{{!}} {{{introduced}}} | |||
{{!}}- | |||
}} | |||
{{#if:{{{retired|<noinclude>-</noinclude>}}}| | |||
{{!}} style="text-align:right;" {{!}} '''Retired''' | |||
{{!}} {{{retired}}} | |||
{{!}}- | |||
}} | |||
{{#if:{{{status|<noinclude>-</noinclude>}}}| | |||
{{!}} style="text-align:right;" {{!}} '''Status''' | |||
{{!}} {{{status}}} | |||
{{!}}- | |||
}} | |||
{{#if:{{{primary user|<noinclude>-</noinclude>}}}| | |||
{{!}} style="text-align:right;" {{!}} '''Primary user{{#if:{{{more users|<noinclude>-</noinclude>}}}|s}}''' | |||
{{!}} {{{primary user}}}{{#if:{{{more users|<noinclude>-</noinclude>}}}| | |||
<br />{{{more users}}} }} | |||
{{!}}- | |||
}} | |||
{{#if:{{{produced|<noinclude>-</noinclude>}}}| | |||
{{!}} style="text-align:right;" {{!}} '''Produced''' | |||
{{!}} {{{produced}}} | |||
{{!}}- | |||
}} | |||
{{#if:{{{number built|<noinclude>-</noinclude>}}}| | |||
{{!}} style="text-align:right;" {{!}} '''Number built''' | |||
{{!}} {{{number built}}} | |||
{{!}}- | |||
}} | |||
{{#if:{{{program cost|<noinclude>-</noinclude>}}}| | |||
{{!}} style="text-align:right;" {{!}} '''Program cost''' | |||
{{!}} {{{program cost}}} | |||
{{!}}- | |||
}} | |||
{{#if:{{{unit cost|<noinclude>-</noinclude>}}}| | |||
{{!}} style="text-align:right;" {{!}} '''Unit cost''' | |||
{{!}} {{{unit cost}}} | |||
{{!}}- | |||
}} | |||
{{#if:{{{developed from|<noinclude>-</noinclude>}}}| | |||
{{!}} style="text-align:right;" {{!}} '''Developed from''' | |||
{{!}} {{{developed from}}} | |||
{{!}}- | |||
}} | |||
{{#if:{{{variants with their own articles|<noinclude>-</noinclude>}}}| | |||
{{!}} style="text-align:right;" {{!}} '''Variants''' | |||
{{!}} {{{variants with their own articles}}} | |||
{{!}}- | |||
}} | |||
|} | |||
</includeonly> | |||
<noinclude> | |||
[[Category:fighter infobox templates]] | |||
USAGE: | |||
<pre><nowiki> | |||
{{infobox Fighter | |||
|faction = #REQUIRED for faction design of template - terran/kilrathi/landreich/firekkan | |||
|name = #REQUIRED <!--please avoid stating manufacturer in this field; it's stated two lines below --> | |||
|type = #REQUIRED | |||
|manufacturer = #REQUIRED | |||
|image = <!--in the ''image:filename'' format, no image tags--> | |||
|caption = <!--image caption; if it isn't descriptive it should be left blank--> | |||
|designer = <!--only appropriate for single designers, not project leaders--> | |||
|first flight = <!--if it hasn't happened, leave it out!--> | |||
|introduction = <!--date the fighter entered or will enter military or revenue service--> | |||
|retired = <!--date the fighter left military or revenue service. If vague or multiples, it probably should be skipped--> | |||
|status = <!--in most cases, this field is redundant; use it sparingly--> | |||
|primary user = <!--please list only one user – for military fighter, the user is a nation and not a service arm--> | |||
|more users = <!--limited to three "more users" total; please separate with <br/>--> | |||
|produced = <!--years in production, e.g. 2549-2599, if still in active use but no longer built--> | |||
|number built = | |||
|unit cost = | |||
|developed from = <!-- the fighter which formed the basis for the topic type --> | |||
|variants with their own articles = <!-- variants OF the topic type --> | |||
}}</nowiki></pre> | |||
---- | |||
Examples: | |||
{| style="background:transparent; border:0; width:100%" | |||
| | |||
<pre>{{infobox Fighter | |||
|faction = kilrathi | |||
|name = Darket | |||
|type = [[Light Fighter]] | |||
|manufacturer = [[Ki'ra Clan]] | |||
}}</pre> | |||
| | |||
{{infobox Fighter | |||
|faction = kilrathi | |||
|name = Darket | |||
|type = [[Light Fighter]] | |||
|manufacturer = [[Ki'ra Clan]] | |||
}} | |||
|- | |||
| | |||
<pre>{{infobox Kilrathi Fighter | |||
|name = Darket | |||
|type = [[Light Fighter]] | |||
|manufacturer = [[Ki'ra Clan]] | |||
|image = image:darket-ccg.jpg | |||
|introduction = 2668 | |||
|primary user = Kilrathi Empire | |||
|more users = Pirates | |||
|produced = 2668-2700 | |||
|variants with their own articles = Dragonfly, Raptor, Stalker | |||
}} | |||
</pre> | |||
| | |||
{{infobox Kilrathi Fighter | |||
|name = Darket | |||
|type = [[Light Fighter]] | |||
|manufacturer = [[Ki'ra Clan]] | |||
|image = image:darket-ccg.jpg | |||
|introduction = 2668 | |||
|primary user = Kilrathi Empire | |||
|more users = Pirates | |||
|produced = 2668-2700 | |||
|variants with their own articles = Dragonfly, Raptor, Stalker | |||
}} | |||
|} | |||
</noinclude> |
Revision as of 18:45, 18 August 2007
USAGE:
{{infobox Fighter |faction = #REQUIRED for faction design of template - terran/kilrathi/landreich/firekkan |name = #REQUIRED <!--please avoid stating manufacturer in this field; it's stated two lines below --> |type = #REQUIRED |manufacturer = #REQUIRED |image = <!--in the ''image:filename'' format, no image tags--> |caption = <!--image caption; if it isn't descriptive it should be left blank--> |designer = <!--only appropriate for single designers, not project leaders--> |first flight = <!--if it hasn't happened, leave it out!--> |introduction = <!--date the fighter entered or will enter military or revenue service--> |retired = <!--date the fighter left military or revenue service. If vague or multiples, it probably should be skipped--> |status = <!--in most cases, this field is redundant; use it sparingly--> |primary user = <!--please list only one user – for military fighter, the user is a nation and not a service arm--> |more users = <!--limited to three "more users" total; please separate with <br/>--> |produced = <!--years in production, e.g. 2549-2599, if still in active use but no longer built--> |number built = |unit cost = |developed from = <!-- the fighter which formed the basis for the topic type --> |variants with their own articles = <!-- variants OF the topic type --> }}
Examples:
{{infobox Fighter |faction = kilrathi |name = Darket |type = [[Light Fighter]] |manufacturer = [[Ki'ra Clan]] }} |
| ||||||||||||||||
{{infobox Kilrathi Fighter |name = Darket |type = [[Light Fighter]] |manufacturer = [[Ki'ra Clan]] |image = image:darket-ccg.jpg |introduction = 2668 |primary user = Kilrathi Empire |more users = Pirates |produced = 2668-2700 |variants with their own articles = Dragonfly, Raptor, Stalker }} |
|