« Modèle:Note/en » : différence entre les versions
Updating to match new version of source page
test0>FuzzyBot (Updating to match new version of source page) |
test0>FuzzyBot (Updating to match new version of source page) |
||
Ligne 2 : | Ligne 2 : | ||
<onlyinclude>{{#switch: | <onlyinclude>{{#switch: | ||
| = | | = | ||
{{#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|}}} | ||
}} {{#if:{{{inline|}}}|note-inline}}">{{{1}}}</div> | |||
| [[File:Bulbgraph.png|18px|Note|link=]] '''Note:''' }} | | [[File:Bulbgraph.png|18px|Note|link=]] '''Note:''' }} | ||
| #default= | | #default= | ||
Ligne 46 : | Ligne 46 : | ||
"label": "Type", | "label": "Type", | ||
"description": "'reminder', 'error', 'gotcha' or nothing. Will affect formatting.", | "description": "'reminder', 'error', 'gotcha' or nothing. Will affect formatting.", | ||
"type": " | "type": "line" | ||
}, | |||
"inline": { | |||
"label": "Inline formatting", | |||
"description": "Show the template without line breaks before and after it", | |||
"type": "line" | |||
} | } | ||
}, | }, |