Modèle:Collection : Différence entre versions

De atlasmuseum
Aller à : navigation, rechercher
 
(16 révisions intermédiaires par 3 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| ]]|}}
 
+
<inputbox>
+
type=search
+
bgcolor=#eeeeff
+
</inputbox>
+
 
+
<div class="mapCtnr dalm">
+
{{
+
#compound_query:
+
[[-Contient la notice::{{PAGENAME}}]] [[Coordonnées::+]] [[Nature::pérenne]]; ?Coordonnées;?Image principale;?Auteur;?Date d'inauguration;?Nature;?Type d'art;icon=MarkerGreen.png;limit=800|
+
[[-Contient la notice::{{PAGENAME}}]] [[Coordonnées::+]] [[Nature::éphémère]]; ?Coordonnées;?Image principale;?Auteur;?Date d'inauguration;?Nature;?Type d'art;icon=MarkerBlue.png;limit=800|
+
| format=map
+
| width=846
+
| height=520
+
| forceshow=on
+
| types=normal,satellite,hybrid,physical,earth
+
| markercluster=on
+
| limit=800
+
| template=CartoucheMap
+
}}
+
<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
+
| ?Image principale = img:
+
| ?Auteur = Auteur
+
| ?Modification date = Modifiée le
+
| sort=Modification date
+
| link=none
+
| format=template
+
| template=NoticeImageDisplay
+
| sort=date_d'inauguration
+
| order=desc
+
| limit=4
+
| searchlabel=
+
}}
+
</ul></div>
+
 
+
<h3>Les œuvres de la collection</h3>
+
{{#ask:[[-Contient la notice::{{PAGENAME}}]]
+
|?Auteur=Artiste
+
|?Titre=Titre de l'œuvre
+
|?Date d'inauguration=Date
+
|format=broadtable
+
|link=all
+
|headers=show
+
|searchlabel=… autres résultats
+
|class=sortable wikitable smwtable
+
| mainlabel=-
+
}}
+
 
+
 
[[Visuel::{{{visuel|}}}| ]]
 
[[Visuel::{{{visuel|}}}| ]]
[[Catégorie:Collections]]
+
<!--[[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.