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

De Theodosia
Page créée avec « == Section 1 == {{#ifeq:{{{1|1}}}|1| Content of section one. }} {{#ifeq:{{{1|2}}}|2| == Section 2 == Content of section two. }} »
 
Aucun résumé des modifications
Balise : Révocation manuelle
 
(33 versions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
== Section 1 ==
<table class="infobox">
{{#ifeq:{{{1|1}}}|1|
<tr><th style="background-color: #99BADD; text-align:center; font-size: 150%; width: 30%; vertical-align: top;" colspan="2">{{PAGENAME}}</th></tr>
Content of section one.
<tr>
}}
<td colspan="2" style="text-align:center;">
{{#ifeq:{{{1|2}}}|2|
{{{image}}}
== Section 2 ==
</td>
Content of section two.
</tr>
}}
</td>
</tr>
<tr><th colspan="2" style="background-color: #CCBBEE; text-align:center">{{{title}}}</th></tr><!--
-->{{#if: {{{birth|}}}
|<tr><td>Born</td><td>{{{birth}}}<br>{{{birth-place}}}</td></tr>
}}{{#if: {{{death|}}}
|<tr><td>Died</td><td>{{{death}}}<br>{{{death-place}}}</td></tr>
}}{{#if: {{{house|}}}
  | <tr><td>House</td><td>{{{house}}}</td></tr>
}}{{#if: {{{spouse|}}}
| <tr><td>Spouse(s)</td><td>{{{spouse}}}</td></tr>
}}{{#if: {{{issue|}}}
| <tr><td>Issue</td><td>{{{issue}}}</td></tr>
}}{{#if: {{{father|}}}
| <tr><td>Father</td><td>{{{father}}}</td></tr>
}}{{#if: {{{mother|}}}
| <tr><td>Mother</td><td>{{{mother}}}</td></tr>
}}</table>

Dernière version du 5 avril 2025 à 20:59

Exemple

{{{image}}}

{{{title}}}