« Modèle:Infobox/City » : différence entre les versions
De Aknotl
Aucun résumé des modifications |
Aucun résumé des modifications |
||
| Ligne 7 : | Ligne 7 : | ||
}} | }} | ||
{{#if:{{{date_formation|}}}{{{date_formation2|}}}{{{date_formation3|}}}{{{date_formation4|}}}{{{date_formation5|}}}{{{date_formation6|}}}{{{date_formation7|}}}{{{date_formation8|}}}{{{date_formation9|}}}{{{date_formation10|}}}| | {{#if:{{{date_formation|}}}{{{date_formation2|}}}{{{date_formation3|}}}{{{date_formation4|}}}{{{date_formation5|}}}{{{date_formation6|}}}{{{date_formation7|}}}{{{date_formation8|}}}{{{date_formation9|}}}{{{date_formation10|}}}{{{date_formation11|}}}{{{date_formation12|}}}{{{date_formation13|}}}{{{date_formation14|}}}{{{date_formation15|}}}{{{date_formation16|}}}{{{date_formation17|}}}{{{date_formation18|}}}{{{date_formation19|}}}{{{date_formation20|}}}{{{date_formation21|}}}{{{date_formation22|}}}{{{date_formation23|}}}{{{date_formation24|}}}{{{date_formation25|}}}| | ||
{{Infobox/Sous-titre | {{Infobox/Sous-titre | ||
| Histoire | | Histoire | ||
| Ligne 21 : | Ligne 21 : | ||
{{Infobox/Ligne mixte optionnelle|{{{type_formation9|}}}|{{{date_formation9|}}}}} | {{Infobox/Ligne mixte optionnelle|{{{type_formation9|}}}|{{{date_formation9|}}}}} | ||
{{Infobox/Ligne mixte optionnelle|{{{type_formation10|}}}|{{{date_formation10|}}}}} | {{Infobox/Ligne mixte optionnelle|{{{type_formation10|}}}|{{{date_formation10|}}}}} | ||
{{Infobox/Ligne mixte optionnelle|{{{type_formation11|}}}|{{{date_formation11|}}}}} | |||
{{Infobox/Ligne mixte optionnelle|{{{type_formation12|}}}|{{{date_formation12|}}}}} | |||
{{Infobox/Ligne mixte optionnelle|{{{type_formation13|}}}|{{{date_formation13|}}}}} | |||
{{Infobox/Ligne mixte optionnelle|{{{type_formation14|}}}|{{{date_formation14|}}}}} | |||
{{Infobox/Ligne mixte optionnelle|{{{type_formation15|}}}|{{{date_formation15|}}}}} | |||
{{Infobox/Ligne mixte optionnelle|{{{type_formation16|}}}|{{{date_formation16|}}}}} | |||
{{Infobox/Ligne mixte optionnelle|{{{type_formation17|}}}|{{{date_formation17|}}}}} | |||
{{Infobox/Ligne mixte optionnelle|{{{type_formation18|}}}|{{{date_formation18|}}}}} | |||
{{Infobox/Ligne mixte optionnelle|{{{type_formation19|}}}|{{{date_formation19|}}}}} | |||
{{Infobox/Ligne mixte optionnelle|{{{type_formation20|}}}|{{{date_formation20|}}}}} | |||
{{Infobox/Ligne mixte optionnelle|{{{type_formation21|}}}|{{{date_formation21|}}}}} | |||
{{Infobox/Ligne mixte optionnelle|{{{type_formation22|}}}|{{{date_formation22|}}}}} | |||
{{Infobox/Ligne mixte optionnelle|{{{type_formation23|}}}|{{{date_formation23|}}}}} | |||
{{Infobox/Ligne mixte optionnelle|{{{type_formation24|}}}|{{{date_formation24|}}}}} | |||
{{Infobox/Ligne mixte optionnelle|{{{type_formation25|}}}|{{{date_formation25||}}}}} | |||
| | | | ||
}} | }} | ||
| Ligne 98 : | Ligne 113 : | ||
* <code>image</code> (facultatif) – Image de l'infobox. | * <code>image</code> (facultatif) – Image de l'infobox. | ||
* <code>légende</code> (facultatif) – Légende se situant sous l'image de l'infobox. | * <code>légende</code> (facultatif) – Légende se situant sous l'image de l'infobox. | ||
* <code>type_formation</code> (facultatif) – Sans suffixe, ou de 2 à | * <code>type_formation</code> (facultatif) – Sans suffixe, ou de 2 à 25, noms des événements importants de la ville. | ||
* <code>date_formation</code> (facultatif) – Sans suffixe, ou de 2 à | * <code>date_formation</code> (facultatif) – Sans suffixe, ou de 2 à 25, date des événements importants de la ville. | ||
* <code>region</code> (facultatif) – Région géographique dans laquelle se situe la ville. | * <code>region</code> (facultatif) – Région géographique dans laquelle se situe la ville. | ||
* <code>fleuve</code> (facultatif) – Fleuve/rivière traversant ou se trouvant à proximité de la ville. | * <code>fleuve</code> (facultatif) – Fleuve/rivière traversant ou se trouvant à proximité de la ville. | ||
Version du 26 juillet 2021 à 18:24
Ce modèle d'infobox est compatible avec tout article traitant d'une colonie, qu'elle soit de petite ou de grande taille.
Syntaxe
{{Infobox/City
| nom = xxx
| image = xxx.png
| légende = xxx
| type_formation = xxx
| date_formation = xxx
| region = xxx
| fleuve = xxx
| geo_extra = xxx
| x = 0
| z = 0
| pays = xxx
| type_dirigeant = xxx
| dirigeant = xxx
| gentile = xxx
| pop = 0
| culture = xxx
| religion = xxx
}}
Paramètres
nom(facultatif) – Titre de l'infobox (par défaut le nom de la page).image(facultatif) – Image de l'infobox.légende(facultatif) – Légende se situant sous l'image de l'infobox.type_formation(facultatif) – Sans suffixe, ou de 2 à 25, noms des événements importants de la ville.date_formation(facultatif) – Sans suffixe, ou de 2 à 25, date des événements importants de la ville.region(facultatif) – Région géographique dans laquelle se situe la ville.fleuve(facultatif) – Fleuve/rivière traversant ou se trouvant à proximité de la ville.geo_extra(facultatif) – Caractéristiques supplémentaires à mentionner (océan, montagne ...).x(facultatif) – Coordonnées x de la ville.z(facultatif) – Coordonnées z de la ville.pays(facultatif) – Pays dans lequel se situe la ville.type_dirigeant(facultatif) – Titre du dirigeant de la ville (par défaut : Bourgmestre).dirigeant(facultatif) – Nom du dirigeant de la ville.gentile(facultatif) – Gentilé des habitants.pop(facultatif) – Population de la ville (uniquement la valeur).culture(facultatif) – Cultures représentées dans la ville.religion(facultatif) – Religions représentées dans la ville.
Exemples
{{Infobox/City
| nom = {{PAGENAME}}
| image = Bhrone_1_an_181.png
| légende = Bhrone en l'an 181
| type_formation = Fondation
| date_formation = 0
| type_formation2 = Prise par les Valdiares
| date_formation2 = 194
| region = [[Terres de Sedlych]]
| fleuve = ???
| geo_extra = [[Chaine du Berceau|Chaîne du Berceau]]
| x = 0
| z = 0
| pays = [[Valdiares]]
| type_dirigeant = Bourgmestre
| dirigeant = [[Brennos Caltfer]]
| gentile = Bhronien, Bhronienne
| pop = 250
| culture = Bhronéenne, Valdienne
| religion = Radradisme, Aucarilisme
}}
Résultat :
| Infobox/City | |
Bhrone en l'an 181 | |
| Histoire | |
|---|---|
| Fondation | 0 |
| Prise par les Valdiares | 194 |
| Géographie | |
| Région | Terres de Sedlych |
| Fleuve | ??? |
| Caractéristiques | Chaîne du Berceau |
| Coordonnées | 0;0 |
| Politique | |
| Pays | Valdiares |
| Bourgmestre | Brennos Caltfer |
| Démographie | |
| Gentilé | Bhronien, Bhronienne |
| Population | 250 hab. |
| Culture | Bhronéenne, Valdienne |
| Religion | Radradisme, Aucarilisme |
