Difference between revisions of "Template:Decades and years/yearlink/doc"
Jump to navigation
Jump to search
imported>ShakespeareFan00 m |
imported>Wbm1058 (→Examples: + 911) |
||
| Line 22: | Line 22: | ||
*<nowiki>{{Decades and years/yearlink||1|BC}}</nowiki> {{Decades and years/yearlink||1|BC}} | *<nowiki>{{Decades and years/yearlink||1|BC}}</nowiki> {{Decades and years/yearlink||1|BC}} | ||
*<nowiki>{{Decades and years/yearlink||1|AD}}</nowiki> {{Decades and years/yearlink||1|AD}} | *<nowiki>{{Decades and years/yearlink||1|AD}}</nowiki> {{Decades and years/yearlink||1|AD}} | ||
| + | === 911 === | ||
| + | *<nowiki>{{Decades and years/yearlink||911}}</nowiki> {{Decades and years/yearlink||911}} | ||
=== Year 2000 === | === Year 2000 === | ||
*<nowiki>{{Decades and years/yearlink||2000}}</nowiki> {{Decades and years/yearlink||2000}} | *<nowiki>{{Decades and years/yearlink||2000}}</nowiki> {{Decades and years/yearlink||2000}} | ||
Latest revision as of 11:29, 11 July 2019
| This is a documentation subpage for Template:Decades and years/yearlink. It contains usage information, categories and other content that is not part of the original template page. |
Usage
Intended for use with years, decades, etc.; this subtemplate links to either of the following pages.
- [[{{{2}}} {{{3}}} {{{4}}}|{{{2}}} {{{3}}}]]
- [[{{{2}}} {{{4}}}|{{{2}}}]] iff {{{3}}} = AD
Years 1 to 100 are displayed with an "AD" prefix, per RfC decision on Talk:AD 1
{{{3}}} (AD or BC) is displayed in small type.
{{{4}}} is a disambiguation string to append to the linked date: " (decade)", or blank
Namespace parameter {{{1}}} is deprecated and ignored.
Subtemplate
Examples
Year 1
- {{Decades and years/yearlink||1}} AD 1
- {{Decades and years/yearlink||1|BC}} 1 BC
- {{Decades and years/yearlink||1|AD}} AD 1
911
- {{Decades and years/yearlink||911}} 911
Year 2000
Decades
- {{Decades and years/yearlink||0s|}} 0s
- {{Decades and years/yearlink||0s|BC}} 0s BC
- {{Decades and years/yearlink||10s|}} 10s
- {{Decades and years/yearlink||10s|BC}} 10s BC
- {{Decades and years/yearlink||100s|}} 100s (ambiguous)
- {{Decades and years/yearlink||100s|AD| (decade)}} 100s (decade AD)
- {{Decades and years/yearlink||100s|BC| (decade)}} 100s BC (decade BC)