« Modèle:Infobox/City » : différence entre les versions
De Aknotl
Aucun résumé des modifications |
Aucun résumé des modifications |
||
| Ligne 6 : | Ligne 6 : | ||
| {{{image|}}}|{{{légende|}}}|280 | | {{{image|}}}|{{{légende|}}}|280 | ||
}} | }} | ||
{{#if:{{{date_formation|}}}{{{date_formation2|}}}{{{date_formation3|}}}{{{date_formation4|}}}{{{date_formation5|}}}{{{date_formation6|}}}{{{date_formation7|}}}{{{date_formation8|}}}{{{date_formation9|}}}{{{date_formation10|}}}| | |||
{{Infobox/Sous-titre | |||
| Histoire | |||
}} | |||
{{Infobox/Ligne mixte optionnelle|{{{type_formation|}}}|{{{date_formation|}}}}} | |||
{{Infobox/Ligne mixte optionnelle|{{{type_formation2|}}}|{{{date_formation2|}}}}} | |||
{{Infobox/Ligne mixte optionnelle|{{{type_formation3|}}}|{{{date_formation3|}}}}} | |||
{{Infobox/Ligne mixte optionnelle|{{{type_formation4|}}}|{{{date_formation4|}}}}} | |||
{{Infobox/Ligne mixte optionnelle|{{{type_formation5|}}}|{{{date_formation5|}}}}} | |||
{{Infobox/Ligne mixte optionnelle|{{{type_formation6|}}}|{{{date_formation6|}}}}} | |||
{{Infobox/Ligne mixte optionnelle|{{{type_formation7|}}}|{{{date_formation7|}}}}} | |||
{{Infobox/Ligne mixte optionnelle|{{{type_formation8|}}}|{{{date_formation8|}}}}} | |||
{{Infobox/Ligne mixte optionnelle|{{{type_formation9|}}}|{{{date_formation9|}}}}} | |||
{{Infobox/Ligne mixte optionnelle|{{{type_formation10|}}}|{{{date_formation10|}}}}} | |||
| | |||
}} | |||
{{Infobox/Sous-titre | {{Infobox/Sous-titre | ||
| Ligne 59 : | Ligne 78 : | ||
| image = xxx.png | | image = xxx.png | ||
| légende = xxx | | légende = xxx | ||
| type_formation = xxx | |||
| date_formation = xxx | |||
| region = xxx | | region = xxx | ||
| fleuve = xxx | | fleuve = xxx | ||
| Ligne 77 : | Ligne 98 : | ||
* <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 à 10, noms des événements importants de la ville. | |||
* <code>date_formation</code> (facultatif) – Sans suffixe, ou de 2 à 10, 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. | ||
| Ligne 93 : | Ligne 116 : | ||
== Exemples == | == Exemples == | ||
<pre>{{Infobox/City | <pre>{{Infobox/City | ||
| nom | | nom = {{PAGENAME}} | ||
| image | | image = Bhrone_1_an_181.png | ||
| légende | | légende = Bhrone en l'an 181 | ||
| region | | type_formation = Fondation | ||
| fleuve | | date_formation = 0 | ||
| geo_extra | | type_formation2 = Prise par les Valdiares | ||
| x | | date_formation2 = 194 | ||
| z | | region = [[Terres de Sedlych]] | ||
| pays | | fleuve = ??? | ||
| type_dirigeant = Bourgmestre | | geo_extra = [[Chaine du Berceau|Chaîne du Berceau]] | ||
| dirigeant | | x = 0 | ||
| gentile | | z = 0 | ||
| pop | | pays = [[Valdiares]] | ||
| culture | | type_dirigeant = Bourgmestre | ||
| religion | | dirigeant = [[Brennos Caltfer]] | ||
| gentile = Bhronien, Bhronienne | |||
| pop = 250 | |||
| culture = Bhronéenne, Valdienne | |||
| religion = Radradisme, Aucarilisme | |||
}}</pre> | }}</pre> | ||
Résultat : | Résultat : | ||
{{Infobox/City | {{Infobox/City | ||
| nom | | nom = {{PAGENAME}} | ||
| image | | image = Bhrone_1_an_181.png | ||
| légende | | légende = Bhrone en l'an 181 | ||
| region | | type_formation = Fondation | ||
| fleuve | | date_formation = 0 | ||
| geo_extra | | type_formation2 = Prise par les Valdiares | ||
| x | | date_formation2 = 194 | ||
| z | | region = [[Terres de Sedlych]] | ||
| pays | | fleuve = ??? | ||
| type_dirigeant = Bourgmestre | | geo_extra = [[Chaine du Berceau|Chaîne du Berceau]] | ||
| dirigeant | | x = 0 | ||
| gentile | | z = 0 | ||
| pop | | pays = [[Valdiares]] | ||
| culture | | type_dirigeant = Bourgmestre | ||
| religion | | dirigeant = [[Brennos Caltfer]] | ||
| gentile = Bhronien, Bhronienne | |||
| pop = 250 | |||
| culture = Bhronéenne, Valdienne | |||
| religion = Radradisme, Aucarilisme | |||
}} | }} | ||
[[Category:Méta-Modèles]]</noinclude> | [[Category:Méta-Modèles]]</noinclude> | ||
Version du 26 juillet 2021 à 18:20
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 à 10, noms des événements importants de la ville.date_formation(facultatif) – Sans suffixe, ou de 2 à 10, 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 |
