Difference between revisions of "Template:DSFL Year/doc"
37thchamber (talk | contribs) (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...") |
37thchamber (talk | contribs) m |
||
(4 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
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 <nowiki>{{DSFL Year|4}}</nowiki> or <nowiki>{{dsfly|4}}</nowiki> to produce the same result: {{dsfly|4}}. | 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 <nowiki>{{DSFL Year|4}}</nowiki> or <nowiki>{{dsfly|4}}</nowiki> to produce the same result: {{dsfly|4}}. | ||
− | 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: | + | 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>{{dsfly|38|year|s=no}}</nowiki>, which will then render as {{dsfly|38|year|s=no}} instead of {{dsfly|38|year}}. Where this does not appear by default, you will need to add "|s=yes" to make it appear. For example, <nowiki>{{dsfly|38|comb}}</nowiki> will display as {{dsfly|38|comb}}, but <nowiki>{{dsfly|38|comb|s=yes}}</nowiki> will display as {{dsfly|38|comb|s=yes}}. |
+ | |||
+ | 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: | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 13: | Line 15: | ||
| year || rowspan="2" | DSFL season (X) || {{dsfly|4|year}} | | year || rowspan="2" | DSFL season (X) || {{dsfly|4|year}} | ||
|- | |- | ||
− | | full || {{dsfly|4|full}} | + | | full || {{dsfly|4|full}}<br />{{dsfly|4|full|s=yes}} |
|- | |- | ||
| draft || rowspan="5" | Season (X) DSFL Draft || {{dsfly|4|draft}} | | draft || rowspan="5" | Season (X) DSFL Draft || {{dsfly|4|draft}} | ||
Line 43: | Line 45: | ||
| nfc-y || {{dsfly|4|nsfc-y}} | | nfc-y || {{dsfly|4|nsfc-y}} | ||
|- | |- | ||
− | | ultimini || rowspan=" | + | | ultimini || rowspan="5" | 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-r || {{dsfly|4|ult-r}} | ||
+ | |- | ||
+ | | 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 62: | Line 70: | ||
|- | |- | ||
| pb-ny || {{dsfly|4|pb-ny}} | | pb-ny || {{dsfly|4|pb-ny}} | ||
+ | |- | ||
+ | | allpro || rowspan="4" | Season (X) DSFL All-Pro selection || {{dsfly|1|allpro}} | ||
+ | |- | ||
+ | | ap || {{dsfly|1|ap}} | ||
+ | |- | ||
+ | | allpro-ny || {{dsfly|1|allpro-ny}} | ||
+ | |- | ||
+ | | ap-ny || {{dsfly|1|ap-ny}} | ||
|- | |- | ||
| nolink || Does not link || {{dsfly|4|nolink}} | | nolink || Does not link || {{dsfly|4|nolink}} | ||
Line 70: | Line 86: | ||
== See also == | == See also == | ||
− | + | * {{tl|ISFL Year}} (effectively the same template, but linking to ISFL related articles instead of DSFL) | |
− | * {{tl| | + | * [[:Category:Date Shortcuts]] |
* {{tl|TeamYearShort}} | * {{tl|TeamYearShort}} | ||
* {{tl|TeamYearMid}} | * {{tl|TeamYearMid}} | ||
Line 79: | Line 95: | ||
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | <!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | ||
− | [[Category: | + | [[Category:Developmental Simulation Football League templates]] |
</includeonly> | </includeonly> |
Latest revision as of 11:20, 9 February 2023
This is a documentation subpage for Template:DSFL Year. It may contain usage information, categories and other content that is not part of the original template page. |
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 2019 (S4) 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 | |
allpro | Season (X) DSFL All-Pro selection | 2016 DSFL All-Pro selection (S1) |
ap | 2016 | |
allpro-ny | All-Pro | |
ap-ny | All-Pro | |
nolink | Does not link | 2019 |
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
- {{ISFL Year}} (effectively the same template, but linking to ISFL related articles instead of DSFL)
- Category:Date Shortcuts
- {{TeamYearShort}}
- {{TeamYearMid}}
- {{TeamYear}}