Difference between revisions of "Template:Year"

From Wikispooks
Jump to navigation Jump to search
(Description)
(Description)
Line 1: Line 1:
 
<noinclude>{{WStemplate
 
<noinclude>{{WStemplate
|description      = <500 word summary ''([[Property:Description]])''
 
 
|categories = Object Templates
 
|categories = Object Templates
 
|summary = This template provides a standard format for year pages.
 
|summary = This template provides a standard format for year pages.
 
|object = year
 
|object = year
}}It currently takes no arguments.</noinclude><includeonly><center>[[{{#expr: {{PAGENAME}}-10}}]] < [[{{#expr: {{PAGENAME}}-9}}]] < [[{{#expr: {{PAGENAME}}-8}}]] < '''[[{{#expr: {{PAGENAME}}-7}}]] < [[{{#expr: {{PAGENAME}}-6}}]] < <big>[[{{#expr: {{PAGENAME}}-5}}]] < [[{{#expr: {{PAGENAME}}-4}}]] <[[{{#expr: {{PAGENAME}}-3}}]] < [[{{#expr: {{PAGENAME}}-2}}]] < <big>[[{{#expr: {{PAGENAME}}-1}}]] < {{PAGENAME}} > [[{{#expr: {{PAGENAME}}+1}}]]</big> > [[{{#expr: {{PAGENAME}}+2}}]] > [[{{#expr: {{PAGENAME}}+3}}]] > [[{{#expr: {{PAGENAME}}+4}}]] > [[{{#expr: {{PAGENAME}}+5}}]]</big> > [[{{#expr: {{PAGENAME}}+6}}]] > [[{{#expr: {{PAGENAME}}+7}}]]''' > [[{{#expr: {{PAGENAME}}+8}}]] > [[{{#expr: {{PAGENAME}}+9}}]] > [[{{#expr: {{PAGENAME}}+10}}]]</center>{{infobox
+
}}
 +
''The parameter is optional, but recommended.''
 +
<poem>
 +
{{Year
 +
|description      = <500 word summary ''([[Property:Description]])''
 +
}}
 +
</poem</noinclude><includeonly><center>[[{{#expr: {{PAGENAME}}-10}}]] < [[{{#expr: {{PAGENAME}}-9}}]] < [[{{#expr: {{PAGENAME}}-8}}]] < '''[[{{#expr: {{PAGENAME}}-7}}]] < [[{{#expr: {{PAGENAME}}-6}}]] < <big>[[{{#expr: {{PAGENAME}}-5}}]] < [[{{#expr: {{PAGENAME}}-4}}]] <[[{{#expr: {{PAGENAME}}-3}}]] < [[{{#expr: {{PAGENAME}}-2}}]] < <big>[[{{#expr: {{PAGENAME}}-1}}]] < {{PAGENAME}} > [[{{#expr: {{PAGENAME}}+1}}]]</big> > [[{{#expr: {{PAGENAME}}+2}}]] > [[{{#expr: {{PAGENAME}}+3}}]] > [[{{#expr: {{PAGENAME}}+4}}]] > [[{{#expr: {{PAGENAME}}+5}}]]</big> > [[{{#expr: {{PAGENAME}}+6}}]] > [[{{#expr: {{PAGENAME}}+7}}]]''' > [[{{#expr: {{PAGENAME}}+8}}]] > [[{{#expr: {{PAGENAME}}+9}}]] > [[{{#expr: {{PAGENAME}}+10}}]]</center>{{infobox
 
|wikipedia=[[Has wikipediaPage::https://en.wikipedia.org/wiki/{{PAGENAME}}]]
 
|wikipedia=[[Has wikipediaPage::https://en.wikipedia.org/wiki/{{PAGENAME}}]]
 
}}[[Has wikipediaPage2::https://en.wikipedia.org/wiki/{{PAGENAME}}| ]]{{SMWObjectHeader|Year}}{{Description|{{{description|}}}}}[[Category:Years]]</includeonly>
 
}}[[Has wikipediaPage2::https://en.wikipedia.org/wiki/{{PAGENAME}}| ]]{{SMWObjectHeader|Year}}{{Description|{{{description|}}}}}[[Category:Years]]</includeonly>

Revision as of 16:46, 3 August 2015

SMWObjects
Semantic Object Templates:        DecadePlaceTimelineYearDisambiguation
ConceptDocumentEmploymentEventGroupPersonPublicationWebsite

This template provides a standard format for year pages.

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 year for a list of pages that use this template.

The parameter is optional, but recommended. <poem>

[[Expression error: Unrecognized word "year".]] < [[Expression error: Unrecognized word "year".]] < [[Expression error: Unrecognized word "year".]] < [[Expression error: Unrecognized word "year".]] < [[Expression error: Unrecognized word "year".]] < [[Expression error: Unrecognized word "year".]] < [[Expression error: Unrecognized word "year".]] <[[Expression error: Unrecognized word "year".]] < [[Expression error: Unrecognized word "year".]] < [[Expression error: Unrecognized word "year".]] < Year > [[Expression error: Unrecognized word "year".]] > [[Expression error: Unrecognized word "year".]] > [[Expression error: Unrecognized word "year".]] > [[Expression error: Unrecognized word "year".]] > [[Expression error: Unrecognized word "year".]] > [[Expression error: Unrecognized word "year".]] > [[Expression error: Unrecognized word "year".]] > [[Expression error: Unrecognized word "year".]] > [[Expression error: Unrecognized word "year".]] > [[Expression error: Unrecognized word "year".]]
<500 word summary (Property:Description)

</poem