« Modèle:Infobox Monde » : différence entre les versions
De Nefald
Autres actions
Aucun résumé des modifications |
Aucun résumé des modifications |
||
Ligne 24 : | Ligne 24 : | ||
<infobox theme="monde"> | <infobox theme="monde"> | ||
<!-- Titre principal --> | |||
<!-- | |||
<title source="nom">{{{nom|{{PAGENAME}}}}}</title> | <title source="nom">{{{nom|{{PAGENAME}}}}}</title> | ||
<!-- | <!-- Image du monde --> | ||
{{#if:{{{image|}}}| | {{#if:{{{image|}}}| | ||
<image source="image"> | <image source="image"> | ||
{{#if:{{{tailleimage|}}}|<alt>{{{tailleimage}}}</alt>}} | {{#if:{{{tailleimage|}}}|<alt>{{{tailleimage}}}</alt>|<alt>280x200px</alt>}} | ||
{{#if:{{{légende|}}}|<caption>{{{légende}}}</caption>}} | {{#if:{{{légende|}}}|<caption>{{{légende}}}</caption>|<caption>{{PAGENAME}}</caption>}} | ||
</image> | </image> | ||
}} | }} | ||
<!-- | <!-- Section Spécificités --> | ||
<group | <group> | ||
<header> | <header>Spécificités</header> | ||
<!-- | <!-- Seed --> | ||
{{#if:{{{seed|}}}| | {{#if:{{{seed|}}}| | ||
<data source="seed"> | <data source="seed"> | ||
<label>Seed</label> | <label>Seed</label> | ||
<default>< | <default><span class="seed-value">{{{seed}}}</span></default> | ||
</data> | </data> | ||
}} | }} | ||
<!-- | <!-- Type de monde --> | ||
{{#if:{{{type|}}}| | {{#if:{{{type|}}}| | ||
<data source="type"> | <data source="type"> | ||
<label>Type | <label>Type</label> | ||
<default>{{{type}}}</default> | <default>{{{type}}}</default> | ||
</data> | </data> | ||
}} | }} | ||
<!-- | <!-- Coordonnées Spawn --> | ||
{{#if:{{{x|}}}{{{y|}}}{{{z|}}}| | |||
<data source="spawn"> | <data source="spawn"> | ||
<label>Spawn</label> | <label>Spawn</label> | ||
<default> | <default> | ||
{{#if:{{{monde|}}}| | {{#if:{{{monde|}}}| | ||
[https://map. | <span class="spawn-coords">[https://map.nefald.fr/?worldname={{{monde}}}&mapname=surface&zoom=4&x={{{x}}}&y={{{y}}}&z={{{z}}} {{{x}}}, {{{y}}}, {{{z}}}]</span> | ||
| | | | ||
<span class="spawn-coords">{{{x}}}, {{{y}}}, {{{z}}}</span> | |||
}} | }} | ||
</default> | </default> | ||
</data> | </data> | ||
}} | |||
</group> | </group> | ||
<!-- | <!-- Section Autres infos --> | ||
{{#if:{{{status|}}}| | {{#if:{{{status|}}}{{{difficulté|}}}| | ||
<group | <group> | ||
<header> | <header>Autres infos</header> | ||
<!-- | <!-- Status --> | ||
{{#if:{{{status|}}}| | |||
<data source="status"> | <data source="status"> | ||
<label> | <label>Status</label> | ||
<default> | <default>{{{status}}}</default> | ||
</data> | </data> | ||
}} | |||
<!-- Difficulté --> | |||
{{#if:{{{difficulté|}}}| | |||
<data source="difficulte"> | |||
<label>Difficulté</label> | |||
<default>{{{difficulté}}}</default> | |||
</data> | |||
}} | |||
</group> | </group> | ||
}} | }} | ||
</infobox> | </infobox> | ||
</includeonly> | |||
<noinclude> | <noinclude> | ||
[[Catégorie:Modèle d'infobox]] | [[Catégorie:Modèle d'infobox]] | ||
</noinclude> | </noinclude> |