« Modèle:Infobox/Ligne mixte site web optionnelle » : différence entre les versions

De Lagny-sur-Marne Wiki
Aller à la navigation Aller à la recherche
0x010D (discussion | contributions)
Aucun résumé des modifications
Aucun résumé des modifications
 
(12 versions intermédiaires par un autre utilisateur non affichées)
Ligne 2 : Ligne 2 :


valeur locale contenant du texte en plus de l'URL (transitionnel)-->
valeur locale contenant du texte en plus de l'URL (transitionnel)-->
<th scope="row" {{#if:{{{3|}}}|width{{=}}"{{{3}}}%"}}>{{#if:{{{1|}}}|{{{1}}}|[[Site web]]}}
<th scope="row" {{#if:{{{3|}}}|width="{{{3}}}%"}}>{{#if:{{{1|}}}|{{{1}}}|[[Site web]]}}
<td {{#if:{{{4|}}}|colspan{{=}}"{{{4}}}"}}>{{{texte libre}}}
<td {{#if:{{{4|}}}|colspan="{{{4}}}"}}>{{{texte libre}}}
<tr><!--  
<tr>|<!--  


autres cas
autres cas
-->{{#ifeq: {{{2|}}} | pas pertinent || {{#if {{{2|}}} | <!--
-->{{#ifeq: {{{2|}}} | pas pertinent || {{#if: {{{2|}}} | <!--


valeur locale -->
valeur locale -->
<th scope="row" {{#if:{{{3|}}}|width{{=}}"{{{3}}}%"}}>{{#if:{{{1|}}}|{{{1}}}|[[Site web]]}}
<th scope="row" {{#if:{{{3|}}}|width="{{{3}}}%"}}>{{#if:{{{1|}}}|{{{1}}}|[[Site web]]}}
<td {{#if:{{{4|}}}|colspan{{=}}"{{{4}}}"}}>{{joli lien|lien={{{2}}}}}
<td {{#if:{{{4|}}}|colspan="{{{4}}}"}}>{{{2}}}
<tr>|<!--
<tr>|
 
valeur Wikidata -->
{{#ifeq: {{{wikidata|}}} | non || {{#ifexpr: {{#invoke: wikidata |numOfClaims | property=P856 |excludespecial= true }} >= 1  |
<th scope="row" {{#if:{{{3|}}}|width{{=}}"{{{3}}}%"}}>{{#if:{{{1|}}}|{{{1}}}|[[Site web]]}}
<td {{#if:{{{4|}}}|colspan{{=}}"{{{4}}}"}}>{{joli lien|lien={{#invoke: wikidata | formatStatements| property=P856|rank=one}}}}[[Catégorie:Page utilisant des données de Wikidata/P856]]{{#ifexpr: {{#invoke: wikidata |numOfClaims | property=P31}} >= 1 | [[Catégorie:Données Wikidata partiellement inutilisées/P856]]}} }} }}
<tr>}} }} }}</includeonly><noinclude>{{Documentation}}</noinclude>
<tr>}} }} }}</includeonly><noinclude>{{Documentation}}</noinclude>

Dernière version du 23 septembre 2017 à 19:50