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

From Sim Football Wiki
Jump to navigation Jump to search
(Created page with "{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> === Usage === Use this template to link to pages that refer to a specific s...")
 
Line 43: Line 43:
 
| nfc-y || {{dsfly|4|nsfc-y}}
 
| nfc-y || {{dsfly|4|nsfc-y}}
 
|-
 
|-
| ultimini || rowspan="2" | Ultimini (X) || {{dsfly|4|ultimini}}
+
| ultimini || rowspan="4" | Ultimini (Y)<ref>{{small|Where "(Y)" is the season number passed as the first parameter, minus two, in roman numerals, i.e. in <nowiki>{{dsfly|4|d}}</nowiki>, it is "II"}}</ref> || {{dsfly|4|ultimini}}
 
|-
 
|-
 
| ultimini-ny || {{dsfly|4|ultimini-ny}}
 
| ultimini-ny || {{dsfly|4|ultimini-ny}}
 +
|-
 +
| ult-y || {{dsfly|4|ult-y}}
 +
|-
 +
| ult || {{dsfly|4|ult}}
 
|-
 
|-
 
| combine || rowspan="4" | DSFL season (X) Scouting Combine || {{dsfly|4|combine}}
 
| combine || rowspan="4" | DSFL season (X) Scouting Combine || {{dsfly|4|combine}}
Line 70: Line 74:
  
 
== See also ==
 
== See also ==
Other templates that provide similar functionality are:
+
* {{tl|ISFL Year}} (effectively the same template, but linking to ISFL related articles instead of DSFL)
* {{tl|NSFL Year}} (effectively the same template, but linking to NSFL related articles instead of DSFL)
+
* [[:Category:Date Shortcuts]]
 
* {{tl|TeamYearShort}}
 
* {{tl|TeamYearShort}}
 
* {{tl|TeamYearMid}}
 
* {{tl|TeamYearMid}}
Line 79: Line 83:
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
  
[[Category:National Simulation Football League templates]]
+
[[Category:Developmental Simulation Football League templates]]
 
</includeonly>
 
</includeonly>

Revision as of 11:46, 18 January 2021

Usage

Use this template to link to pages that refer to a specific season (e.g. "DSFL Season 4" or "Season 4 DSFL Draft") or to display the in-context year for a specific season (e.g. Season 4 displays as 2019). It can be used as either {{DSFL Year|4}} or {{dsfly|4}} to produce the same result: 2019 (S4).

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 DSFL season (X) 2019 (S4)
full 2019 DSFL season
draft Season (X) DSFL Draft 2019 Draft (S4)
draft-full 2019 DSFL Draft (S4)
d 2019
draft-ny draft
d-ny draft
postseason DSFL Season (X) playoffs 2019 DSFL post-season (S4)
po 2019 DSFL playoffs (S4)
post 2019 (S4)
post-ny post-season
po-ny playoffs
sfc Season (X) SFC Championship 2019 SFC Championship (S4)
sfc-y 2019 (S4)
nfc Season (X) NFC Championship 2019 NFC Championship (S4)
nfc-y 2019 (S4)
ultimini Ultimini (Y)[2] Ultimini II
ultimini-ny Ultimini
ult-y 2020
ult II (2020)
combine DSFL season (X) Scouting Combine 2019 DSFL Workout Day (S4)
comb 2019
combine-ny workout day
comb-ny workout day
probowl Season (X) DSFL Pro Bowl 2019 DSFL Pro Bowl (S4)
pb 2019
probowl-ny Pro Bowl
pb-ny Pro Bowl
nolink Does not link 2019
  1. Where "(X)" is the season number passed as the first parameter, i.e. in {{dsfly|4|d}}, it is "4"
  2. Where "(Y)" is the season number passed as the first parameter, minus two, in roman numerals, i.e. in {{dsfly|4|d}}, it is "II"

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, {{dsfly|4|pb|the first DSFL pro bowl}} will display the first DSFL pro bowl .

See also