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

Aller à la navigation Aller à la recherche
24 octets enlevés ,  4 janvier 2019
test0>Shirayuki
(translation tweaks)
test0>Shirayuki
(per request Special:Diff/3039412)
Ligne 2 : Ligne 2 :
<onlyinclude>{{#switch:<translate></translate>
<onlyinclude>{{#switch:<translate></translate>
| =
| =
{{#if: {{#if:{{{1|}}}|{{{1}}}|{{#if:<noinclude>demo</noinclude>|demo|{{{demo|}}}}} }} | <div role="note" class="note note-{{#switch:{{{2|}}}
{{#if: {{#if:{{{1|}}}|{{{1}}}|{{#if:<noinclude>demo</noinclude>|demo|{{{demo|}}}}} }} | <templatestyles src="Note/styles.css" /><div role="note" class="note note-{{#switch:{{{2|}}}
     |gotcha=error
     |gotcha=error
     |=info
     |=info
     |#default={{{2|}}}
     |#default={{{2|}}}
     }}" style="background-position:{{dir|{{pagelang}}|right|left}} 7px top 50%; {{dir|{{pagelang}}|padding-right: 40px; padding-left: 0.5em;|padding-right: 0.5em; padding-left: 40px;}} {{#if:{{{inline|}}}|display:inline-block; vertical-align:middle;}}">{{{1}}}</div>
     }} {{#if:{{{inline|}}}|note-inline}}">{{{1}}}</div>
   | [[File:Bulbgraph.png|18px|<translate><!--T:1--> Note</translate>|link=]]&nbsp;'''<translate><!--T:2--> Note:</translate>''' }}
   | [[File:Bulbgraph.png|18px|<translate><!--T:1--> Note</translate>|link=]]&nbsp;'''<translate><!--T:2--> Note:</translate>''' }}
| #default=
| #default=
Ligne 48 : Ligne 48 :
"label": "Type",
"label": "Type",
"description": "'reminder', 'error', 'gotcha' or nothing. Will affect formatting.",
"description": "'reminder', 'error', 'gotcha' or nothing. Will affect formatting.",
"type": "string"
"type": "line"
},
"inline": {
"label": "Inline formatting",
"description": "Show the template without line breaks before and after it",
"type": "line"
}
}
},
},
Utilisateur anonyme

Menu de navigation