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

De Eternia Dimension
Aller à la navigationAller à la recherche
(Page créée avec « <noinclude>{{/Documentation}} Infobox Ville </noinclude><includeonly>{| {{Infoboxbleue}} style="min-width:320px; max-width:25%;" | colspan="2... »)
 
Aucun résumé des modifications
Ligne 2 : Ligne 2 :
[[Catégorie:Modèle de boîte|Infobox Ville]]
[[Catégorie:Modèle de boîte|Infobox Ville]]
</noinclude><includeonly>{| {{Infoboxbleue}} style="min-width:320px; max-width:25%;"
</noinclude><includeonly>{| {{Infoboxbleue}} style="min-width:320px; max-width:25%;"
| colspan="2" class="header" {{#if: {{{type|}}} | style="background:{{Couleur|{{#if: {{{type3|}}} | {{#switch: {{#expr: {{#time: s}} mod 3}} |0={{{type}}} | 1={{{type2}}} | 2={{{type3}}} }} | {{#if: {{{type2|}}} | {{#switch: {{#expr: {{#time: s}} mod 2}} | 0={{{type}}} | 1={{{type2}}} }} | {{{type}}} }} }} }}" }}| <span style="font-size:170%">'''{{{nom}}}'''</span><br /><span lang="ja">'''{{{nomja}}}'''</span> ''{{{nomtm}}}''
| colspan="2" class="header" {{#if: {{{type|}}} | style="background:{{Couleur|{{#if: {{{type3|}}} | {{#switch: {{#expr: {{#time: s}} mod 3}} |0={{{type}}} | 1={{{type2}}} | 2={{{type3}}} }} | {{#if: {{{type2|}}} | {{#switch: {{#expr: {{#time: s}} mod 2}} | 0={{{type}}} | 1={{{type2}}} }} | {{{type}}} }} }} }}" }}| <span style="text-align:center">'''{{{nom}}}'''</span><br /><span lang="ja">'''{{{nomja}}}'''</span> ''{{{nomtm}}}''
{{#if: {{{région|}}} |
{{#if: {{{région|}}} |
{{!-}}
{{!-}}
Ligne 16 : Ligne 16 :
<table align="center" class="PrecGen">
<table align="center" class="PrecGen">
<tr style="text-align:center; vertical-align:bottom;">
<tr style="text-align:center; vertical-align:bottom;">
{{#if: {{{gen1|}}} | <td>[[Fichier:{{{nom}}}_{{{gen1}}}.png{{!}}center{{!}}100px]] <small>{{ {{{gen1}}} }}</small></td> }}
{{#if: {{{gen1|}}} | <td>[[Image:{{{nom}}}_{{{gen1}}}.png{{!}}center{{!}}100px]] <small>{{ {{{gen1}}} }}</small></td> }}
{{#if: {{{gen2|}}} | <td>[[Fichier:{{{nom}}}_{{{gen2}}}.png{{!}}center{{!}}100px]] <small>{{ {{{gen2}}} }}</small></td> }}
{{#if: {{{gen2|}}} | <td>[[Image:{{{nom}}}_{{{gen2}}}.png{{!}}center{{!}}100px]] <small>{{ {{{gen2}}} }}</small></td> }}
{{#if: {{{gen3|}}} | <td>[[Fichier:{{{nom}}}_{{{gen3}}}.png{{!}}center{{!}}100px]] <small>{{ {{{gen3}}} }}</small></td> }}
{{#if: {{{gen3|}}} | <td>[[Image:{{{nom}}}_{{{gen3}}}.png{{!}}center{{!}}100px]] <small>{{ {{{gen3}}} }}</small></td> }}
</tr>
</tr>
</table>
</table>

Version du 14 janvier 2012 à 22:03