Veidne:NBA Year
Izskats
(Pāradresēts no Veidne:Nbay)
Veidnes dokumentācija[skatīt] [labot] [hronoloģija] [pārlādēt]
Named parameters
- app
- Text to be appended after the year, with a space in between.
For the parameters below, passing in any non-empty text will produce the same result, so as a matter of style, only pass in "y" (without quotes).
- nolink
- Text must not be linked.
- full
- Text must be in "yyyy—yyyy" format.
- trunc
- The 1999—2000 season is to be displayed as "1999—00" instead of "1999—2000".
- baa
- The link target should direct to a BAA season article.
Examples
{{NBA Year|1999}}
→ 1999—2000{{NBA Year|1999|app=season}}
→ 1999—2000 season{{NBA Year|1999|start}}
→ 1999{{NBA Year|1999|end}}
→ 2000{{NBA Year|1999|trunc=y}}
→ 1999—2000{{NBA Year|1999|nolink=y|trunc=y}}
→ 1999—2000
{{NBA Year|1998}}
→ 1998—1999{{NBA Year|1998|full=y}}
→ 1998—1999{{NBA Year|1998|full=y|nolink=y}}
→ 1998—1999
{{NBA Year|1946|baa=y}}
→ 1946—1947
Bad examples
- For style, only pass in "y" for the optional parameters:
{{NBA Year|1999|nolink=NO}}
→ 1999—2000 full
andtrunc
conflict:{{NBA Year|1999|full=y|trunc=y}}
→ 1999—2000start
/end
andnolink
are incompatible:{{NBA Year|1999|start|nolink=y}}
→ 1999—2000trunc
is useless for years other than 1999:{{NBA Year|1998|trunc=y}}
→ 1998—1999full
is useless for 1999:{{NBA Year|1999|full=y}}
→ 1999—2000
Dokumentācija iekļauta no Veidne:NBA Year/doc (labot | hronoloģija) Vari eksperimentēt šīs veidnes smilšu kastes (izveidot | spoguļversija) un testu (izveidot) lapā Lūdzu, kategorijas pievieno dokumentācijas apakšlapā. Veidnes apakšlapas. |