Template:Infobox/Event: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - "style="[^"\n]+" \|  " to "style="text-align:center; line-height:10px" |  ")
m (Text replacement - "#999999" to "#999")
Line 3: Line 3:
<!-- PREVIOUS SEASON -->
<!-- PREVIOUS SEASON -->
{{#if:{{{prev|}}}|
{{#if:{{{prev|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}; width:100px" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
'''{{{prev-title|Previous}}}''':
'''{{{prev-title|Previous}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{prev|}}}
{{{prev|}}}
{{!}}-}}
{{!}}-}}
<!-- NEXT SEASON -->
<!-- NEXT SEASON -->
{{#if:{{{next|}}}|
{{#if:{{{next|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}; width:100px" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
'''{{{next-title|Next}}}''':
'''{{{next-title|Next}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{next|}}}
{{{next|}}}
{{!}}-}}
{{!}}-}}
Line 20: Line 20:
<!-- IMAGE -->
<!-- IMAGE -->
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
! style="background:{{{imageBG|#f0f0f0}}}; border-bottom:1px solid {{{lineBG|#999999}}}" colspan="2" {{!}} {{{image|}}} {{#if:{{{caption|}}}|<div>{{{caption}}}</div>}}
! style="background:{{{imageBG|#f0f0f0}}}; border-bottom:1px solid {{{lineBG|#999}}}" colspan="2" {{!}} {{{image|}}} {{#if:{{{caption|}}}|<div>{{{caption}}}</div>}}
}}
}}
{{!}}-
{{!}}-
<!-- START DATE -->
<!-- START DATE -->
{{#if:{{{start|}}}|
{{#if:{{{start|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}; width:100px" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
'''{{{start-title|Start date}}}''':
'''{{{start-title|Start date}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{start|}}}
{{{start|}}}
{{!}}-}}
{{!}}-}}
<!-- END DATE -->
<!-- END DATE -->
{{#if:{{{end|}}}|
{{#if:{{{end|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}; width:100px" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
'''{{{end-title|End date}}}''':
'''{{{end-title|End date}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{end|}}}
{{{end|}}}
{{!}}-}}
{{!}}-}}
<!-- NUMBER OF TIERS -->
<!-- NUMBER OF TIERS -->
{{#if:{{{numtiers|}}}|
{{#if:{{{numtiers|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}; width:100px" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
'''{{{numtiers-title|Number of tiers}}}''':
'''{{{numtiers-title|Number of tiers}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{numtiers|}}}
{{{numtiers|}}}
{{!}}-}}
{{!}}-}}
<!-- TOTAL COST -->
<!-- TOTAL COST -->
{{#if:{{{totalcost|}}}|
{{#if:{{{totalcost|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}; width:100px" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
'''{{{totalcost-title|Total unlock cost}}}''':
'''{{{totalcost-title|Total unlock cost}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{totalcost|}}}
{{{totalcost|}}}
{{!}}-}}
{{!}}-}}
<!-- GAMES INCLUDED -->
<!-- GAMES INCLUDED -->
{{#if:{{{games|}}}|
{{#if:{{{games|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}; width:100px" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
'''{{{games-title|Includes content for}}}''':
'''{{{games-title|Includes content for}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{games|}}}
{{{games|}}}
{{!}}-}}
{{!}}-}}
| colspan="2" style="text-align:center; line-height:10px" | &nbsp;
| colspan="2" style="text-align:center; line-height:10px" | &nbsp;
|}{{pagetitle|{{{pagename|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}} - {{{pagelabel|{{{gamelabel|Halo Infinite {{#ifeq:{{SUBPAGENAME}}|Silver|(Silver Timeline)}}}}} Event}}}}}</includeonly><noinclude>{{Doc/Template}} [[Category:Infobox templates]]</noinclude>
|}{{pagetitle|{{{pagename|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}} - {{{pagelabel|{{{gamelabel|Halo Infinite {{#ifeq:{{SUBPAGENAME}}|Silver|(Silver Timeline)}}}}} Event}}}}}</includeonly><noinclude>{{Doc/Template}} [[Category:Infobox templates]]</noinclude>

Revision as of 10:11, September 15, 2022

vde
Template Documentation

Usage

Copy/paste the following text and fill in the relevant fields:

{{Infobox/Event
|name=
|image=
|prev=
|next=
|start=
|end=
|numtiers=
|totalcost=
|games=
}}