Difference between revisions of "Template:Image"
(create page) |
m (Text replacement - "{{template " to "{{WStemplate ") |
||
(22 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude>{{ | + | <noinclude>{{WStemplate |
− | |summary=This template is for individual | + | |summary=This template is for individual images worthy of appearing in the 'related documents' section created by [[Template:SMWDocs]]. |
|description=The optional sections will allow it to be picked up by [[Template:SMWDocs]]. | |description=The optional sections will allow it to be picked up by [[Template:SMWDocs]]. | ||
}} | }} | ||
Line 11: | Line 11: | ||
''Optional Parameters:''<br/> | ''Optional Parameters:''<br/> | ||
|{{t|{{GREEN|authors}}}}= Comma separated list of authors. For pseudonyms, use single quotes. ''([[Property:Has author]])''<br/> | |{{t|{{GREEN|authors}}}}= Comma separated list of authors. For pseudonyms, use single quotes. ''([[Property:Has author]])''<br/> | ||
+ | |{{t|{{GREEN|constitutes}}}}= suitable descriptions of this image (e.g. "Propaganda") ''([[Property:Constitutes]])''<br/> | ||
+ | |{{BLUE|source_name}}=General name of the source, e.g. "[[Unwelcome Guests]]", "[[Cryptome]]", ... ''([[Property:Sourced from]])'' | ||
+ | |{{PURPLE|source_URL}}=URL of the source, if it is available online | ||
+ | |source_detail=Specific details, e.g. "#675", "vol. 3, chapter 20", "pp.212-213"... (Do ''not'' use this for ISBN numbers, use '|ISBN' for that) | ||
|{{t|{{GREEN|subjects}}}}= what this image is about ''([[Property:Is about]])''<br/> | |{{t|{{GREEN|subjects}}}}= what this image is about ''([[Property:Is about]])''<br/> | ||
− | |||
<nowiki>}}</nowiki> | <nowiki>}}</nowiki> | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
− | + | {{ArrayMapProperty|{{{authors|}}}|Has author}}{{ArrayMapProperty|{{{subjects|}}}|Is about}}{{ArrayMapProperty|{{{constitutes|}}}|constitutes}}[[Has documentType::image| ]][[constitutes::cover-image| ]][[Has publicationDate::{{{date|}}}| ]]<br/>{{SMWDocs}}<big><big>Main Page meta-data</big></big> | |
− | + | ----- | |
− | <br/>{{{text| }}}<span style="display:none;">[[Description2::{{EncodeLinks|{{{text|}}}}}]]</span> | + | {|class="wikitable" width="60%" |
− | [[Category:Main Page images]] | + | |- |
− | </includeonly> | + | ! colspan="2" | This is a Main Page image |
+ | |- | ||
+ | | width="25%" | '''Title''' || '''[[Has caption::{{{title|}}}]]''' | ||
+ | |- | ||
+ | | '''Last on Main Page''' || {{{date|}}} | ||
+ | |- | ||
+ | |style="Vertical-align:top;" | '''Description''' || {{{text| }}}<span style="display:none;">[[Description2::{{EncodeLinks|{{{text|}}}}}]]</span> | ||
+ | |- | ||
+ | | '''Subjects''' || {{ArrayMapPropertyListLink|{{{subjects|}}}|Is about}} | ||
+ | |- | ||
+ | | '''Source:''' || {{DisplaySource|{{{source_URL|}}}|{{{source_name|}}}|{{{source_detail|}}}}} | ||
+ | |- | ||
+ | | '''Constitutes || {{{constitutes|}}} | ||
+ | |- | ||
+ | | colspan="2" Style="text-align:center;" |<small>[[Main Page/Images|Image archive]] | [[Form:MainPageImage|Add another image]]</small></div> | ||
+ | |}[[Category:Main Page images]][[Category:Images]]</includeonly> |
Latest revision as of 06:38, 26 April 2015
This template is for individual images worthy of appearing in the 'related documents' section created by Template:SMWDocs.
The optional sections will allow it to be picked up by Template:SMWDocs.
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.
Usage:
{{Image
|title= section title (Property:Has caption)
|date= section date (Property:Has publicationDate)
|text= description of image. May include links. (Property:Description2)
Optional Parameters:
|authors= Comma separated list of authors. For pseudonyms, use single quotes. (Property:Has author)
|constitutes= suitable descriptions of this image (e.g. "Propaganda") (Property:Constitutes)
|source_name=General name of the source, e.g. "Unwelcome Guests", "Cryptome", ... (Property:Sourced from)
|source_URL=URL of the source, if it is available online
|source_detail=Specific details, e.g. "#675", "vol. 3, chapter 20", "pp.212-213"... (Do not use this for ISBN numbers, use '|ISBN' for that)
|subjects= what this image is about (Property:Is about)
}}