Difference between revisions of "Template:Fleetaction"

Template page
m (Adding in templatemode code so this can have the nocats flag applied.)
Line 1: Line 1:
<div class="infobox">
<includeonly>
{| class="ibtable" align="right" cellpadding="3" cellspacing="0"
<infobox theme="bravo">
{{#if: {{{image|}}}|
<title source="name">
    {{!}} class="ibimage" colspan="2" style="border-top-right-radius: 13px; border-top-left-radius: 13px;" width="315px" {{!}} {{{image}}}
    <default>{{pagename}}</default><format>'''{{{name}}}'''</format>
    {{!}}-
</title>
    {{!}} class="ibname" colspan="2" {{!}} '''{{{name}}}'''|
<image source="image"/>
        {{!}} class="ibname" colspan="2" style="border-top-right-radius: 13px; border-top-left-radius: 13px;" width="315px" {{!}} '''{{{name}}}'''
<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>
{{#if: {{{theme|}}}|
<noinclude>
{{!}} class="ibleft" {{!}} Theme
{{!}} class="ibright" {{!}}
{{{theme}}}
}}
|-
{{#if: {{{start|}}}|
{{!}} class="ibleft" {{!}} Start Date
{{!}} class="ibright" {{!}}
{{{start}}}
}}
|-
{{#if: {{{end|}}}|
{{!}} class="ibleft" {{!}} End Date
{{!}} class="ibright" {{!}}
{{{end}}}
}}
|-
{{#if: {{{winner|}}}|
{{!}} class="ibleft" {{!}} Winner
{{!}} class="ibright" {{!}}
{{{winner}}}
}}
|-
{{#if: {{{winningtf|}}}|
{{!}} class="ibleft" {{!}} Winning Task Force
{{!}} class="ibright" {{!}}
{{{winningtf}}}
}}
|-
{{#if: {{{coin|}}}|
{{!}} class="ibheader" colspan="2" {{!}} {{{coin}}}
}}
|-
| class="ibheader" colspan="2" style="border-bottom-right-radius: 13px; border-bottom-left-radius: 13px;" | [[Template:Fleetaction]]
|}
</div>
<includeonly>{{#if: {{{templatemode|}}}|<!-- do nothing -->|<!--else-->[[Category:Fleet_Actions]]{{DEFAULTSORT:{{{name}}}}}
}}
</includeonly><noinclude>
<br clear=all>
<pre>
<pre>
{{Fleetaction
{{Fleetaction
Line 59: Line 29:
|winningtf=
|winningtf=
|coin=
|coin=
}}</pre>
}}
</pre>
[[Category:Infobox Templates]]
[[Category:Infobox Templates]]
{{clear}}
</noinclude>
</noinclude>

Revision as of 07:22, 31 July 2024


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