Difference between revisions of "Template:Image"
(extra params) |
(Better display of source) |
||
Line 28: | 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|}}}}}]] | + | |style="Vertical-align:top;" | '''Description''' || {{{text| }}}<span style="display:none;">[[Description2::{{EncodeLinks|{{{text|}}}}}]]</span> |
|- | |- | ||
| '''Subjects''' || {{ArrayMapPropertyListLink|{{{subjects|}}}|Is about}} | | '''Subjects''' || {{ArrayMapPropertyListLink|{{{subjects|}}}|Is about}} | ||
+ | {{#if: {{{source_name|}}}{{{source_URL|}}}{{{source_detail|}}}| | ||
+ | |- | ||
+ | | '''Source:''' || {{DisplaySource|{{{source_URL|}}}|{{{source_name|}}}|{{{source_detail|}}}}} }} | ||
|- | |- | ||
| colspan="2" Style="text-align:center;" |<small>[[Main Page/Images|Image archive]] | [[Form:MainPageImage|Add another image]]</small></div> | | colspan="2" Style="text-align:center;" |<small>[[Main Page/Images|Image archive]] | [[Form:MainPageImage|Add another image]]</small></div> | ||
|}[[Category:Main Page images]][[Category:Images]]</includeonly> | |}[[Category:Main Page images]][[Category:Images]]</includeonly> |
Revision as of 13:57, 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)
}}