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

From Sim Football Wiki
Jump to navigation Jump to search
m (37thchamber moved page Template:NSFL Year/doc to Template:ISFL Year/doc)
Line 3: Line 3:
  
 
=== Usage ===
 
=== Usage ===
Use this template to link to pages that refer to a specific season (e.g. "NSFL Season 1" or "Season 1 NSFL 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>{{NSFL Year|1}}</nowiki> or <nowiki>{{nsfly|1}}</nowiki> to produce the same result: {{nsfly|1}}.
+
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}}.
  
 
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:
 
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:
Line 9: Line 9:
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
! Parameter !! Links to<ref>{{small|Where "(X)" is the season number passed as the first parameter, i.e. in <nowiki>{{nsfly|1|d}}</nowiki>, it is "1"}}</ref> !! Shows as
+
! 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" | NSFL season (X) || {{nsfly|1|year}}
+
| year || rowspan="2" | ISFL season (X) || {{isfly|1|year}}
 
|-
 
|-
 
| full || {{nsfly|1|full}}
 
| full || {{nsfly|1|full}}
Line 71: Line 71:
 
<references />
 
<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>{{nsfly|1|pb|the league's first pro bowl}}</nowiki> will display {{nsfly|1|pb|the league's first pro bowl}}.
+
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 ==
 
== See also ==

Revision as of 10:09, 16 July 2020

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

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
draft Season (X) NSFL Draft 2016 Draft (S1)
draft-full 2016 ISFL Draft (S1)
d 2016
draft-ny draft
d-ny draft
postseason NSFL 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 (X) Ultimus Bowl I
ultimus-ny Ultimus
ult-y 2017
ult I (2017, S1)
combine NSFL season (X) Scouting Combine 2016 ISFL scouting combine (S1)
comb 2016
combine-ny scouting combine
comb-ny scouting combine
probowl Season (X) NSFL Pro Bowl 2016 ISFL Pro Bowl (S1)
pb 2016
probowl-ny Pro Bowl
pb-ny Pro Bowl
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"

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: