Difference between revisions of "Template:Image"

From Wikispooks
Jump to navigation Jump to search
m
m (test)
Line 15: Line 15:
 
<nowiki>}}</nowiki>
 
<nowiki>}}</nowiki>
 
</noinclude><includeonly>
 
</noinclude><includeonly>
'''[[Has caption::{{{title|}}}]]'''
+
<big><big>This is a Main Page image</big></big><br/>
{{ArrayMapProperty|{{{authors|}}}|Has author}}{{ArrayMapProperty|{{{subjects|}}}|Is about}}{{ArrayMapProperty|{{{constitutes|}}}|constitutes}}[[Has documentType::image| ]][[constitutes::cover-image| ]][[Has publicationDate::{{{date|}}}| ]]
+
'''Title: [[Has caption::{{{title|}}}]]'''
<br/>{{{text| }}}<span style="display:none;">[[Description2::{{EncodeLinks|{{{text|}}}}}]]</span><br/><small>[[Main Page/Images|Image archive]]&nbsp;&nbsp;|&nbsp;&nbsp;[[Form:MainPageImage|Add another image]]</small></div>
+
{{ArrayMapProperty|{{{authors|}}}|Has author}}{{ArrayMapProperty|{{{subjects|}}}|Is about}}{{ArrayMapProperty|{{{constitutes|}}}|constitutes}}[[Has documentType::image| ]][[constitutes::cover-image| ]][[Has publicationDate::{{{date|}}}| ]]<br/>
 +
'''Description:''' {{{text| }}}<span style="display:none;">[[Description2::{{EncodeLinks|{{{text|}}}}}]]</span><br/><small>[[Main Page/Images|Image archive]]&nbsp;&nbsp;|&nbsp;&nbsp;[[Form:MainPageImage|Add another image]]</small></div>
 
[[Category:Main Page images]]
 
[[Category:Main Page images]]
 
</includeonly>
 
</includeonly>

Revision as of 21:05, 6 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)
}}