Template:Activity by year for decade: Difference between revisions
From Guild of Archivists
m (Added decade category to parsed output) |
(Change sort order method to sort by title.) |
||
(5 intermediate revisions by one other user not shown) | |||
Line 2: | Line 2: | ||
{{#invoke:String|replace|source= | {{#invoke:String|replace|source= | ||
{{#dpl: | {{#dpl: | ||
|category={{{1}}} | |category={{{1}}} activity | ||
|ordermethod=title | |||
|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= | |noresultsheader= | ||
Line 11: | Line 12: | ||
| pattern = {{=}}{{=}}|replace={{=}}{{=}}{{=}}}} | | pattern = {{=}}{{=}}|replace={{=}}{{=}}{{=}}}} | ||
{{#invoke:String|replace|source={{#dpl: | {{#invoke:String|replace|source={{#dpl: | ||
|category={{{1}}} | |category={{{1}}} activity | ||
|ordermethod=title | |||
|include=#Births | |include=#Births | ||
|includematch=/\s* /s | |includematch=/\s* /s | ||
|format= ,\n== | |format= ,\n==[[%PAGE%]]==,, | ||
|resultsheader= <h2>Births</h2> | |resultsheader= <h2>Births</h2> | ||
|noresultsheader= | |noresultsheader= | ||
Line 20: | Line 22: | ||
| pattern = {{=}}{{=}}|replace={{=}}{{=}}{{=}}}} | | pattern = {{=}}{{=}}|replace={{=}}{{=}}{{=}}}} | ||
{{#invoke:String|replace|source={{#dpl: | {{#invoke:String|replace|source={{#dpl: | ||
|category={{{1}}} | |category={{{1}}} activity | ||
|ordermethod=title | |||
|include=#Deaths | |include=#Deaths | ||
|includematch=/\s* /s | |includematch=/\s* /s | ||
|format= ,\n== | |format= ,\n==[[%PAGE%]]==,, | ||
|resultsheader= <h2>Deaths</h2> | |resultsheader= <h2>Deaths</h2> | ||
|noresultsheader= | |noresultsheader= | ||
}} | }} | ||
| pattern = {{=}}{{=}}|replace={{=}}{{=}}{{=}}}} | | pattern = {{=}}{{=}}|replace={{=}}{{=}}{{=}}}} | ||
[[Category:{{{1}}}]]</includeonly><noinclude>{{Documentation}}</noinclude> | [[Category:{{{1}}}| ]]</includeonly><noinclude>{{Documentation}}</noinclude> |
Latest revision as of 17:29, 31 July 2024
Used for the automatic generation of content for pages representing D'ni 'decades' (i.e. periods of 25 hahrtee). Functions through the use of the DynamicPageList3 extension.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Decade | 1 | Should be the name of a page that descibes a decade and has a corresponging '<name> activity' category.
| Page name | required |
The above documentation is transcluded from Template:Activity by year for decade/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |