Modèle:Infobox/Ligne mixte latitude longitude optionnelle : Différence entre versions
(Demande de Zolo - catégorisation quand les coordonnées manquent et que paramètre géolocalisation n'est pas "non"; option pour coord en titre et pas dans l'Infobox) |
(Demande Zolo - catégorisation dans Article à ne pas géolocaliser) |
||
Ligne 1 : | Ligne 1 : | ||
<includeonly>{{#ifeq: {{{géolocalisation|}}} | non | <includeonly>{{#ifeq: {{{géolocalisation|}}} | non | ||
− | || {{#if: {{#invoke: coordinates|latitude|{{{2|}}}|wikidata={{#if: {{{wikidata|}}} | {{{wikidata}}} | true }}}} | + | |<!-- à ne pas géolocaliser |
− | | <!-- | + | -->{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Catégorie:Article à ne pas géolocaliser]]}}<!-- |
+ | |||
+ | -->| {{#if: {{#invoke: coordinates|latitude|{{{2|}}}|wikidata={{#if: {{{wikidata|}}} | {{{wikidata}}} | true }}}} | ||
+ | | <!-- | ||
+ | |||
+ | à géolocaliser | ||
--><th scope=row {{#if:{{{6|}}}|width{{=}}"{{{6}}}%"|}}>{{#if:{{{1|}}}|{{{1}}}|Coordonnées}} <td {{#if:{{{7|}}}|colspan{{=}}"{{{7}}}"|}}>{{#if: {{{2|}}} || [[Catégorie:Page géolocalisée par Wikidata]] }}{{#invoke:Coordinates|coord|{{{2|}}}|{{{3|}}}|display={{#ifeq: {{{inline|}}} | non ||inline,}}{{#if:{{{title|}}}|{{#ifeq:{{NAMESPACE}}|{{ns:0}}|title}}}}|name={{{name|}}}|format={{#if:{{{5|}}}|{{{5}}}|dms long}}|formatitle=dms|type:{{#if:{{{4|}}}|{{{4}}}|landmark}}|wikidata={{#if: {{{wikidata|}}} | {{{wikidata}}} | true }}}} {{{8|}}} | --><th scope=row {{#if:{{{6|}}}|width{{=}}"{{{6}}}%"|}}>{{#if:{{{1|}}}|{{{1}}}|Coordonnées}} <td {{#if:{{{7|}}}|colspan{{=}}"{{{7}}}"|}}>{{#if: {{{2|}}} || [[Catégorie:Page géolocalisée par Wikidata]] }}{{#invoke:Coordinates|coord|{{{2|}}}|{{{3|}}}|display={{#ifeq: {{{inline|}}} | non ||inline,}}{{#if:{{{title|}}}|{{#ifeq:{{NAMESPACE}}|{{ns:0}}|title}}}}|name={{{name|}}}|format={{#if:{{{5|}}}|{{{5}}}|dms long}}|formatitle=dms|type:{{#if:{{{4|}}}|{{{4}}}|landmark}}|wikidata={{#if: {{{wikidata|}}} | {{{wikidata}}} | true }}}} {{{8|}}} | ||
− | <tr> | + | <tr><!-- |
− | -->{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Catégorie:Page géolocalisable sans coordonnées paramétrées]]}} | + | |
+ | à géolocaliser mais pas de coordonnées | ||
+ | -->|{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Catégorie:Page géolocalisable sans coordonnées paramétrées]]}} | ||
}} }}</includeonly><noinclude>{{Documentation}}</noinclude> | }} }}</includeonly><noinclude>{{Documentation}}</noinclude> |