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

m (Added decade category to parsed output)
m (Shuffling categories around)
 
(4 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
{{#invoke:String|replace|source=
 
{{#invoke:String|replace|source=
 
{{#dpl:
 
{{#dpl:
|category={{{1}}}
+
|category={{{1}}} activity
 
|include=#Events
 
|include=#Events
 
|includematch=/\s* /s
 
|includematch=/\s* /s
|format= ,\n== %PAGE% ==,,
+
|format= ,\n==[[%PAGE%]]==,,
 
|resultsheader= <h2>Events</h2>
 
|resultsheader= <h2>Events</h2>
 
|noresultsheader=&nbsp;
 
|noresultsheader=&nbsp;
Line 11: Line 11:
 
| pattern = {{=}}{{=}}|replace={{=}}{{=}}{{=}}}}
 
| pattern = {{=}}{{=}}|replace={{=}}{{=}}{{=}}}}
 
{{#invoke:String|replace|source={{#dpl:
 
{{#invoke:String|replace|source={{#dpl:
|category={{{1}}}
+
|category={{{1}}} activity
 
|include=#Births
 
|include=#Births
 
|includematch=/\s* /s
 
|includematch=/\s* /s
|format= ,\n===%PAGE%===,,
+
|format= ,\n==[[%PAGE%]]==,,
 
|resultsheader= <h2>Births</h2>
 
|resultsheader= <h2>Births</h2>
 
|noresultsheader=&nbsp;
 
|noresultsheader=&nbsp;
Line 20: Line 20:
 
| pattern = {{=}}{{=}}|replace={{=}}{{=}}{{=}}}}
 
| pattern = {{=}}{{=}}|replace={{=}}{{=}}{{=}}}}
 
{{#invoke:String|replace|source={{#dpl:
 
{{#invoke:String|replace|source={{#dpl:
|category={{{1}}}
+
|category={{{1}}} activity
 
|include=#Deaths
 
|include=#Deaths
 
|includematch=/\s* /s
 
|includematch=/\s* /s
|format= ,\n===%PAGE%===,,
+
|format= ,\n==[[%PAGE%]]==,,
 
|resultsheader= <h2>Deaths</h2>
 
|resultsheader= <h2>Deaths</h2>
 
|noresultsheader=&nbsp;
 
|noresultsheader=&nbsp;
 
}}
 
}}
 
| pattern = {{=}}{{=}}|replace={{=}}{{=}}{{=}}}}
 
| pattern = {{=}}{{=}}|replace={{=}}{{=}}{{=}}}}
[[Category:{{{1}}}]]</includeonly><noinclude>{{Documentation}}</noinclude>
+
[[Category:{{{1}}}| ]]</includeonly><noinclude>{{Documentation}}</noinclude>

Latest revision as of 21:55, 25 May 2018

Template documentation[create]