Difference between revisions of "Template:Decade"
(set image property correctly) |
(Fix End:: date) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 17: | Line 17: | ||
}} | }} | ||
</poem></noinclude><includeonly>{{Infobox | </poem></noinclude><includeonly>{{Infobox | ||
− | | above = <span class="fn"><small>[[{{#expr: {{# | + | | above = <span class="fn"><small>[[{{#expr: {{#sub: {{PAGENAME}}|0|-2}}-1}}0s]]«</small> {{Infobox class icon}} {{PAGENAME}} <small>»[[{{#expr: {{#sub: {{PAGENAME}}|0|-2}}+1}}0s]]</small></span>{{#if: {{{glossary|}}}| [[image:Glossary.png|link=Wikispooks:Glossary|26px]]}}{{#if: {{{wikipedia_protection|}}}|{{External icons/Xicon|https://en.wikipedia.org/wiki/{{PAGENAME}}|Has wikipediaPage|wikipedia-padlock-icon.png}}|{{External icons/Xicon|https://en.wikipedia.org/wiki/{{PAGENAME}}|Has wikipediaPage|wikipedia-icon.png}}}}{{#if: {{{constitutes|}}}|<br/>({{ArrayMapListLink|{{{constitutes|}}}}})}}{{External icons |
|facebook = {{{facebook|}}} | |facebook = {{{facebook|}}} | ||
|historycommons = {{{historycommons|}}} | |historycommons = {{{historycommons|}}} | ||
Line 32: | Line 32: | ||
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_width|}}}|sizedefault=350px|alt={{{image_alt|}}}}} | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_width|}}}|sizedefault=350px|alt={{{image_alt|}}}}} | ||
| caption = {{{image_caption|}}} | | caption = {{{image_caption|}}} | ||
− | }}[[Start::1 January {{# | + | | below = {{{description|}}} |
− | {{PageSummary|pagename={{#expr: 1+{{# | + | | label123 = Subpage{{MaybePlural|{{{SubpageList|}}}}} |
− | {{PageSummary|pagename={{#expr: 2+{{# | + | | data123 = {{SubpageList}} |
− | {{PageSummary|pagename={{#expr: 3+{{# | + | }}[[Start::1 January {{#sub: {{PAGENAME}}|0|-1}}| ]][[End::31 December {{#expr: 9+{{#sub: {{PAGENAME}}|0|-1}}}}| ]][[Has image::File:{{{image|}}}| ]][[Has image2::Image:{{{image|}}}| ]][[Has wikipediaPage2::https://en.wikipedia.org/wiki/{{PAGENAME}}| ]]{{SMWObjectHeader|Decade}}[[Category:Decades]]<center>{{PageSummary|pagename={{#expr: 0+{{#sub: {{PAGENAME}}|0|-1}}}}}} |
− | {{PageSummary|pagename={{#expr: 4+{{# | + | {{PageSummary|pagename={{#expr: 1+{{#sub: {{PAGENAME}}|0|-1}}}}}} |
− | {{PageSummary|pagename={{#expr: 5+{{# | + | {{PageSummary|pagename={{#expr: 2+{{#sub: {{PAGENAME}}|0|-1}}}}}} |
− | {{PageSummary|pagename={{#expr: 6+{{# | + | {{PageSummary|pagename={{#expr: 3+{{#sub: {{PAGENAME}}|0|-1}}}}}} |
− | {{PageSummary|pagename={{#expr: 7+{{# | + | {{PageSummary|pagename={{#expr: 4+{{#sub: {{PAGENAME}}|0|-1}}}}}} |
− | {{PageSummary|pagename={{#expr: 8+{{# | + | {{PageSummary|pagename={{#expr: 5+{{#sub: {{PAGENAME}}|0|-1}}}}}} |
− | {{PageSummary|pagename={{#expr: 9+{{# | + | {{PageSummary|pagename={{#expr: 6+{{#sub: {{PAGENAME}}|0|-1}}}}}} |
+ | {{PageSummary|pagename={{#expr: 7+{{#sub: {{PAGENAME}}|0|-1}}}}}} | ||
+ | {{PageSummary|pagename={{#expr: 8+{{#sub: {{PAGENAME}}|0|-1}}}}}} | ||
+ | {{PageSummary|pagename={{#expr: 9+{{#sub: {{PAGENAME}}|0|-1}}}}}}</center></includeonly> |
Latest revision as of 14:14, 9 May 2022
![]() |
Concept • Document • Employment • Event • Group • Person • Publication • Website |
This template provides a standard format for decade pages. It should only be used on pages of the name NNNNs (e.g. 1970s)
Blue parameters are for a single Wikispooks page name (If no suitable page exists, then pick a title for a future page)
Brown parameters are for numbers
Green parameters are for comma-separated lists of page names (Or planned page names).
Navy parameters are for dates
Orange parameters are for booleans. (Usually, either "Yes" or just leave blank).
Purple parameters are URLs.
Violet parameters are slash-separated lists.
Pink parameters are for coordinates.
Crossed out parameterswere formerly available, but have been upgraded. Some may still work, but do not use these.
See decade for a list of pages that use this template.
Parameters are optional, but recommended, especially description and image.
{{Decade
|description = <500 word summary (Property:Description)
|image= An image for the publication (Recommended, for example the cover if the publication is a book)
|image_alt = Alt text for the image
|image_width = The default value is "350px"
|image_caption = Caption for the image
|constitutes = What the decade constitutes (Property:Constitutes)
|wikipedia_protection = Set to 1 if the wikipedia page is edit protected, 0 or empty otherwise (Property:Has wikipediaProtection)
}}