Aller au contenu

« Modèle:Infobox country V2 » : différence entre les versions

De Wikiquestia
Aucun résumé des modifications
Aucun résumé des modifications
Ligne 1 : Ligne 1 :
<div class="infobox">
<div class="infobox">
{{Infobox
 
| name = {{{name|}}}
| name = {{{name|}}}


Ligne 15 : Ligne 15 :
{{#if: {{{map1|}}} |
{{#if: {{{map1|}}} |
<gallery mode="slideshow">
<gallery mode="slideshow">
{{#if: {{{map1|}}} | {{{map1}}} |{{{caption1|}}} }}
{{#if: {{{map1|}}} | {{{map1}}} | {{{caption1|}}} }}
{{#if: {{{map2|}}} | {{{map2}}} |{{{caption2|}}} }}
{{#if: {{{map2|}}} | {{{map2}}} | {{{caption2|}}} }}
{{#if: {{{map3|}}} | {{{map3}}} |{{{caption3|}}} }}
{{#if: {{{map3|}}} | {{{map3}}} | {{{caption3|}}} }}
</gallery>
</gallery>
}}
}}
Ligne 37 : Ligne 37 :
{
{
"params": {
"params": {
"name": {},
"name": {
"flag": {},
"type": "string",
"heraldry": {},
"description": "Name of the entity"
"map1": {},
},
"caption1": {},
"flag": {
"map2": {},
"type": "string",
"caption2": {},
"description": "Flag image"
"map3": {},
},
"caption3": {},
"heraldry": {
"capital": {},
"type": "string",
"population": {},
"description": "Heraldry image"
"government": {}
},
"map1": {
"type": "string",
"description": "First map image"
},
"caption1": {
"type": "string",
"description": "Caption for the first map"
},
"map2": {
"type": "string",
"description": "Second map image"
},
"caption2": {
"type": "string",
"description": "Caption for the second map"
},
"map3": {
"type": "string",
"description": "Third map image"
},
"caption3": {
"type": "string",
"description": "Caption for the third map"
},
"capital": {
"type": "string",
"description": "Capital city"
},
"population": {
"type": "number",
"description": "Population count"
},
"government": {
"type": "string",
"description": "Type of government"
}
}
}
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Version du 3 avril 2025 à 09:11

| name =

|- ! colspan="2" style="background:#cccccc; text-align:center; font-size:120%;" | |- | style="width:50%;" | Flag | Heraldry |- | | |- | colspan="2" style="text-align:center;" |


}}

Aucune description.

Paramètres du modèle

ParamètreDescriptionTypeÉtat
namename

Name of the entity

Chaînefacultatif
flagflag

Flag image

Chaînefacultatif
heraldryheraldry

Heraldry image

Chaînefacultatif
map1map1

First map image

Chaînefacultatif
caption1caption1

Caption for the first map

Chaînefacultatif
map2map2

Second map image

Chaînefacultatif
caption2caption2

Caption for the second map

Chaînefacultatif
map3map3

Third map image

Chaînefacultatif
caption3caption3

Caption for the third map

Chaînefacultatif
capitalcapital

Capital city

Chaînefacultatif
populationpopulation

Population count

Nombrefacultatif
governmentgovernment

Type of government

Chaînefacultatif