سانچہ:Nbay
ظاہری ہیئت
Usage
[ترمیم]Use this template to link to "NBA season" articles from a particular year. The first parameter is the starting year of the season. By default, the template displays text in the form "yyyy–yy"; except for the 1999–2000 season, which is in the form "yyyy–yyyy" to comply with .
A second parameter may be used if only one year is to be displayed (does not work if nolink is passed in).
{{nbay|...}} is the other name of this template.
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}}→ سانچہ:NBA Year{{NBA Year|1999|app=season}}→ سانچہ:NBA Year{{NBA Year|1999|start}}→ سانچہ:NBA Year{{NBA Year|1999|end}}→ سانچہ:NBA Year{{NBA Year|1999|trunc=y}}→ سانچہ:NBA Year{{NBA Year|1999|nolink=y|trunc=y}}→ سانچہ:NBA Year
{{NBA Year|1998}}→ سانچہ:NBA Year{{NBA Year|1998|full=y}}→ سانچہ:NBA Year{{NBA Year|1998|full=y|nolink=y}}→ سانچہ:NBA Year
{{NBA Year|1946|baa=y}}→ سانچہ:NBA Year
Bad examples
[ترمیم]- For style, only pass in "y" for the optional parameters:
{{NBA Year|1999|nolink=NO}}→ سانچہ:NBA Year fullandtruncconflict:{{NBA Year|1999|full=y|trunc=y}}→ سانچہ:NBA Yearstart/endandnolinkare incompatible:{{NBA Year|1999|start|nolink=y}}→ سانچہ:NBA Yeartruncis useless for years other than 1999:{{NBA Year|1998|trunc=y}}→ سانچہ:NBA Yearfullis useless for 1999:{{NBA Year|1999|full=y}}→ سانچہ:NBA Year
| اوپر دی گئی دستاویز صفحہ سانچہ:Nbay/دستاویز سے شامل کی گئی ہے۔ (ترمیم | تاریخچہ) صارفین سانچہ کے تختہ مشق (تخلیق | آئینہ) اور ثابتات (تخلیق) میں تجربات کرسکتے ہیں۔ براہ کرم /دستاویز کے ذیلی صفحہ پر زمرہ جات شامل فرمائیں۔ اس سانچہ کے ذیلی صفحات۔ |