Template:DSFL Year/doc

From Sim Football Wiki
< Template:DSFL Year
Revision as of 05:05, 13 November 2022 by 37thchamber (talk | contribs) (add season toggle note)
Jump to navigation Jump to search

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).

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, {{dsfly|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, {{dsfly|38|comb}} will display as 2053 , but {{dsfly|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 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-r II
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