Modèle:Collection : Différence entre versions

De atlasmuseum
Aller à : navigation, rechercher
 
(36 révisions intermédiaires par 4 utilisateurs non affichées)
Ligne 6 : Ligne 6 :
 
|visuel=
 
|visuel=
 
|institution=
 
|institution=
|Contient la Notice=
+
|notices=
 +
|texte=
 
}}
 
}}
 
</pre>
 
</pre>
 
Modifier la page pour voir le texte du modèle.
 
Modifier la page pour voir le texte du modèle.
 
</noinclude><includeonly>
 
</noinclude><includeonly>
{{{description|}}}
+
<CollectionPage2 />
 
+
<div style="display:none">
{{{institution|}}}
+
{{#arraymap:{{{notices|}}}|;|x|[[Contient la notice::x| ]]|}}
 
+
[[Visuel::{{{visuel|}}}| ]]
<div class="mapCtnr dalm">
+
<!--[[Catégorie:Collections]]-->
{{
+
#compound_query:
+
[[-Contient la Notice::{{PAGENAME}}]] [[Site coordonnees::+]] [[A pour nature::pérenne]]; ?Site coordonnees;icon=MarkerGreen.png;limit=800|
+
[[-Contient la Notice::{{PAGENAME}}]] [[Site coordonnees::+]] [[A pour nature::éphémere]]; ?Site coordonnees;icon=MarkerBlue.png;limit=800|
+
| format=googlemaps
+
| width=846
+
| height=520
+
| forceshow=on
+
| types=normal,satellite,hybrid,physical,earth
+
| markercluster=on
+
| limit=800
+
}}
+
<div class="mapLgd"><span>[[File:MarkerGreen.png]] ŒUVRE PÉRENNE </span><span> [[File:MarkerBlue.png]] ŒUVRE ÉPHÉMÈRE</span></div>
+
</div>
+
 
+
{{#arraymap:{{{Contient la Notice|}}}|;|x|[[Contient la Notice::x| ]]|; }}
+
 
+
<div class="homeCtnr dalm">
+
<div class="atmslideshowCtnr">
+
<div class="atmslideshowHead"><h3>Contributions les plus récentes</h3></div><ul>
+
{{#ask:
+
[[-Contient la Notice::{{PAGENAME}}]]
+
| ?# = Titre
+
| ?A pour Image Principale = img:
+
| ?A pour Auteur = Auteur
+
| ?Modification date = Modifiée le
+
| sort=Modification date
+
| link=none
+
| format=template
+
| template=NoticeImageDisplay
+
| sort=A_pour_date_d'inauguration
+
| order=desc
+
| limit=4
+
| searchlabel=
+
}}
+
</ul></div>
+
 
+
<h3>Les oeuvres de la collection</h3>
+
{{#ask:[[-Contient la Notice::{{PAGENAME}}]]
+
|?A pour Auteur=Artiste
+
|?A pour Titre=Titre de l'œuvre
+
|?A pour date d'inauguration=Date
+
|format=broadtable
+
|link=all
+
|headers=show
+
|searchlabel=… autres résultats
+
|class=sortable wikitable smwtable
+
| mainlabel=-
+
}}
+
 
+
[[A pour Visuel::{{{visuel|}}}| ]]
+
[[Catégorie:Collections]]
+
[[Page has default form::Collection| ]]
+
__NOTOC__
+
 
</div></includeonly>
 
</div></includeonly>

Version actuelle en date du 16 janvier 2020 à 16:08

Ceci est le modèle « Collection ». Il devrait être appelé selon le format suivant :

{{Collection
|description=
|visuel=
|institution=
|notices=
|texte=
}}

Modifier la page pour voir le texte du modèle.