Difference between revisions of "Template:Image"

From Wikispooks
Jump to navigation Jump to search
m (column width)
(Add SMWDocs and tidy)
Line 1: Line 1:
 
<noinclude>{{template
 
<noinclude>{{template
|summary=This template is for individual image file pages that are or have been used on the Main Page picture panel
+
|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 15: Line 15:
 
<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/>
+
{{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>
<big><big>Main Page meta-data</big></big>
 
 
-----
 
-----
 
{|class="wikitable" width="60%"
 
{|class="wikitable" width="60%"
Line 29: Line 28:
 
|-
 
|-
 
| colspan="2" Style="text-align:center;" |<small>[[Main Page/Images|Image archive]]&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;[[Form:MainPageImage|Add another image]]</small></div>
 
| colspan="2" Style="text-align:center;" |<small>[[Main Page/Images|Image archive]]&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;[[Form:MainPageImage|Add another image]]</small></div>
|}
+
|}[[Category:Main Page images]]</includeonly>
 
 
[[Category:Main Page images]]
 
</includeonly>
 

Revision as of 13:46, 12 September 2014

Template:Template 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)
|subjects= what this image is about (Property:Is about)
|constitutes= suitable descriptions of this image (e.g. "Propaganda") (Property:Constitutes)
}}