Difference between revisions of "Template:Year"
(Don't set image for missing images) |
(Fix |image, which was showing but not setting in the RDF) |
||
Line 35: | Line 35: | ||
| data123 = {{SubpageList}} | | data123 = {{SubpageList}} | ||
|below ={{{description|}}} | |below ={{{description|}}} | ||
− | }}{{#if: {{{image|}}}[[Has image::File:{{{image|}}}| ]] | + | }}{{#if: {{{image|}}}|[[Has image::File:{{{image|}}}| ]][[Has image2::Image:{{{image|}}}| ]]}}[[Has wikipediaPage2::https://en.wikipedia.org/wiki/{{PAGENAME}}| ]]{{SMWObjectHeader|Year}}[[Category:Years]]</includeonly> |
Latest revision as of 14:05, 18 December 2019
Concept • Document • Employment • Event • Group • Person • Publication • Website |
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 parameterswere 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.
Parameters are optional, but recommended, especially description and image.
{{Year
|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 "300px"
|image_caption = Caption for the image
|constitutes = What the year constitutes (Property:Constitutes)
|wikipedia_protection = Set to 1 if the wikipedia page is edit protected, 0 or empty otherwise (Property:Has wikipediaProtection)
}}