Difference between revisions of "Template:ISFL Year/doc"

From Sim Football Wiki
Jump to navigation Jump to search
 
(12 intermediate revisions by the same user not shown)
Line 3: Line 3:
  
 
=== Usage ===
 
=== Usage ===
Use this template to link to "NFL season" articles from a particular year. For example, <nowiki>{{NFL Year|1997}}</nowiki> will create the following link: [[1997 NFL season|1997]].
+
Use this template to link to pages that refer to a specific season (e.g. "ISFL Season 1" or "Season 1 ISFL Draft") or to display the in-context year for a specific season (e.g. Season 1 displays as 2016). It can be used as either <nowiki>{{ISFL Year|1}}</nowiki> or <nowiki>{{isfly|1}}</nowiki> to produce the same result: {{isfly|1}}. Some arguments allow a third value to be passed, to replace the link text. For example <nowiki>{{isfly|30|wfc|Reykjavik}}</nowiki> would return {{isfly|30|wfc|Reykjavik}}
  
For year ranges use the second parameter, e.g., <nowiki>{{NFL Year|1997|98}}</nowiki> will create {{NFL Year|1997|98}} <nowiki>{{NFL Year|1999|2000}}</nowiki> will create {{NFL Year|1999|2000}}.
+
Most parameters will now automatically display the season number (as shown in the table below). To remove this, add "|s=no" to the template call. For example, <nowiki>{{isfly|38|year|s=no}}</nowiki>, which will then render as {{isfly|38|year|s=no}} instead of {{isfly|38|year}}. Where this does not appear by default, you will need to add "|s=yes" to make it appear. For example, <nowiki>{{isfly|38|comb}}</nowiki> will display as {{isfly|38|comb}}, but <nowiki>{{isfly|38|comb|s=yes}}</nowiki> will display as {{isfly|38|comb|s=yes}}.
  
=== See also ===
+
The template requires at least a season number to be passed, to link to the correct season-related page. You can also optionally pass one of the following:
{{tl|NFL playoff year}} - provides similar functionality for playoff articles
+
 
 +
{| class="wikitable"
 +
|-
 +
! Parameter !! Links to<ref>{{small|Where "(X)" is the season number passed as the first parameter, i.e. in <nowiki>{{isfly|1|d}}</nowiki>, it is "1"}}</ref> !! Shows as
 +
|-
 +
| year || rowspan="2" | ISFL season (X) || {{isfly|1|year}}
 +
|-
 +
| full || {{nsfly|1|full}}<br />{{nsfly|1|full|s=yes}}
 +
|-
 +
| draft || rowspan="5" | Season (X) ISFL Draft || {{nsfly|1|draft}}
 +
|-
 +
| draft-full || {{nsfly|1|draft-full}}
 +
|-
 +
| d || {{nsfly|1|d}}
 +
|-
 +
| draft-ny || {{nsfly|1|draft-ny}}
 +
|-
 +
| d-ny || {{nsfly|1|d-ny}}
 +
|-
 +
| postseason || rowspan="5" | ISFL Season (X) playoffs || {{nsfly|1|postseason}}
 +
|-
 +
| po || {{nsfly|1|po}}
 +
|-
 +
| post || {{nsfly|1|post}}
 +
|-
 +
| post-ny || {{nsfly|1|post-ny}}
 +
|-
 +
| po-ny || {{nsfly|1|po-ny}}
 +
|-
 +
| asfc || rowspan="2" | Season (X) ASFC Championship || {{nsfly|1|asfc}}
 +
|-
 +
| asfc-y || {{nsfly|1|asfc-y}}
 +
|-
 +
| nsfc || rowspan="2" | Season (X) NSFC Championship || {{nsfly|1|nsfc}}
 +
|-
 +
| nsfc-y || {{nsfly|1|nsfc-y}}
 +
|-
 +
| ultimus || rowspan="5" | Ultimus Bowl (Y)<ref>{{small|Where "(Y)" is the season number passed as the first parameter, in roman numerals. i.e. in <nowiki>{{isfly|8|d}}</nowiki>, it is "VIII"}}</ref> || {{nsfly|1|ultimus}}
 +
|-
 +
| ultimus-ny || {{nsfly|1|ultimus-ny}}
 +
|-
 +
| ult-y || {{nsfly|1|ult-y}}
 +
|-
 +
| ult-r || {{nsfly|1|ult-r}}
 +
|-
 +
| ult || {{nsfly|1|ult}}<br />{{nsfly|1|ult|s=no}}
 +
|-
 +
| combine || rowspan="4" | ISFL season (X) Scouting Combine || {{nsfly|1|combine}}
 +
|-
 +
| comb || {{nsfly|1|comb}}
 +
|-
 +
| combine-ny || {{nsfly|1|combine-ny}}
 +
|-
 +
| comb-ny || {{nsfly|1|comb-ny}}
 +
|-
 +
| probowl || rowspan="4" | Season (X) ISFL Pro Bowl || {{nsfly|1|probowl}}
 +
|-
 +
| pb || {{nsfly|1|pb}}
 +
|-
 +
| probowl-ny || {{nsfly|1|probowl-ny}}
 +
|-
 +
| pb-ny || {{nsfly|1|pb-ny}}
 +
|-
 +
| allpro || rowspan="4" | Season (X) ISFL All-Pro selection || {{nsfly|1|allpro}}
 +
|-
 +
| ap || {{nsfly|1|ap}}
 +
|-
 +
| allpro-ny || {{nsfly|1|allpro-ny}}
 +
|-
 +
| ap-ny || {{nsfly|1|ap-ny}}
 +
|-
 +
| wfc || rowspan="3" | (x) World Football Championship || {{nsfly|30|wfc}}
 +
|-
 +
| wfc (custom) || {{nsfly|30|wfc|2045 Reykjavik}}
 +
|-
 +
| wfc-y || {{nsfly|30|wfc-y}}
 +
|-
 +
| nolink || Does not link || {{nsfly|1|nolink}}
 +
|}
 +
<references />
 +
 
 +
An optional third parameter can be passed if the other two are present, which allows you to customise the text shown as a link. For example, <nowiki>{{isfly|1|pb|the league's first pro bowl}}</nowiki> will display {{isfly|1|pb|the league's first pro bowl}}.
 +
 
 +
== See also ==
 +
Other templates that provide similar functionality are:
 +
* {{tl|DSFL Year}} (effectively the same template, but linking to DSFL related articles instead of NSFL)
 +
* [[:Category:Date Shortcuts]]
 +
* {{tl|TeamYearShort}}
 +
* {{tl|TeamYearMid}}
 +
* {{tl|TeamYear}}
  
The following templates provide similar functionality for individual franchises:
 
*{{tl|Cardinals NFL season}} - [[Arizona Cardinals|Chicago/ St. Louis/ Phoenix/ Arizona Cardinals]]
 
*{{tl|Steelers season}} - [[Pittsburgh Steelers|Pittsburgh Pirates/ Steelers]] (also [[Steagles]] & [[Card-Pitt]])
 
*{{tl|Rams season}} - [[St. Louis Rams|Cleveland/ Los Angeles/ St. Louis Rams]]
 
*{{tl|Bengals season}} - [[Cincinnati Bengals]]
 
*{{tl|Packers season}} - [[Green Bay Packers]]
 
*{{tl|Colts season}} - [[Indianapolis Colts]]
 
**{{tl|BColts season}} - [[Baltimore Colts]]
 
 
<includeonly>
 
<includeonly>
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[pt:Predefinição:NFL Year]]
 
  
[[Category:National Football League templates]]
+
[[Category:International Simulation Football League templates]]
 
</includeonly>
 
</includeonly>

Latest revision as of 07:39, 14 November 2023

Usage

Use this template to link to pages that refer to a specific season (e.g. "ISFL Season 1" or "Season 1 ISFL Draft") or to display the in-context year for a specific season (e.g. Season 1 displays as 2016). It can be used as either {{ISFL Year|1}} or {{isfly|1}} to produce the same result: 2016 (S1). Some arguments allow a third value to be passed, to replace the link text. For example {{isfly|30|wfc|Reykjavik}} would return Reykjavik (S30)

Most parameters will now automatically display the season number (as shown in the table below). To remove this, add "|s=no" to the template call. For example, {{isfly|38|year|s=no}}, which will then render as 2053 instead of 2053 (S38). Where this does not appear by default, you will need to add "|s=yes" to make it appear. For example, {{isfly|38|comb}} will display as 2053 , but {{isfly|38|comb|s=yes}} will display as 2053 (S38).

The template requires at least a season number to be passed, to link to the correct season-related page. You can also optionally pass one of the following:

Parameter Links to[1] Shows as
year ISFL season (X) 2016 (S1)
full 2016 ISFL season
2016 (S1) ISFL season
draft Season (X) ISFL Draft 2016 Draft (S1)
draft-full 2016 ISFL Draft (S1)
d 2016
draft-ny draft
d-ny draft
postseason ISFL Season (X) playoffs 2016 ISFL post-season (S1)
po 2016 ISFL playoffs (S1)
post 2016 (S1)
post-ny post-season
po-ny playoffs
asfc Season (X) ASFC Championship 2016 ASFC Championship (S1)
asfc-y 2016 (S1)
nsfc Season (X) NSFC Championship 2016 NSFC Championship (S1)
nsfc-y 2016 (S1)
ultimus Ultimus Bowl (Y)[2] Ultimus Bowl I
ultimus-ny Ultimus
ult-y 2017
ult-r I
ult I (2017, S1)
I (2017)
combine ISFL season (X) Scouting Combine 2016 ISFL scouting combine (S1)
comb 2016
combine-ny scouting combine
comb-ny scouting combine
probowl Season (X) ISFL Pro Bowl 2016 ISFL Pro Bowl (S1)
pb 2016
probowl-ny Pro Bowl
pb-ny Pro Bowl
allpro Season (X) ISFL All-Pro selection 2016 ISFL All-Pro selection (S1)
ap 2016
allpro-ny All-Pro
ap-ny All-Pro
wfc (x) World Football Championship 2045 ISFL World Football Championship (S30)
wfc (custom) 2045 Reykjavik (S30)
wfc-y 2045
nolink Does not link 2016
  1. Where "(X)" is the season number passed as the first parameter, i.e. in {{isfly|1|d}}, it is "1"
  2. Where "(Y)" is the season number passed as the first parameter, in roman numerals. i.e. in {{isfly|8|d}}, it is "VIII"

An optional third parameter can be passed if the other two are present, which allows you to customise the text shown as a link. For example, {{isfly|1|pb|the league's first pro bowl}} will display the league's first pro bowl .

See also

Other templates that provide similar functionality are: