Difference between revisions of "Template:Fleetaction"

Template page
m (code formatting)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="infobox">
<includeonly>
{| width="315" align="right" cellpadding="3" cellspacing="0" style="border-radius:13px; margin-bottom:0; padding-left:10px;"
<infobox theme="bravo">
{{#if: {{{image|}}}|
<title source="name">
{{!}} 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}}}
    <default>{{pagename}}</default><format>'''{{{name}}}'''</format>
</title>
<image source="image"/>
<data source="theme"><label>Theme</label><format>{{{theme}}}</format></data>
<data source="start"><label>Start Date</label><format>{{{start}}}</format></data>
<data source="end"><label>End Date</label><format>{{{end}}}</format></data>
<data source="winner"><label>Winner</label><format>{{{winner}}}</format></data>
<data source="winningtf"><label>Winning Task Force</label><format>{{{winningtf}}}</format></data>
<image source="coin"/>
<header name="footer">[[Template:Fleetaction]]</header>
</infobox>
{{#if: {{{templatemode|}}}|
    <!-- do nothing -->|
    <!--else-->[[Category:Fleet_Actions]]
}}
}}
|-
</includeonly>
| colspan="2" style="text-align: center; color: #e5e5ed; font-size: larger; background: #304665; text-align: center; padding: .3rem 1.25rem;" | '''{{{name}}}'''
|-
{{#if: {{{theme|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding: 8px 10px; color: #696969; font-size: smaller; width: 40%;"}}} {{!}} Theme
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding: 8px 10px; color: #696969; font-size: smaller; width: 60%;"}}} {{!}} {{{theme}}}
}}
|-
{{#if: {{{start|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding: 8px 10px; color: #696969; font-size: smaller; width: 40%;"}}} {{!}} Start Date
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding: 8px 10px; color: #696969; font-size: smaller; width: 60%;"}}} {{!}} {{{start}}}
}}
|-
{{#if: {{{end|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding: 8px 10px; color: #696969; font-size: smaller; width: 40%;"}}} {{!}} End Date
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding: 8px 10px; color: #696969; font-size: smaller; width: 60%;"}}} {{!}} {{{end}}}
}}
|-
{{#if: {{{winner|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding: 8px 10px; color: #696969; font-size: smaller; width: 40%;"}}} {{!}} Winner
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding: 8px 10px; color: #696969; font-size: smaller; width: 60%;"}}} {{!}} {{{winner}}}
}}
|-
{{#if: {{{winningtf|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding: 8px 10px; color: #696969; font-size: smaller; width: 40%;"}}} {{!}} Winning Task Force
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding: 8px 10px; color: #696969; font-size: smaller; width: 60%;"}}} {{!}} {{{winningtf}}}
}}
|-
{{#if: {{{coin|}}}|
{{!}} colspan="2" style="text-align: center; color: #e5e5ed; background: #2a4667c9; font-size: 8pt; padding: 6px" {{!}}
{{{coin}}}
}}
|-
|- 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: #2a4667c9; text-align: center; padding: 6px 0;" | [[Template:Fleetaction]]
|}
</div>
<includeonly>[[Category:Fleet_Actions]]</includeonly>
<noinclude>
<noinclude>
<br clear=all>
<pre>
<pre>
{{Fleetaction
{{Fleetaction
Line 54: Line 29:
|winningtf=
|winningtf=
|coin=
|coin=
}}</pre>
}}
</pre>
[[Category:Infobox Templates]]
[[Category:Infobox Templates]]
{{clear}}
</noinclude>
</noinclude>

Latest revision as of 07:22, 31 July 2024


{{Fleetaction
|name=
|image=
|theme=
|start=
|end=
|winner=
|winningtf=
|coin=
}}