Difference between revisions of "Template:Events by year for decade"

From blackwiki
Jump to navigation Jump to search
imported>Pppery
(Oops, my simplifications made the code include one year too many)
imported>Pppery
(Prune code duplication)
Line 4: Line 4:
 
{{#invoke:String|replace|source=
 
{{#invoke:String|replace|source=
 
<!-- Start transclusions for individual year pages -->
 
<!-- Start transclusions for individual year pages -->
{{#ifexpr: {{{1|0}}} < 10 | <!-- Handling of AD 0/AD 100-->
 
 
{{#ifeq:{{{1|0}}}|0|<!-- There is no AD year 0 -->|
 
{{#ifeq:{{{1|0}}}|0|<!-- There is no AD year 0 -->|
== {{dr|y|y|{{{1|0}}}0|0|na}} ==
+
== {{dr|y|y|{{{1|0}}}0|0|n{{#ifexpr:{{{1|0}}} <= 10|a}}}} ==
{{transcluded-section|{{dr|y|y|{{{1|}}}0|0|na}}}} {{#section-h::{{dr|y|y|{{{1|}}}0|0|na}}|Events}}
+
{{transcluded-section|{{dr|y|y|{{{1|}}}0|0|n{{#ifexpr:{{{1|0}}} <= 10|a}}}}} {{#section-h::{{dr|y|y|{{{1|}}}0|0|n{{#ifexpr:{{{1|0}}} <= 10|a}}}|Events}}
}}
 
|{{#ifeq:{{{1|0}}}|10|<!-- Special case for AD 100 -->
 
== {{dr|y|y|{{{1|0}}}0|0|na}} ==
 
{{transcluded-section|{{dr|y|y|{{{1|}}}0|0|na}}}} {{#section-h::{{dr|y|y|{{{1|}}}0|0|na}}|Events}}
 
|
 
== {{dr|y|y|{{{1|0}}}0|0|n}} ==
 
{{transcluded-section|{{dr|y|y|{{{1|}}}0|0|n}}}} {{#section-h::{{dr|y|y|{{{1|}}}0|0|n}}|Events}}
 
}}
 
 
}}
 
}}
 
{{for nowiki|
 
{{for nowiki|

Revision as of 21:43, 23 June 2017

Template:Pp-vandalism

Events

{{#invoke:String|replace|source= {{#ifeq:0|0||

1 BC

Template:Transcluded-section

References