Difference between revisions of "Template:Image"

From Wikispooks
Jump to navigation Jump to search
m (t)
(extra params)
Line 11: Line 11:
 
''Optional Parameters:''<br/>
 
''Optional Parameters:''<br/>
 
|{{t|{{GREEN|authors}}}}= Comma separated list of authors. For pseudonyms, use single quotes. ''([[Property:Has author]])''<br/>
 
|{{t|{{GREEN|authors}}}}= Comma separated list of authors. For pseudonyms, use single quotes. ''([[Property:Has author]])''<br/>
 +
|{{t|{{GREEN|constitutes}}}}= suitable descriptions of this image (e.g. "Propaganda") ''([[Property:Constitutes]])''<br/>
 +
|{{BLUE|source_name}}=General name of the source, e.g. "[[Unwelcome Guests]]", "[[Cryptome]]", ... ''([[Property:Sourced from]])''
 +
|{{PURPLE|source_URL}}=URL of the source, if it is available online
 +
|source_detail=Specific details, e.g. "#675", "vol. 3, chapter 20", "pp.212-213"... (Do ''not'' use this for ISBN numbers, use '|ISBN' for that)
 
|{{t|{{GREEN|subjects}}}}= what this image is about ''([[Property:Is about]])''<br/>
 
|{{t|{{GREEN|subjects}}}}= what this image is about ''([[Property:Is about]])''<br/>
|{{t|{{GREEN|constitutes}}}}= suitable descriptions of this image (e.g. "Propaganda") ''([[Property:Constitutes]])''<br/>
 
 
<nowiki>}}</nowiki>
 
<nowiki>}}</nowiki>
 
</noinclude><includeonly>
 
</noinclude><includeonly>
Line 25: Line 28:
 
| '''Last on Main Page''' || {{{date|}}}
 
| '''Last on Main Page''' || {{{date|}}}
 
|-
 
|-
|style="Vertical-align:top;" | '''Description''' || {{{text| }}}<span style="display:none;">[[Description2::{{EncodeLinks|{{{text|}}}}}]]</span>
+
|style="Vertical-align:top;" | '''Description''' || {{{text| }}}<span style="display:none;">[[Description2::{{EncodeLinks|{{{text|}}}}}]]{{#if: {{{source_name|}}}{{{source_URL|}}}{{{source_detail|}}}|'''Source:'''&nbsp;{{DisplaySource|{{{source_URL|}}}|{{{source_name|}}}|{{{source_detail|}}}}}</span>
 
|-
 
|-
 
| '''Subjects''' || {{ArrayMapPropertyListLink|{{{subjects|}}}|Is about}}
 
| '''Subjects''' || {{ArrayMapPropertyListLink|{{{subjects|}}}|Is about}}

Revision as of 13:53, 7 November 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)
|constitutes= suitable descriptions of this image (e.g. "Propaganda") (Property:Constitutes)
|source_name=General name of the source, e.g. "Unwelcome Guests", "Cryptome", ... (Property:Sourced from) |source_URL=URL of the source, if it is available online |source_detail=Specific details, e.g. "#675", "vol. 3, chapter 20", "pp.212-213"... (Do not use this for ISBN numbers, use '|ISBN' for that) |subjects= what this image is about (Property:Is about)
}}