Template:Infobox/Event: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - "<div style="clear:both">{{{caption}}}</div>" to "<div>{{{caption}}}</div>")
m (Text replacement - "text-align: *center; " to "")
Line 16: Line 16:
{{!}}-}}
{{!}}-}}
<!-- NAME -->
<!-- NAME -->
! style="background:{{{nameBG|transparent}}}; text-align:center; font-size:120%; color:#FFFFFF" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
! style="background:{{{nameBG|transparent}}}; font-size:120%; color:#FFFFFF" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
{{!}}-
{{!}}-
<!-- IMAGE -->
<!-- IMAGE -->
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
! style="background:{{{imageBG|#f0f0f0}}}; text-align:center; border-bottom:1px solid {{{lineBG|#999999}}}" colspan="2" {{!}} {{{image|}}} {{#if:{{{caption|}}}|<div>{{{caption}}}</div>}}
! style="background:{{{imageBG|#f0f0f0}}}; border-bottom:1px solid {{{lineBG|#999999}}}" colspan="2" {{!}} {{{image|}}} {{#if:{{{caption|}}}|<div>{{{caption}}}</div>}}
}}
}}
{{!}}-
{{!}}-
Line 58: Line 58:
{{{games|}}}
{{{games|}}}
{{!}}-}}
{{!}}-}}
| colspan="2" style="text-align:center; background:{{{BG|transparent}}}; padding:0; font-size:10px; line-height:10px" | &nbsp;
| colspan="2" style="background:{{{BG|transparent}}}; padding:0; font-size:10px; 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 09:50, 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=
}}