Difference between revisions of "Template:Born and died list/sandbox"
Jump to navigation
Jump to search
imported>Coffeeandcrumbs (Syncing sandbox code with main template (sync-template-sandbox.js)) |
imported>Coffeeandcrumbs (Undid revision 973086278 by Coffeeandcrumbs (talk)) |
||
| Line 1: | Line 1: | ||
| − | {{hlist|style=margin-top: 0.5em;|{{{1}}} ({{ | + | {{hlist|style=margin-top: 0.5em;|{{{1}}} ({{SelAnnivAbbr|{{{2}}}|{{{3}}}}})|{{#if: {{{4|}}}|{{{4}}} ({{SelAnnivAbbr|{{{5}}}|{{{6}}}}})|}}|{{#if: {{{7|}}}|{{{7}}} ({{SelAnnivAbbr|{{{8}}}|{{{9}}}}})}}}}<noinclude> |
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||
Revision as of 08:21, 15 August 2020
- {{{1}}} (Template:SelAnnivAbbr)
| This is the template sandbox page for Template:Born and died list (diff). |
This template properly formats the list of births and deaths at Selected anniversaries templates for the Main Page.
Usage
This template accepts 9 unnamed parameters, three groups of a link to the article in bold, an abbreviation for event on this date, and the year of the event.
{{Born and died list| '''[[ARTICLENAME]]''' | ABBREVIATION | YEAR | '''[[ARTICLENAME]]''' | ABBREVIATION | YEAR | '''[[ARTICLENAME]]''' | ABBREVIATION | YEAR }}
| |Abbreviation|Year(s)| | Resulting output |
|---|---|
| |b|1985| | Template:SelAnnivAbbr |
| |b.or|1085; 1086| | Template:SelAnnivAbbr/sandbox |
| |d|2020| | Template:SelAnnivAbbr |
| |d.or|1085; 1086| | Template:SelAnnivAbbr/sandbox |
| |dis|2020| | Template:SelAnnivAbbr |
| |bur|2020| | Template:SelAnnivAbbr |
| |int|2020| | Template:SelAnnivAbbr |
| |bd|1985; 2020| | Template:SelAnnivAbbr |
Example
{{Born and died list | '''[[Abu Taghlib]]''' |d|979| '''[[Oliver Wendell Holmes Sr.]]''' |b|1809| '''[[Ingrid Bergman]]''' |bd|1915; 1982}}
| The above documentation is transcluded from Template:Born and died list/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |