« 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)
m Requête bot : Remplacement de {{Doc modèle}} par {{Documentation}}
0x010D (discussion | contributions)
+ défaut vers Wikidata
Ligne 1 : Ligne 1 :
<includeonly>{{#if:{{{2|}}} |  
<includeonly>{{#if:{{{2|}}} | <!--
 
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}}}"}}>{{#if:{{{2|}}}|[{{trim|1={{{2}}}}} {{#titleparts:{{{2}}}||3}}]}}
<td {{#if:{{{4|}}}|colspan{{=}}"{{{4}}}"}}>{{joli lien|lien={{{2}}}}}
<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>

Version du 19 septembre 2013 à 21:33