Template:Births and deaths by year for decade/sandbox
Contents
Births
Lua error: expandTemplate: template "Transclude births" does not exist.
Deaths
Lua error: expandTemplate: template "Transclude deaths" does not exist.
This is the template sandbox page for Template:Births and deaths by year for decade (diff). See also the companion subpage for test cases. |
Usage
Invoked with a decade as single argument, for example {{Transclude deaths|82}}
for the 820s, the template compiles the list of births and deaths from each year article of the decade, by transcluding their "Births" and "Deaths" sections. Empty or non-existent sections are not transcluded. Year numbers are prepended to the transcluded contents with bold pseudo-headers, in order to avoid overloading the transcluding page's table of contents.
Negative years use the BC suffix, years 1–100 use the AD prefix, and years above 100 use the plain year number.
Example: the 70s AD
Births
Template:Preprocess Template:Transclude births Lua error: expandTemplate: template "Transclude births" does not exist.
Deaths
Template:Preprocess Template:Transclude deaths Lua error: expandTemplate: template "Transclude deaths" does not exist.
Example: the 910s AD
Births
Template:Preprocess Template:Transclude births Lua error: expandTemplate: template "Transclude births" does not exist.
Deaths
Template:Preprocess Template:Transclude deaths Lua error: expandTemplate: template "Transclude deaths" does not exist.
Example: the 10s BC
Births
Template:Preprocess Lua error: expandTemplate: template "Transclude births" does not exist. Template:Transclude births
Deaths
Template:Preprocess Lua error: expandTemplate: template "Transclude deaths" does not exist. Template:Transclude deaths
Example: the 0s BC
Births
Template:Preprocess Lua error: expandTemplate: template "Transclude births" does not exist.
Deaths
Template:Preprocess Lua error: expandTemplate: template "Transclude deaths" does not exist.
References
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Subpages of this template. |