Template:Infobox/Event: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - "\| class="infoboxfooter" colspan="2" \|  ↵\|}" to "{{Infobox|end}}")
m (Text replacement - "{{#if:({{{[^\|}\n]+\|}}})\|↵{{!}} ?class="infoboxlabel" style="[^\n"]+" {{!}}↵([^\n]+):↵{{!}} ?class="infoboxcell" style="[^\n"]+" {{!}}↵{{{[^\|}\n]+\|?}}}↵}}↵\|-" to "{{Infobox|entry|title=$2|content=$1}}")
Line 1: Line 1:
<includeonly>{| class="infobox" style="width:300px; color:{{{color|#000}}}; background:{{{BG|#{{#switch:{{{variant|}}}|Cov=9966CC|Human=3779AE|Forerunner=B3B3B3|#default=555}}}}}" cellspacing="0"
<includeonly>{| class="infobox" style="width:300px; color:{{{color|#000}}}; background:{{{BG|#{{#switch:{{{variant|}}}|Cov=9966CC|Human=3779AE|Forerunner=B3B3B3|#default=555}}}}}" cellspacing="0"
<!-- PREVIOUS SEASON -->
<!-- PREVIOUS SEASON -->
{{#if:{{{prev|}}}|
{{Infobox|entry|title={{{prev-title|Previous}}}|content={{{prev|}}}}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
{{{prev-title|Previous}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{prev}}}
}}
|-
<!-- NEXT SEASON -->
<!-- NEXT SEASON -->
{{#if:{{{next|}}}|
{{Infobox|entry|title={{{next-title|Next}}}|content={{{next|}}}}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
{{{next-title|Next}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{next}}}
}}
|-
<!-- NAME -->
<!-- NAME -->
! class="infoboxheading" colspan="2" style="background:{{{nameBG|transparent}}}; color:#fff" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
! class="infoboxheading" colspan="2" style="background:{{{nameBG|transparent}}}; color:#fff" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
Line 25: Line 13:
|-
|-
<!-- START DATE -->
<!-- START DATE -->
{{#if:{{{start|}}}|
{{Infobox|entry|title={{{start-title|Start date}}}|content={{{start|}}}}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
{{{start-title|Start date}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{start}}}
}}
|-
<!-- END DATE -->
<!-- END DATE -->
{{#if:{{{end|}}}|
{{Infobox|entry|title={{{end-title|End date}}}|content={{{end|}}}}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
{{{end-title|End date}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{end}}}
}}
|-
<!-- NUMBER OF TIERS -->
<!-- NUMBER OF TIERS -->
{{#if:{{{numtiers|}}}|
{{Infobox|entry|title={{{numtiers-title|Number of tiers}}}|content={{{numtiers|}}}}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
{{{numtiers-title|Number of tiers}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{numtiers}}}
}}
|-
<!-- TOTAL COST -->
<!-- TOTAL COST -->
{{#if:{{{totalcost|}}}|
{{Infobox|entry|title={{{totalcost-title|Total unlock cost}}}|content={{{totalcost|}}}}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
{{{totalcost-title|Total unlock cost}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{totalcost}}}
}}
|-
<!-- GAMES INCLUDED -->
<!-- GAMES INCLUDED -->
{{#if:{{{games|}}}|
{{Infobox|entry|title={{{games-title|Includes content for}}}|content={{{games|}}}}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
{{{games-title|Includes content for}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{games}}}
}}
|-
{{Infobox|end}}{{pagetitle|{{{pagename|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}} - {{{pagelabel|{{{gamelabel|Halo Infinite {{#ifeq:{{SUBPAGENAME}}|Silver|(Silver Timeline)}}}}} Event}}}}}</includeonly><noinclude>{{Doc/Template}} [[Category:Infobox templates]]</noinclude>
{{Infobox|end}}{{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:44, August 29, 2023

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=
}}