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

De Neylandia - Wiki
Aller à la navigation Aller à la recherche
Infobox:Personnalite-politique>MSGJ
m (add |alt={{{imagealt|}}})
 
m (1 version importée)
 
(2 versions intermédiaires par 2 utilisateurs non affichées)
Ligne 1 : Ligne 1 :
{{Mbox
<!--
| name      = Notice
la classe "skin-invert" est pour le dark mode :
| demospace  = {{{demospace|}}}
[[mw:Recommendations for night mode compatibility on Wikimedia wikis#Apply filters to dark images with transparent background]]
| style     = {{#if:{{{style|}}} |{{#if:{{{small|}}}||width:80%;}} {{{style}}} }}
 
| subst      = <includeonly>{{subst:substcheck}}</includeonly>
--><includeonly>{{#invoque:Bandeau|bandeau
| type      = notice
|style = {{#if:{{{style|}}}|{{{style}}}|margin:0.8em 10%;}}
| image      = {{#if:{{{image|}}} |[[File:{{{image}}}|40px|Notice|alt={{{imagealt|}}}]]}}
|icône = [[Fichier:{{{image|OOjs UI icon information-progressive.svg}}}{{#ifeq:{{{image invert|}}}|yes|{{!}}class=skin-invert}}|{{#ifeq:{{{small|}}}|yes|25px|45px}}|alt=|link=]]
| small      = {{{small|}}}
|texte = {{#if:{{{titre|}}}|'''{{{titre}}}'''}}
| smallimage = {{#if:{{{image|}}} |[[File:{{{image}}}|30px|Notice|alt={{{imagealt|}}}]]}}
 
| imageright = {{#if:{{{imageright|}}} |{{{imageright}}} |{{#if:{{{shortcut|{{{shortcut1|}}}}}} |{{Ombox/shortcut|{{{shortcut|{{{shortcut1|}}}}}}|{{{shortcut2|}}}|{{{shortcut3|}}}|{{{shortcut4|}}}|{{{shortcut5|}}}}}}} }}
{{{1}}}
| textstyle  = {{{textstyle|text-align: {{#if:{{{center|}}}|center|{{{align|left}}}}};}}}
}}</includeonly><noinclude>{{Documentation}}</noinclude>
| text      = {{#if:{{{header|{{{heading|{{{title|}}}}}}}}} |<div style="{{{headstyle|text-align: {{#if:{{{center|}}}|center|left}};}}}">'''{{{header|{{{heading|{{{title|}}}}}}}}}'''</div>}}<!--
            -->{{{text|{{{content|{{{reason|{{{1}}}}}}}}}}}}
}}<noinclude>
{{Documentation}}
</noinclude>

Dernière version du 3 novembre 2024 à 16:27

Erreur de script : la fonction « main » n’existe pas.