Template

Difference between revisions of "Image"

From Mondothèque

 
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|}}}]]
+
{{#set:Caption={{{Caption|}}} }}
 
+
{{#arraymap:{{{Person|}}}|,|x|{{#set:Person=x}} }}
{{#arraymap:{{{Person|}}}|,|x|[[Person::x]]}}
+
{{#set:Dc:date={{{Date|}}} }}
 
+
{{#arraymap:{{{Subject|}}}|,|x|{{#set:Subject=x}} }}
[[Dc:date::{{{Date|}}}]]
+
{{#set:Source={{{Source|}}} }}
 
+
{{#arraymap:{{{Place|}}}|,|x|{{#set:Place=x}} }}
{{#arraymap:{{{Subject|}}}|,|x|[[Subject::x]]}}
 
 
 
[[Source::{{{Source|}}}]]
 
 
 
{{#arraymap:{{{Place|}}}|,|x|[[Place::x]]}}
 
 
 
 
[[Category:Image]]
 
[[Category:Image]]
 
</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.