« Modèle:FicheDiffusionDistributionComplet » : différence entre les versions
Apparence
mAucun résumé des modifications |
mAucun résumé des modifications |
||
| (13 versions intermédiaires par le même utilisateur non affichées) | |||
| Ligne 13 : | Ligne 13 : | ||
<!-- Types --> | <!-- Types --> | ||
{{#if:{{#show:{{FULLPAGENAME}}|?TypeStructure|link=none}}| | {{#if:{{#show:{{FULLPAGENAME}}|?TypeStructure|link=none}}| | ||
<p style="margin:0.25em 0 0 0;"><strong> | <p style="margin:0.25em 0 0 0;"><strong>Activité(s) :</strong>{{#show:{{FULLPAGENAME}}|?TypeStructure|link=none|sep=, }}</p> | ||
}} | }} | ||
<!-- Coordonnées / adresse principale --> | <!-- Coordonnées / adresse principale --> | ||
| Ligne 41 : | Ligne 37 : | ||
</p> | </p> | ||
}} | }} | ||
<strong> | <!-- Description --> | ||
{{#if:{{#show:{{FULLPAGENAME}}|?DescriptionStructure|link=none}}| | |||
<div style="margin:0.6em 0 0 0;"><strong>Description :</strong><div style="margin-top:0.15em;"> | |||
{{#show:{{FULLPAGENAME}}|?DescriptionStructure|link=none}} | |||
</div> | |||
</div> | |||
}} | |||
<!-- Entrepôt --> | <!-- Entrepôt --> | ||
{{#if:{{#show:{{FULLPAGENAME}}|?Adresse_entrepot}}{{#show:{{FULLPAGENAME}}|?Ville_entrepot}}{{#show:{{FULLPAGENAME}}|?Code_postal_entrepot}}| | {{#if:{{#show:{{FULLPAGENAME}}|?Adresse_entrepot}}{{#show:{{FULLPAGENAME}}|?Ville_entrepot}}{{#show:{{FULLPAGENAME}}|?Code_postal_entrepot}}| | ||
| Ligne 54 : | Ligne 56 : | ||
</p> | </p> | ||
}} | }} | ||
<!-- Contact --> | <!-- Contact --> | ||
{{#if:{{#show:{{FULLPAGENAME}}|?Site_web}}{{#show:{{FULLPAGENAME}}|?E-mail}}{{#show:{{FULLPAGENAME}}|?Telephone}}{{#show:{{FULLPAGENAME}}|?Coordonnees}}| | {{#if:{{#show:{{FULLPAGENAME}}|?Site_web}}{{#show:{{FULLPAGENAME}}|?E-mail}}{{#show:{{FULLPAGENAME}}|?Telephone}}{{#show:{{FULLPAGENAME}}|?Coordonnees}}|<p style="margin:0.6em 0 0 0; margin-bottom:0;"> | ||
{{#if:{{#show:{{FULLPAGENAME}}|?Site_web|link=none}}| | {{#if:{{#show:{{FULLPAGENAME}}|?Site_web|link=none}}| | ||
<strong>Site :</strong> {{#show:{{FULLPAGENAME}}|?Site_web|link=none}} | <strong>Site :</strong> {{#show:{{FULLPAGENAME}}|?Site_web|link=none}} | ||
| Ligne 75 : | Ligne 75 : | ||
</p> | </p> | ||
}} | }} | ||
<!-- Référencé par (maisons d’édition) --> | <!-- Référencé par (maisons d’édition) --> | ||
{{#vardefine: | {{#vardefine:dd_c_diff|{{#ask:[[Catégorie:Maisons d’édition]][[Diffuseur::{{FULLPAGENAME}}]]|format=count}}}} | ||
{{#vardefine:dd_c_dis |{{#ask:[[Catégorie:Maisons d’édition]][[Distributeur::{{FULLPAGENAME}}]]|format=count}}}} | |||
{{#vardefine:dd_c_num |{{#ask:[[Catégorie:Maisons d’édition]][[Distributeur_Numerique::{{FULLPAGENAME}}]]|format=count}}}} | |||
{{#vardefine:dd_c_aud |{{#ask:[[Catégorie:Maisons d’édition]][[Distributeur_Audio::{{FULLPAGENAME}}]]|format=count}}}} | |||
{{#vardefine:dd_total|{{#expr: {{#var:dd_c_diff}} + {{#var:dd_c_dis}} + {{#var:dd_c_num}} + {{#var:dd_c_aud}} }} }} | |||
{{#ifexpr: {{#var:dd_total}} > 0 | <h3 style="margin-top:0.9em; margin-bottom:0.2em;">Maisons d’édition associées</h3> | |||
{{#ifexpr: {{#var:dd_c_diff}} > 0 | <h4 style="margin:0.5em 0 0.15em 0;">Diffuseur de</h4> | |||
}} | |||
{{# | |||
{{# | |||
{{#ask: | {{#ask: | ||
[[Catégorie:Maisons d’édition]] | [[Catégorie:Maisons d’édition]] | ||
[[Diffuseur::{{FULLPAGENAME}}]] | [[Diffuseur::{{FULLPAGENAME}}]] | ||
| | | format=template | ||
| template=FicheMaisonNom | |||
| mainlabel=page | |||
| link=none | |||
| sort=Nom | | sort=Nom | ||
| order=ascending | | order=ascending | ||
| limit=500 | | limit=500 | ||
| intro=<ul class="liste-dd-maisons" style="columns:3; -moz-columns:3; -webkit-columns:3; column-gap:1.5em;"> | | intro=<ul class="liste-dd-maisons" style="columns:3; -moz-columns:3; -webkit-columns:3; column-gap:1.5em;"> | ||
| Ligne 121 : | Ligne 97 : | ||
}} | }} | ||
}} | }} | ||
{{#ifexpr: {{#var:dd_c_dis}} > 0 | <h4 style="margin:0.7em 0 0.15em 0;">Distributeur de</h4> | |||
{{#ask: | {{#ask: | ||
[[Catégorie:Maisons d’édition]] | [[Catégorie:Maisons d’édition]] | ||
[[Distributeur::{{FULLPAGENAME}}]] | [[Distributeur::{{FULLPAGENAME}}]] | ||
| format= | | format=template | ||
| template=FicheMaisonNom | |||
| mainlabel=page | |||
| link=none | |||
| | |||
| sort=Nom | | sort=Nom | ||
| order=ascending | | order=ascending | ||
| limit=500 | | limit=500 | ||
| intro=<ul class="liste-dd-maisons" style="columns:3; -moz-columns:3; -webkit-columns:3; column-gap:1.5em;"> | | intro=<ul class="liste-dd-maisons" style="columns:3; -moz-columns:3; -webkit-columns:3; column-gap:1.5em;"> | ||
| Ligne 144 : | Ligne 112 : | ||
}} | }} | ||
}} | }} | ||
{{#ifexpr: {{#var:dd_c_num}} > 0 | <h4 style="margin:0.7em 0 0.15em 0;">Distributeur numérique de</h4> | |||
{{# | |||
{{#ask: | {{#ask: | ||
[[Catégorie:Maisons d’édition]] | [[Catégorie:Maisons d’édition]] | ||
[[Distributeur_Numerique::{{FULLPAGENAME}}]] | [[Distributeur_Numerique::{{FULLPAGENAME}}]] | ||
| | | format=template | ||
| template=FicheMaisonNom | |||
| mainlabel=page | |||
| link=none | |||
| sort=Nom | | sort=Nom | ||
| order=ascending | | order=ascending | ||
| limit=500 | | limit=500 | ||
| intro=<ul class="liste-dd-maisons" style="columns:3; -moz-columns:3; -webkit-columns:3; column-gap:1.5em;"> | | intro=<ul class="liste-dd-maisons" style="columns:3; -moz-columns:3; -webkit-columns:3; column-gap:1.5em;"> | ||
| Ligne 169 : | Ligne 127 : | ||
}} | }} | ||
}} | }} | ||
{{#ifexpr: {{#var:dd_c_aud}} > 0 | <h4 style="margin:0.7em 0 0.15em 0;">Distributeur audio de</h4> | |||
{{#ask: | {{#ask: | ||
[[Catégorie:Maisons d’édition]] | [[Catégorie:Maisons d’édition]] | ||
[[Distributeur_Audio::{{FULLPAGENAME}}]] | [[Distributeur_Audio::{{FULLPAGENAME}}]] | ||
| format= | | format=template | ||
| template=FicheMaisonNom | |||
| mainlabel=page | |||
| link=none | |||
| | |||
| sort=Nom | | sort=Nom | ||
| order=ascending | | order=ascending | ||
| limit=500 | | limit=500 | ||
| intro=<ul class="liste-dd-maisons" style="columns:3; -moz-columns:3; -webkit-columns:3; column-gap:1.5em;"> | | intro=<ul class="liste-dd-maisons" style="columns:3; -moz-columns:3; -webkit-columns:3; column-gap:1.5em;"> | ||
| outro=</ul> | | outro=</ul> | ||
}} | }} | ||
}} | }} | ||
}} | }} | ||
<!-- Bouton de modification via formulaire, visible seulement | |||
<!-- Bouton | sur les pages concernées (namespace ici DiffusionDistribution) et admins --> | ||
<div style="text-align:center; margin-top:1em; margin-bottom:0.5em;"> | <div class="fiche-diffusiondistribution-bouton-modif" style="text-align:center; margin-top:1em; margin-bottom:0.5em;">{{#ifeq:{{NAMESPACE}}|DiffusionDistribution|{{#ifingroup:contributeurs_diffusiondistribution,sysop|[[Special:FormEdit/DiffusionDistribution/{{FULLPAGENAME}}|<span class="mw-ui-button mw-ui-progressive" style="font-size:110%; padding:0.55em 0.95em; border-radius:8px; display:inline-block;">Modifier cette fiche</span>]]}}}}</div> | ||
</div> | |||
</div> | </div> | ||
</includeonly> | </includeonly> | ||
Dernière version du 18 décembre 2025 à 09:35
(Documentation.)