Template:Season infobox: Difference between revisions

From Destinypedia, the Destiny wiki

(Added infobox cells for previous and next seasons)
m (Text replacement - "dummy edit" to "Category:Infobox templates")
Tag: Manual revert
 
(62 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{| class="infobox {{{id|infoboxtable hidable-content}}}" cellspacing="0" cellpadding="4" border="0" style="float:right; clear:right; border-width: 0px; width:300px; margin:0 0 0.5em 1em; padding:2px; background:{{{BG|#F2F3F4}}}; border-radius: 0 0 .7em .7em; border: 1px solid #999999; color:{{{color|inherit}}};"
{{Infobox|start}}
|-
{{Infobox|title|name={{{name|}}}}}
! class="infoboxheading" colspan=2 style="background:{{{BG|transparent}}}; text-align:center; font-size:120%;" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}}}
|-
 
{{#if:{{{image|}}}|
{{Infobox|entry|title={{{startdate-title|Start date}}}|content={{{startdate|}}}}}
! colspan=2 style="background:{{{imageBG|transparent}}}; text-align:center; border-bottom:1px solid {{{lineBG|#999999}}};" {{!}} {{{image}}}
{{Infobox|entry|title={{{enddate-title|End date}}}|content={{{enddate|}}}}}
}}
{{Infobox|entry|title={{{modes-title|Mode(s)}}}|content={{{modes|}}}}}
|-
{{Infobox|entry|title={{{prevssn-title|Previous season}}}|content={{{prevssn|}}}}}
{{#if:{{{startdate|}}}|
{{Infobox|entry|title={{{nextssn-title|Next season}}}|content={{{nextssn|}}}}}
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{sectionBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%;" {{!}} '''Start date''':
 
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{sectionBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:80%;" {{!}}
{{Infobox|end}}<noinclude>{{clear}}
{{{startdate|}}}
{{!}}-|}}
{{#if:{{{enddate|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{sectionBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%;" {{!}} '''End date''':
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{sectionBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:80%;" {{!}}
{{{enddate|}}}
{{!}}-|}}
{{#if:{{{modes|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{sectionBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%;" {{!}} '''Mode(s)''':
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{sectionBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:80%;" {{!}}
{{{modes|}}}
{{!}}-|}}
{{#if:{{{prevssn|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{sectionBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%;" {{!}} '''Previous season''':
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{sectionBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:80%;" {{!}}
{{{prevssn|}}}
{{!}}-|}}
{{#if:{{{nextssn|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{sectionBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%;" {{!}} '''Next season''':
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{sectionBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:80%;" {{!}}
{{{nextssn|}}}
{{!}}-|}}
| colspan=2 style="text-align:center; background:{{{BG|transparent}}}; padding:0px; font-size:10px; border-radius: 0 0 .7em .7em; border-top:1px solid {{{lineBG|#999999}}}; line-height:10px;" |&nbsp;
|}<includeonly>[[Category:Seasons|{{PAGENAME}}]]</includeonly><noinclude>
{{Clear}}__NOTOC__
==Usage instructions==
==Usage instructions==
Paste the following code into the top of an article, filling all known fields:
Paste the following code into the top of an article, filling all known fields:


<pre>{{Season infobox
<pre>
|name=  
{{Season infobox
|image=  
|name=
|startdate=  
|image=
|enddate=  
|startdate=
|modes=  
|enddate=
}}</pre>
|modes=
|prevssn=
|nextssn=
}}
</pre>


[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>
[[Category:Infobox templates]]</noinclude>

Latest revision as of 09:58, June 14, 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=
}}