Difference between revisions of "Template:Image"

From Wikispooks
Jump to navigation Jump to search
m (t)
m (t)
Line 17: Line 17:
 
{{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/>
 
-----
 
-----
{|class="wikitable" width="40%"
+
{|class="wikitable" width="60%"
 
|-
 
|-
 
! colspan="2" | This is a Main Page image
 
! colspan="2" | This is a Main Page image
 
|-
 
|-
| width="15%" | '''Title:''' || [[Has caption::{{{title|}}}]]'''
+
| width="20%" | '''Title''' || '''[[Has caption::{{{title|}}}]]'''
 
|-
 
|-
|'''Description:''' || {{{text| }}}<span style="display:none;">[[Description2::{{EncodeLinks|{{{text|}}}}}]]</span>
+
| '''Last on Main Page''' || {{{date|}}}
 
|-
 
|-
| colspan="2" Style="text-align:center;" |<small>[[Main Page/Images|Image archive]]&nbsp;&nbsp;|&nbsp;&nbsp;[[Form:MainPageImage|Add another image]]</small></div>
+
|Style="Vertical-align:top;"'''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;&nbsp;&nbsp;[[Form:MainPageImage|Add another image]]</small></div>
 
|}
 
|}
  
 
[[Category:Main Page images]]
 
[[Category:Main Page images]]
 
</includeonly>
 
</includeonly>

Revision as of 06:33, 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)
}}