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

De PolitiWiki
(test break word)
(test break work)
Ligne 2 : Ligne 2 :
<div class="infobox-title">{{{pseudo|{{PAGENAME}}}}}</div>{{#if:{{{photo|}}}|
<div class="infobox-title">{{{pseudo|{{PAGENAME}}}}}</div>{{#if:{{{photo|}}}|
<div class="infobox-image">[[File:{{{photo}}}|250px]]</div>}}
<div class="infobox-image">[[File:{{{photo}}}|250px]]</div>}}
<table style="table-layout: auto; width: 100%">
<table style="table-layout: fixed; width: 100%">
{{#if:{{{vrai_nom|}}}|<tr>
{{#if:{{{vrai_nom|}}}|<tr>
     <th style="width: 33%">Vrai nom</th>
     <th style="width: 33%">Vrai nom</th>
Ligne 16 : Ligne 16 :
</tr>}}
</tr>}}
{{#if:{{{youtube|}}}|<tr>
{{#if:{{{youtube|}}}|<tr>
     <th>YouTube</th>
     <th style="width: 33%">YouTube</th>
     <td>{{{youtube}}}</td>
     <td style="width: 67%; word-wrap: break-word;">{{{youtube}}}</td>
</tr>}}
</tr>}}
{{#if:{{{twitch|}}}|<tr>
{{#if:{{{twitch|}}}|<tr>

Version du 12 mars 2023 à 02:46

Infobox