Difference between revisions of "Template:Image"

From Wikispooks
Jump to navigation Jump to search
(create page)
 
m
Line 15: Line 15:
 
<nowiki>}}</nowiki>
 
<nowiki>}}</nowiki>
 
</noinclude><includeonly>
 
</noinclude><includeonly>
<div style="border-bottom:1px solid #9a9a9a; background-color:#d0e5f5; padding:0.5em 0.5em; font-size:112%;text-align:center;">'''[[Has caption::{{{title|}}}]]'''</div>
+
'''[[Has caption::{{{title|}}}]]'''
<div style="padding:0.5em;font-size:90%;text-align:center;">{{ArrayMapProperty|{{{authors|}}}|Has author}}{{ArrayMapProperty|{{{subjects|}}}|Is about}}{{ArrayMapProperty|{{{constitutes|}}}|constitutes}}[[Has documentType::image| ]][[constitutes::cover-image| ]][[Has publicationDate::{{{date|}}}| ]]
+
{{ArrayMapProperty|{{{authors|}}}|Has author}}{{ArrayMapProperty|{{{subjects|}}}|Is about}}{{ArrayMapProperty|{{{constitutes|}}}|constitutes}}[[Has documentType::image| ]][[constitutes::cover-image| ]][[Has publicationDate::{{{date|}}}| ]]
 
<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>
 
<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>
 
[[Category:Main Page images]]
 
[[Category:Main Page images]]
 
</includeonly>
 
</includeonly>

Revision as of 20:37, 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)
}}