Template

Difference between revisions of "Image"

From Mondothèque

(Created page with "<noinclude> This is the "Image" template. It should be called in the following format: <pre> {{Image |Caption= |Person= |Date= |Subject= |Source= |Place= }} </pre> Edit the pa...")
 
 
(2 intermediate revisions by the same user not shown)
Line 14: Line 14:
 
Edit the page to see the template text.
 
Edit the page to see the template text.
 
</noinclude><includeonly>
 
</noinclude><includeonly>
'''Caption:''' [[Caption::{{{Caption|}}}]]
+
{{#set:Caption={{{Caption|}}} }}
 
+
{{#arraymap:{{{Person|}}}|,|x|{{#set:Person=x}} }}
'''Person:''' {{#arraymap:{{{Person|}}}|,|x|[[Person::x]]}}
+
{{#set:Dc:date={{{Date|}}} }}
 
+
{{#arraymap:{{{Subject|}}}|,|x|{{#set:Subject=x}} }}
'''Date:''' [[Dc:date::{{{Date|}}}]]
+
{{#set:Source={{{Source|}}} }}
 
+
{{#arraymap:{{{Place|}}}|,|x|{{#set:Place=x}} }}
'''Subject:''' {{#arraymap:{{{Subject|}}}|,|x|[[Subject::x]]}}
+
[[Category:Image]]
 
 
'''Source:''' [[Source::{{{Source|}}}]]
 
 
 
'''Place:''' {{#arraymap:{{{Place|}}}|,|x|[[Place::x]]}}
 
 
</includeonly>
 
</includeonly>

Latest revision as of 17:37, 13 August 2015

This is the "Image" template. It should be called in the following format:

{{Image
|Caption=
|Person=
|Date=
|Subject=
|Source=
|Place=
}}

Edit the page to see the template text.