Template:Infobox/Event: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - "{{#if:{{{caption|}}}|{{clear}}{{{caption}}}}} }} {{!}}- " to "{{#if:{{{caption|}}}|{{clear}}{{{caption}}}}} }} |- ")
m (Text replacement - "dummy edit" to "Category:Infobox templates")
Tag: Manual revert
 
(10 intermediate revisions by 2 users not shown)
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>{{Infobox|start}}
{{!}}-
{{Infobox|entry|title={{{prev-title|Previous}}}|content={{{prev|}}}}}
<!-- PREVIOUS SEASON -->
{{Infobox|entry|title={{{next-title|Next}}}|content={{{next|}}}}}
{{#if:{{{prev|}}}|
 
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
{{Infobox|title|name={{{name|}}}}}
{{{prev-title|Previous}}}:
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
 
{{{prev}}}
{{Infobox|entry|title={{{start-title|Start date}}}|content={{{start|}}}}}
{{!}}-}}
{{Infobox|entry|title={{{end-title|End date}}}|content={{{end|}}}}}
<!-- NEXT SEASON -->
{{Infobox|entry|title={{{numtiers-title|Number of tiers}}}|content={{{numtiers|}}}}}
{{#if:{{{next|}}}|
{{Infobox|entry|title={{{totalcost-title|Total unlock cost}}}|content={{{totalcost|}}}}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
{{Infobox|entry|title={{{games-title|Includes content for}}}|content={{{games|}}}}}
{{{next-title|Next}}}:
 
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{Infobox|end}}{{Infobox/pagetitle|name={{{pagename|{{{name|}}}}}}|label={{{pagelabel|{{{gamelabel|Halo Infinite}}} event}}}}}</includeonly><noinclude>{{Doc/Template}} [[Category:Infobox templates]]</noinclude>
{{{next}}}
{{!}}-}}
<!-- NAME -->
! class="infoboxheading" colspan="2" style="background:{{{nameBG|transparent}}}; color:#fff" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
{{!}}-
<!-- IMAGE -->
{{#if:{{{image|}}}|
{{!}} class="infoboxmedia" colspan="2" style="background:{{{imageBG|#f0f0f0}}}; border-bottom:1px solid {{{lineBG|#999}}}" {{!}} {{{image}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}}
}}
|-
<!-- START DATE -->
{{#if:{{{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 -->
{{#if:{{{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 -->
{{#if:{{{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 -->
{{#if:{{{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 -->
{{#if:{{{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}}}
{{!}}-}}
| class="infoboxfooter" colspan="2" | &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>

Latest revision as of 10:10, June 14, 2024

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