Difference between revisions of "Template:Image"

From Wikispooks
Jump to navigation Jump to search
m (test)
m (format)
Line 15: Line 15:
 
<nowiki>}}</nowiki>
 
<nowiki>}}</nowiki>
 
</noinclude><includeonly>
 
</noinclude><includeonly>
<big><big>This is a Main Page image</big></big><br/>
 
'''Title: [[Has caption::{{{title|}}}]]'''
 
 
{{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/>
'''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>
+
-----
 +
<big><big>This is a Main Page image</big></big>
 +
{|class="wikitable"
 +
|-
 +
|'''Title:''' || [[Has caption::{{{title|}}}]]'''
 +
|-
 +
|'''Description:''' || {{{text| }}}<span style="display:none;">[[Description2::{{EncodeLinks|{{{text|}}}}}]]</span>
 +
|-
 +
| colspan="2" Style="text-align:center;" |<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 06:17, 7 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)
}}