Difference between revisions of "Template:Decade"

From Wikispooks
Jump to navigation Jump to search
(test)
Line 17: Line 17:
 
}}
 
}}
 
</poem></noinclude><includeonly>{{Infobox
 
</poem></noinclude><includeonly>{{Infobox
| above  = <span class="fn">[[{{#expr: {{#substring: {{PAGENAME}}|0|-2}}-1}}0s]]< >[[{{#expr: {{#substring: {{PAGENAME}}|0|-2}}+1}}0s]] {{Infobox class icon}}&nbsp;{{{name|{{PAGENAME}}}}}</span>{{#if: {{{glossary|}}}|&nbsp;[[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
+
| above  = <span class="fn"><small>[[{{#expr: {{#substring: {{PAGENAME}}|0|-2}}-1}}0s]]«</small>&nbsp;&nbsp;{{Infobox class icon}}&nbsp;{{PAGENAME}}&nbsp;&nbsp;<small>»[[{{#expr: {{#substring: {{PAGENAME}}|0|-2}}+1}}0s]]</small></span>{{#if: {{{glossary|}}}|&nbsp;[[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|}}}

Revision as of 18:39, 16 September 2016

SMWObjects
Semantic Object Templates:        DecadePlaceTimelineYearDisambiguation
ConceptDocumentEmploymentEventGroupPersonPublicationWebsite

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 parameters were 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 "250px"
|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)
}}