Difference between pages "USS Denver" and "Template:Starship"
From Bravo Fleet
(Difference between pages)
m (Reformatting the code for the infobox table to make it easier to read and removing some useless repetition in certain style lines) |
|||
Line 1: | Line 1: | ||
<div class="infobox"> | |||
{| width="315" align="right" cellpadding="3" cellspacing="0" style="border-radius:13px; margin-bottom:0; padding-left:10px;" | |||
{{#if: {{{image|}}}| | |||
{{!}} colspan="2" bgcolor={{{bgcolor_value|#222222; style="border-top-right-radius: 13px; border-top-left-radius: 13px; background: #f3f3f3 !important; color: #cccccc; font-size: smaller; text-align: center; padding: 10px;"}}} {{!}} {{{image}}} | |||
}} | |||
|- | |||
| colspan="2" style="text-align: center; color: #e5e5ed; font-size: larger; background-color: #304665 !important; text-align: center; padding: .3rem 1.25rem;" | '''{{{prefix}}}''' '''''{{{name}}}''''' | |||
|- | |||
| colspan="2" style="text-align: center; color: #e5e5ed; background-color:#2a4667; text-align: center; font-size:8pt; padding: 6px" | '''Information''' | |||
|- | |||
{{#if: {{{registry|}}}| | |||
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding: 8px 10px; color: #696969; font-size: smaller; width: 40%;"}}} {{!}} Registry | |||
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding: 8px 10px; color: #696969; font-size: smaller; width: 60%;"}}} {{!}} {{{registry}}} | |||
}} | |||
|- | |||
{{#if: {{{class|}}}| | |||
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding: 8px 10px; color: #696969; font-size: smaller; width: 40%;"}}} {{!}} Class | |||
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding: 8px 10px; color: #696969; font-size: smaller; width: 60%;"}}} {{!}} [[{{{class}}}_Class|''{{{class}}}''-class]] | |||
}} | |||
|- | |||
{{#if: {{{affiliation|}}}| | |||
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding: 8px 10px; color: #696969; font-size: smaller; width: 40%;"}}} {{!}} Affiliation | |||
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding: 8px 10px; color: #696969; font-size: smaller; width: 60%;"}}} {{!}} {{{affiliation}}} | |||
}} | |||
|- | |||
{{#if: {{{status|}}}| | |||
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding: 8px 10px; color: #696969; font-size: smaller; width: 40%;"}}} {{!}} Status | |||
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding: 8px 10px; color: #696969; font-size: smaller; width: 60%;"}}} {{!}} {{{status}}} | |||
}} | |||
|- | |||
{{#if: {{{commission|}}}| | |||
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding: 8px 10px; color: #696969; font-size: smaller; width: 40%;"}}} {{!}} Commissioned | |||
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding: 8px 10px; color: #696969; font-size: smaller; width: 60%;"}}} {{!}} {{{commission}}} | |||
}} | |||
|- | |||
{{#if: {{{decommission|}}}| | |||
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding: 8px 10px; color: #696969; font-size: smaller; width: 40%;"}}} {{!}} Decommissioned | |||
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding: 8px 10px; color: #696969; font-size: smaller; width: 60%;"}}} {{!}} {{{decommission}}} | |||
}} | |||
|- | |||
{{#if: {{{destroyed|}}}| | |||
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding: 8px 10px; color: #696969; font-size: smaller; width: 40%;"}}} {{!}} Destroyed | |||
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding: 8px 10px; color: #696969; font-size: smaller; width: 60%;"}}} {{!}} {{{destroyed}}} | |||
}} | |||
|- | |||
{{#if: {{{role|}}}{{{taskforce|}}}{{{quadrant|}}}| | |||
{{!}} colspan="2" style="text-align: center; color: #e5e5ed; background-color: #2a4667; font-size: 8pt; padding: 6px" {{!}} '''Assignment''' | |||
}} | |||
|- | |||
{{#if: {{{role|}}}| | |||
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding: 8px 10px; color: #696969; font-size: smaller; width: 40%;"}}} {{!}} Role | |||
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding: 8px 10px; color: #696969; font-size: smaller; width: 60%;"}}} {{!}} {{{role}}} | |||
}} | |||
|- | |||
{{#if: {{{taskforce|}}}| | |||
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding: 8px 10px; color: #696969; font-size: smaller; width: 40%;"}}} {{!}} Task Force | |||
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding: 8px 10px; color: #696969; font-size: smaller; width: 60%;"}}} {{!}} {{{taskforce}}} | |||
}} | |||
|- | |||
{{#if: {{{quadrant|}}}| | |||
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding: 8px 10px; color: #696969; font-size: smaller; width: 40%;"}}} {{!}} Quadrant | |||
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding: 8px 10px; color: #696969; font-size: smaller; width: 60%;"}}} {{!}} {{{quadrant}}} | |||
}} | |||
|- | |||
{{#if: {{{co|}}} | |||
{{!}} colspan="2" style="text-align: center; color: #e5e5ed; background-color: #2a4667; font-size: 8pt; padding: 6px" {{!}} | |||
'''Personnel''' | |||
}} | |||
|- | |||
{{#if: {{{co|}}}| | |||
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding :8px 10px; color: #696969; font-size: smaller; width: 40%;"}}} {{!}} Commanding Officer | |||
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding: 8px 10px; color: #696969; font-size: smaller; width: 60%;"}}} {{!}} {{{co}}} | |||
}} | |||
|- | |||
{{#if: {{{xo|}}}| | |||
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding: 8px 10px; color: #696969; font-size: smaller; width: 40%;"}}} {{!}} Executive Officer | |||
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding: 8px 10px; color: #696969; font-size: smaller; width: 60%;"}}} {{!}} {{{xo}}} | |||
}} | |||
|- | |||
{{#if: {{{dedication|}}}| | |||
{{!}} colspan="2" style="text-align: center; color: #e5e5ed; background-color: #2a4667; font-size: 8pt; padding: 6px" {{!}}{{{dedication}}} | |||
}} | |||
|- | |||
|- class="infobox-link" style="border-radius-bottom-right: 13px; border-radius-bottom-left: 13px;" | |||
|colspan="2" style="border-bottom-right-radius: 13px; border-bottom-left-radius: 13px; text-align: center; color: #F67F00; font-size: 8pt; background-color: #2a4667; text-align: center; padding: 6px 0;" | [[Template:Starship]] | |||
|} | |||
</div> | |||
<includeonly>[[Category:Starships]][[Category:{{{class}}}-class]]{{DEFAULTSORT:{{{name}}}}}</includeonly> | |||
<noinclude> | |||
<br clear=all> | |||
<pre> | |||
{{Starship | {{Starship | ||
| name = | | name = (just put the name here) | ||
| prefix = USS | | prefix = (SS, USS, IKS etc) | ||
| image = | | image = | ||
| registry = | | registry = | ||
| class = | | class = | ||
| affiliation = | | affiliation = | ||
| status = Active | | status = (Active/Retired/NPC/Destroyed) | ||
| commission = | | commission = | ||
| decommission = | | decommission = | ||
| destroyed = | | destroyed = | ||
| taskforce = | | taskforce = (only supply a task force for commands, games are not in task forces) | ||
| quadrant = | | quadrant = | ||
| role = | | role = | ||
| co = | | co = | ||
| xo = | | xo = | ||
| dedication = | | dedication = (image of ships dedication plague to be added here) | ||
}}</pre> | |||
[[Category:Infobox Templates]] | |||
</noinclude> | |||
Revision as of 09:34, 7 June 2022
{{{prefix}}} {{{name}}} | |
Information | |
Template:Starship |
{{Starship | name = (just put the name here) | prefix = (SS, USS, IKS etc) | image = | registry = | class = | affiliation = | status = (Active/Retired/NPC/Destroyed) | commission = | decommission = | destroyed = | taskforce = (only supply a task force for commands, games are not in task forces) | quadrant = | role = | co = | xo = | dedication = (image of ships dedication plague to be added here) }}