Template:Individual ship infobox: Difference between revisions

m
Text replacement - "{{pagetitle\|{{{pagename\|{{#if:{{{name\|}}}\|{{{name}}}\|{{PAGETITLE}}}}}}} - {{{pagelabel\|([^ ]+) {{#ifeq:{{SUBPAGENAME}}\|Silver\|\(Silver Timeline\)}}}}}}}" to "{{Infobox/pagetitle|name={{{pagename|{{{name|}}}}}}|label={{{pagelabel|$1}}}}}"
m (Text replacement - "! class="infoboxheading" colspan="2" style="[^\n"]+" (\||{{!}}) {{#if:{{{name\|}}}\|{{{name}}}\|{{PAGENAME}}}}↵\|-" to "{{Infobox|title|name={{{name|}}}}}")
m (Text replacement - "{{pagetitle\|{{{pagename\|{{#if:{{{name\|}}}\|{{{name}}}\|{{PAGETITLE}}}}}}} - {{{pagelabel\|([^ ]+) {{#ifeq:{{SUBPAGENAME}}\|Silver\|\(Silver Timeline\)}}}}}}}" to "{{Infobox/pagetitle|name={{{pagename|{{{name|}}}}}}|label={{{pagelabel|$1}}}}}")
(2 intermediate revisions by 2 users not shown)
Line 2: Line 2:
{{Infobox|title|name={{{name|}}}}}
{{Infobox|title|name={{{name|}}}}}
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}|bg=#F0F8FF}}
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}|bg=#F0F8FF}}
{{#if:{{{hidea|}}}||
 
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#000}}}; background:{{{sectionBG|#BBD}}}" {{!}} {{{section1-title|Production information}}}
{{Infobox|section|title={{{section1-title|Production information}}}|bg=#BBD|color=#000|entries=
}}
|-
{{Infobox|entry|title={{{hull code-title|Hull code}}}|content={{{hull code|}}}}}
{{Infobox|entry|title={{{hull code-title|Hull code}}}|content={{{hull code|}}}}}
{{Infobox|entry|title={{{naval architect-title|Naval architects}}}|content={{{naval architect|}}}}}
{{Infobox|entry|title={{{naval architect-title|Naval architects}}}|content={{{naval architect|}}}}}
Line 11: Line 9:
{{Infobox|entry|title={{{class-title|Class}}}|content={{{class|}}}}}
{{Infobox|entry|title={{{class-title|Class}}}|content={{{class|}}}}}
{{Infobox|entry|title={{{role-title|Role}}}|content={{{role|}}}}}
{{Infobox|entry|title={{{role-title|Role}}}|content={{{role|}}}}}
{{#if:{{{hideb|}}}||
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#000}}}; background:{{{sectionBG|#BBD}}}" {{!}} {{{section2-title|Specifications}}}
}}
}}
|-
 
{{Infobox|section|title={{{section2-title|Specifications}}}|bg=#BBD|color=#000|entries=
{{Infobox|entry|title={{{length-title|Length}}}|content={{{length|}}}}}
{{Infobox|entry|title={{{length-title|Length}}}|content={{{length|}}}}}
{{Infobox|entry|title={{{width-title|Width}}}|content={{{width|}}}}}
{{Infobox|entry|title={{{width-title|Width}}}|content={{{width|}}}}}
Line 29: Line 26:
{{Infobox|entry|title={{{crew-title|Crew}}}|content={{{crew|}}}}}
{{Infobox|entry|title={{{crew-title|Crew}}}|content={{{crew|}}}}}
{{Infobox|entry|title={{{misc4-title|}}}|content={{{misc4|}}}}}
{{Infobox|entry|title={{{misc4-title|}}}|content={{{misc4|}}}}}
{{#if:{{{hidec|}}}||
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#000}}}; background:{{{sectionBG|#BBD}}}" {{!}} {{{section3-title|Service information}}}
}}
}}
|-
 
{{Infobox|section|title={{{section3-title|Service information}}}|bg=#BBD|color=#000|entries=
{{Infobox|entry|title={{{firstuse-title|Year introduced}}}|content={{{firstuse|}}}}}
{{Infobox|entry|title={{{firstuse-title|Year introduced}}}|content={{{firstuse|}}}}}
{{Infobox|entry|title={{{commission-title|Commissioned}}}|content={{{commission|}}}}}
{{Infobox|entry|title={{{commission-title|Commissioned}}}|content={{{commission|}}}}}
Line 42: Line 38:
{{Infobox|entry|title={{{captains-title|Known commanders}}}|content={{{captains|}}}}}
{{Infobox|entry|title={{{captains-title|Known commanders}}}|content={{{captains|}}}}}
{{Infobox|entry|title={{{affiliation-title|Affiliation}}}|content={{{affiliation|}}}}}
{{Infobox|entry|title={{{affiliation-title|Affiliation}}}|content={{{affiliation|}}}}}
{{Infobox|end}}<includeonly>{{pagetitle|{{{pagename|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}} - {{{pagelabel|Ship {{#ifeq:{{SUBPAGENAME}}|Silver|(Silver Timeline)}}}}}}}</includeonly><noinclude>
}}
 
{{Infobox|end}}<includeonly>{{Infobox/pagetitle|name={{{pagename|{{{name|}}}}}}|label={{{pagelabel|Ship}}}}}</includeonly><noinclude>
==Usage==
==Usage==
This is an infobox for technical and usage information on specific, individual starships (e.g. {{UNSCShip|Pillar of Autumn}}, ''[[Truth and Reconciliation]]'').
This is an infobox for technical and usage information on specific, individual starships (e.g. {{UNSCShip|Pillar of Autumn}}, ''[[Truth and Reconciliation]]'').
Line 79: Line 77:
|captains=
|captains=
|affiliation=
|affiliation=
}}</pre>
}}
</pre>


==Custom parameters==
==Custom parameters==
Line 112: Line 111:
|captains-title=
|captains-title=
|affiliation-title=
|affiliation-title=
|imageBG=
|nameBG=
|sectionBG=
|fieldBG=
|titleBG=
</pre>
==Display parameters==
The following allows you to hide the section header
*hidea (hides Production section header)
*hideb (hides Specs section header)
*hidec (hides Service section header)
<pre>
|hidea=
|hideb=
|hidec=
</pre>
</pre>


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