Difference between revisions of "Template:Infobox NSFL event"

From Sim Football Wiki
Jump to navigation Jump to search
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Documentation subpage}}
+
{{Infobox
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
+
| title = <includeonly>{{{title|{{PAGENAMEBASE}}}}}</includeonly>
<code>{{tl|{{BASEPAGENAME}}}}</code> Adds an infobox with brief data defining a [[International Simulation Football League]] event, bowl or game series.
+
| titleclass = fn org
 +
| headerstyle  = background:#efefef;
 +
| image    = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|{{{image|}}}}}}|size={{{image size|{{{image_size|{{{imagesize|}}}}}}}}}|alt={{{alt|}}}}}
 +
| caption    = {{{caption|}}}
 +
| bodyclass  = vcard
  
== Usage ==
+
| label1    = Stadium
{{Parameter names example|_template=|title|logo|image|caption|stadium|previous_stadiums|location|previous_locations|founded|discontinued|trophy|season{{#time:Y|-17 months}}|season{{#time:Y|-5 months}}|season{{#time:Y|+7 months}}}}
+
| data1     = {{{stadium|}}}
<nowiki>{{</nowiki>Infobox NSFL event
 
| title        =
 
| logo        =
 
| caption      =
 
| stadium     =  
 
| previous_stadiums  =
 
| location          =
 
| previous_locations =
 
| founded      =
 
| discontinued =
 
| trophy      =
 
| season{{#time:Y|-17 months}}  =
 
| season{{#time:Y|-5 months}}  =
 
| season{{#time:Y|+7 months}}  =
 
}}
 
  
== Parameters ==
+
| label2    = Location
;title
+
| data2      = {{{location|}}}
:Name of the event, bowl or series
 
;logo
 
:Image logo
 
;caption
 
:Image caption
 
;stadium
 
:The current stadium where the game is regularly played
 
;previous_stadiums
 
:The name of the other stadiums which have played host to the game. If this list is relatively long, consider a [[Wikipedia:Piped link|piped]] or [[WP:ANCHOR|anchor]] link to the relevant article or section.
 
;location
 
:The location where the game is currently played
 
;previous_locations
 
:The name of the locations which have played host to the game. If this list is relatively long, consider a [[Wikipedia:Piped link|piped]] or [[WP:ANCHOR|anchor]] link to the relevant article or section.
 
;founded
 
:Year it was founded or first played
 
;discontinued
 
:Year it was discontinued or last played
 
;trophy
 
:Name of the trophy awarded
 
;seasonYYYY
 
:Link to the specific game played during a specific season
 
  
<includeonly>{{Sandbox other||
+
| label3    = Previous stadiums
<!-- Categories below this line, please; interwikis at Wikidata -->
+
| data3      = {{{previous_stadiums|}}}
[[Category:National Football League infobox templates]]
 
  
}}</includeonly>
+
| label4    = Previous locations
 +
| data4      = {{{previous_locations|}}}
 +
 
 +
| label5    = First played
 +
| data5      = {{{founded|}}}
 +
 
 +
| label6    = Last played
 +
| data6      = {{{discontinued|}}}
 +
 
 +
| label7    = Trophy
 +
| data7      = {{{trophy|}}}
 +
 
 +
| data8      = <hr/>
 +
| data9      = {{#if:{{{discontinued|}}}|<!--disable-->|[[File:AmericanFootball current event.svg{{!}}33px|link=|alt=]] '''Recent and upcoming games'''}}
 +
<!--Since the NFL season ends in February and begins in August, timestamps are offset by 5 months-->
 +
 
 +
| header10    = {{#if:{{{season34|}}}|[[ISFL season 34|2049 season]]}}
 +
| data11      = {{{season34|}}}
 +
 
 +
| header12    = {{#if:{{{season35|}}}|[[ISFL season 35|2050 season]]}}
 +
| data13      = {{{season35|}}}
 +
 
 +
| header14    = {{#if:{{{season36|}}}|[[ISFL season 36|2051 season]]}}
 +
| data15      = {{{season36|}}}
 +
 
 +
}}<noinclude>{{documentation}}<!-- Add cats and interwikis to the /doc subpage, not here! --></noinclude>

Latest revision as of 22:00, 15 July 2022


Recent and upcoming games