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

De Theodosia
Aucun résumé des modifications
Aucun résumé des modifications
Ligne 1 : Ligne 1 :
{| style="float:right;border:1px solid black"
<div style="border: 1px solid #aaa; background-color: #F8F9FA; padding: 5px; text-align: center; font-size: 90%; float: right; margin: 0 0 10px 10px;">
!colspan="2" | Fantastic Page
<table class="infobox">
|-
<tr><th style="background-color: #99BADD; font-size: 120%; width: 30%; vertical-align: top;" colspan="2">{{{PAGENAME}}}</th></tr>
!colspan="2" | [[File:Example image.svg|260px]]
<tr><td colspan="2" style="text-align:center;"><img src="{{{image}}}" alt="{{{alt}}}" /></td></tr>
|-
<tr><th colspan="2" style="background-color: #CCBBEE;">{{{title}}}</th></tr><!--
! Info
-->{{#if: {{{birth|}}}
| {{{Info 1}}}
|<tr><td>Born</td><td>{{{birth}}}<br>{{{birth-place}}}</td></tr>
|-
}}{{#if: {{{death|}}}
! More Info
|<tr><td>Died</td><td>{{{death}}}<br>{{{death-place}}}</td></tr>
| {{{{{{name|no name}}}}}}
}}{{#if: {{{house|}}}
|-
  | <tr><td>House</td><td>{{{house}}}</td></tr>
! And Info
}}{{#if: {{{spouse|}}}
| {{{Info 3}}}
| <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>
</div>

Version du 5 avril 2025 à 20:29

{{{PAGENAME}}}
<img src="{{{image}}}" alt="{{{alt}}}" />
{{{title}}}