Difference between revisions of "Template:Born and died list/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Coffeeandcrumbs
(Undid revision 973086278 by Coffeeandcrumbs (talk))
imported>Coffeeandcrumbs
 
Line 1: Line 1:
{{hlist|style=margin-top: 0.5em;|{{{1}}} ({{SelAnnivAbbr|{{{2}}}|{{{3}}}}})|{{#if: {{{4|}}}|{{{4}}} ({{SelAnnivAbbr|{{{5}}}|{{{6}}}}})|}}|{{#if: {{{7|}}}|{{{7}}} ({{SelAnnivAbbr|{{{8}}}|{{{9}}}}})}}}}<noinclude>
+
{{hlist|style=margin-top: 0.5em;|{{{1}}} ({{SelAnnivAbbr/sandbox|{{{2}}}|{{{3}}}}})|{{#if: {{{4|}}}|{{{4}}} ({{SelAnnivAbbr/sandbox|{{{5}}}|{{{6}}}}})|}}|{{#if: {{{7|}}}|{{{7}}} ({{SelAnnivAbbr/sandbox|{{{8}}}|{{{9}}}}})}}}}<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 14:59, 16 August 2020

Template documentation[view] [edit] [history] [purge]

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}}