Template:Season infobox: Difference between revisions

From Destinypedia, the Destiny wiki

m (Text replacement - "! class="infoboxheading" colspan="2" style="background:([^\n;"]+)" (\||{{!}}) {{#if:{{{name\|}}}\|{{{name}}}\|{{PAGENAME}}}}↵\|-" to "{{Infobox|title|name={{{name|}}}}}")
m (Text replacement - "{{#if:({{{[^\|}\n]+\|}}})\|↵{{!}} ?class="infoboxlabel" style="background:([^\n;"]+); border-color:([^\n;"]+)" {{!}}↵([^\n]+):↵{{!}} ?class="infoboxcell" style="[^\n"]+" {{!}}↵{{{[^\|}\n]+\|?}}}↵}}↵\|-" to "{{Infobox|entry|title=$4|content=$1}}")
Line 2: Line 2:
{{Infobox|title|name={{{name|}}}}}
{{Infobox|title|name={{{name|}}}}}
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}}}
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}}}
{{#if:{{{startdate|}}}|
{{Infobox|entry|title=Start date|content={{{startdate|}}}}}
{{!}} class="infoboxlabel" style="background:{{{sectionBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{Infobox|entry|title=End date|content={{{enddate|}}}}}
Start date:
{{Infobox|entry|title=Mode(s)|content={{{modes|}}}}}
{{!}} class="infoboxcell" style="background:{{{sectionBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{Infobox|entry|title=Previous season|content={{{prevssn|}}}}}
{{{startdate}}}
{{Infobox|entry|title=Next season|content={{{nextssn|}}}}}
}}
|-
{{#if:{{{enddate|}}}|
{{!}} class="infoboxlabel" style="background:{{{sectionBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
End date:
{{!}} class="infoboxcell" style="background:{{{sectionBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{enddate}}}
}}
|-
{{#if:{{{modes|}}}|
{{!}} class="infoboxlabel" style="background:{{{sectionBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
Mode(s):
{{!}} class="infoboxcell" style="background:{{{sectionBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{modes}}}
}}
|-
{{#if:{{{prevssn|}}}|
{{!}} class="infoboxlabel" style="background:{{{sectionBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
Previous season:
{{!}} class="infoboxcell" style="background:{{{sectionBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{prevssn}}}
}}
|-
{{#if:{{{nextssn|}}}|
{{!}} class="infoboxlabel" style="background:{{{sectionBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
Next season:
{{!}} class="infoboxcell" style="background:{{{sectionBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{nextssn}}}
}}
|-
| class="infoboxfooter" colspan="2" |  
| class="infoboxfooter" colspan="2" |  
|}<noinclude>
|}<noinclude>

Revision as of 09:34, June 1, 2024

Season infobox
 

Usage instructions

Paste the following code into the top of an article, filling all known fields:

{{Season infobox
|name= 
|image= 
|startdate= 
|enddate= 
|modes= 
|prevssn=
|nextssn=
}}