Module:Infobox/Rivière
Apparence
[voir] [modifier] [historique] [purger]
Cette page définit un module d'infobox. Pour les conseils sur l'usage de ce module, voyez Modèle:Infobox Rivière.
La documentation de ce module est générée par le modèle {{Documentation module}}.
Elle est incluse depuis la page Modèle:Documentation module d'infobox. Veuillez placer les catégories sur cette page-là.
Les éditeurs peuvent travailler dans le bac à sable (créer).
Voir les statistiques d'appel depuis le wikicode sur l'outil wstat et les appels depuis d'autres modules.
local building = require "Module:Infobox/Fonctions/Bâtiment"
local general = require "Module:Infobox/Fonctions"
local l = require "Module:Infobox/Fonctions/Localité"
return {
maincolor = '80B0E0',
parts = {
general.title( "entete map"),
l.mainimage(),
{type = 'table', rows = {
{type = 'row', label = 'Nom local', value = {'nom local', 'nom dans la langue originale'}, wikidata = {property = 'P1705', showlang = true} },
{type = 'row', label = 'Nom officiel', plurallabel = 'Noms officiels', value = 'nom officiel', property = 'P1448'},
}},
{type = 'table', title = 'Localisation', rows = {
{type = 'row', label = 'Continent', plurallabel = 'Continents', value = 'continent', property = 'P30'},
building.adminlocation(),
building.mountainrange(),
{type = 'row', label = 'Partie de', value = 'partie de', property = 'P361'},
building.protectedarea(),
{type = 'row', label = 'Altitude', value = 'altitude', wikidata = {property = 'P2044', targetunit = 'metre', conjtype = ' ou ', rounding = '0'} },
{type = 'row', label = 'Climat', plurallabel = 'Climats', value = 'climat', property = 'P2564'},
building.coordinates(),
}},
{type = 'table', title = 'Dimensions', rows = {
{type = 'row', label = 'Longueur', value = 'longueur', wikidata = {property = 'P2043', targetunit = 'km', rounding = '2'}},
{type = 'row', label = 'Largeur', value = 'largeur', wikidata = {property = 'P2049', targetunit = 'km', rounding = '2'}},
{type = 'row', label = 'Profondeur', value = 'profondeur', wikidata = {property = 'P4511', targetunit = 'm', rounding = '0'} },
{
type = "row",
label = "Îles",
value = "nombre d'îles",
wikidata = {
property = 'P2670',
targetvalue = 'Q23442',
qualifiers = 'P1114',
showonlyqualifier = {'P1114'}
}
},
}},
{type = 'table', title = 'Hydrographie', rows = {
{type = 'row', label = 'Type', value = 'type', property = 'P31'},
{type = 'row', label = 'Superficie du bassin', value = 'superficie du bassin', wikidata = {property = 'P2053', targetunit = 'sqkm', rounding = '0'} },
{type = 'row', label = 'Pays du bassin', value = {'pays du bassin', 'pays du bassin versant', 'pays souverain sur le bassin versant'}, property = 'P205'},
{type = 'row', label = 'Source', value = 'source', property = 'P885'},
{type = 'row', label = 'Affluent', plurallabel = 'Affluents', value = 'affluent', property = 'P974'},
{type = 'row', label = 'Comprend', value = 'comprend', property = 'P527'},
{type = 'row', label = 'Lac sur le cours', plurallabel = 'Lacs sur le cours', value = 'lac', property = 'P469'},
{type = 'row', label = 'Débit', value = 'débit', wikidata = {property = 'P2225', targetunit = 'm3/s', rounding = '0'}},
{type = 'row', label = 'Se jette dans', value = 'se jette dans', property = 'P403'},
building.watershed(),
}},
{type = 'table', title = 'Histoire', rows = {
{type = 'row', label = 'Origine du nom', value = 'origine du nom', property = 'P138'},
{type = 'row', label = 'Événement clé', plurallabel = 'Événements clés', value = 'événement clé', property = 'P793'},
building.owner(),
{type = 'row', label = 'Équipement', plurallabel = 'Équipements', value = 'équipement', wikidata = {property = 'P912', defaultlinkquery = 'P4661'}},
{type = 'row', label = 'Problème environnemental', plurallabel = 'Problèmes environnementaux', value = 'problème environnemental', property = 'P3643'},
{type = 'row', label = 'Statut patrimonial', value = 'statut patrimonial', property = 'P1435'},
{type = 'row', label = 'Distinction', plurallabel = 'Distinctions', value = 'distinction', property = 'P166'},
}},
building.geoloc({pointtype = 'lac', maptype = 'relief', marker = 'wetland', markercolor = '#778BA5', wikidata = {{property = 'P625', qualifier = 'P518', qualifiervalue = 'Q7376362'}, {property = 'P625', qualifier = 'P518', qualifiervalue = 'Q1233637'} }}),
}
}