Difference between revisions of "Template:Births and deaths ToC/work"

From blackwiki
Jump to navigation Jump to search
imported>Arthur Rubin
(again)
imported>Arthur Rubin
(adjust spacing; have section n only passed if non-null, so we can use shorthands in the subfunction)
Line 1: Line 1:
 
{{ {{PAGENAME}}/main|
 
{{ {{PAGENAME}}/main|
|section= {{#if:{{{section|}}}|{{{section}}}|{{#switch:{{{1|}}}|births=2|deaths=3|1}}}}
+
|section= {{#if:{{{section|}}}|{{{section}}}|{{#switch:{{{1|}}}|births=2|deaths=3|}}}}
 
|title={{#if:{{{title|}}}|{{{title}}}|{{#switch:{{{1|}}}|births=Births|deaths=Deaths|Content}}}}
 
|title={{#if:{{{title|}}}|{{{title}}}|{{#switch:{{{1|}}}|births=Births|deaths=Deaths|Content}}}}
|section1={{{section1|}}}
 
|section2={{{section2|}}}
 
|section3={{{section3|}}}
 
|section4={{{section4|}}}
 
|section5={{{section5|}}}
 
|section6={{{section6|}}}
 
|section7={{{section7|}}}
 
|section8={{{section8|}}}
 
|section9={{{section9|}}}
 
|section10={{{section10|}}}
 
|section11={{{section11|}}}
 
|section12={{{section12|}}}
 
|sectionu={{{sectionu|}}}
 
 
|unknown={{#ifeq:{{Yesno|{{{unknown|no}}}}}|Date unknown}}
 
|unknown={{#ifeq:{{Yesno|{{{unknown|no}}}}}|Date unknown}}
 
|{{#if:{{{{2|}}}|{{{{2}}}}|January}}
 
|{{#if:{{{{2|}}}|{{{{2}}}}|January}}
Line 27: Line 14:
 
|{{#if:{{{{2|}}}|{{#if:{{{{11|}}}|{{{11}}}|}}|{{#ifexpr:{{{months|12}}} < 10||October}}}}
 
|{{#if:{{{{2|}}}|{{#if:{{{{11|}}}|{{{11}}}|}}|{{#ifexpr:{{{months|12}}} < 10||October}}}}
 
|{{#if:{{{{2|}}}|{{#if:{{{{12|}}}|{{{12}}}|}}|{{#ifexpr:{{{months|12}}} < 11||November}}}}
 
|{{#if:{{{{2|}}}|{{#if:{{{{12|}}}|{{{12}}}|}}|{{#ifexpr:{{{months|12}}} < 11||November}}}}
|{{#if:{{{{2|}}}|{{#if:{{{{13|}}}|{{{13}}}|}}|{{#ifexpr:{{{months|12}}} < 12||December}}}} }}{{clear}}<noinclude>{{documentation}}</noinclude>
+
|{{#if:{{{{2|}}}|{{#if:{{{{13|}}}|{{{13}}}|}}|{{#ifexpr:{{{months|12}}} < 12||December}}}}
 +
|{{#if:{{{section1|}}}|section1={{{section1}}} | }}
 +
|{{#if:{{{section2|}}}|section2={{{section2}}} | }}
 +
|{{#if:{{{section3|}}}|section3={{{section3}}} | }}}}
 +
|{{#if:{{{section4|}}}|section4={{{section4}}} | }}
 +
|{{#if:{{{section5|}}}|section5={{{section5}}} | }}
 +
|{{#if:{{{section6|}}}|section6={{{section6}}} | }}
 +
|{{#if:{{{section7|}}}|section7={{{section7}}} | }}
 +
|{{#if:{{{section8|}}}|section8={{{section8}}} | }}
 +
|{{#if:{{{section9|}}}|section1={{{section9}}} | }}
 +
|{{#if:{{{section10|}}}|section10={{{section10}}} | }}
 +
|{{#if:{{{section11|}}}|section11={{{section11}}} | }}
 +
|{{#if:{{{section12|}}}|section12={{{section12}}} | }}
 +
|{{#if:{{{sectionu|}}}|sectionu={{{sectionu}}} | }}
 +
}}{{clear}}<noinclude>{{documentation}}</noinclude>

Revision as of 02:22, 26 July 2014

Template:Births and deaths ToC/work/main | | | | | | | | | |

}}

Template documentation[create]