Template:Editnotice: Difference between revisions
Jump to navigation
Jump to search
Created page with "{{editnotice | id = | class = | textstyle = | style = | image = | header = | headerstyle = | text = }}" |
m Protected "Template:Editnotice": High-risk template or module ([Edit=Allow only bureaucrats] (indefinite) [Move=Allow only bureaucrats] (indefinite) [Delete=Allow only bureaucrats] (indefinite) [Protect=Allow only bureaucrats] (indefinite)) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{editnotice | <div class="mw-parser-output"><templatestyles src="Editnotice/styles.css" />{{fmbox | ||
| id | | type = editnotice | ||
| class | | id = {{{id|}}} | ||
| textstyle | | class = {{{class|}}} {{#if: {{{included|}}} | ts-editnotice-included }} {{#switch: {{{type}}} | error = ts-editnotice ts-editnotice-error | warning = ts-editnotice ts-editnotice-warning | success = ts-editnotice ts-editnotice-success | neutral = ts-editnotice ts-editnotice-neutral }} | ||
| style | | textstyle = {{{textstyle|}}} | ||
| image | | style = {{{style|}}} | ||
| | | image = {{#if: {{{image|}}} | {{{image}}} | {{#switch: {{{type}}} | error = [[File:OOjs_UI_icon_error-destructive.svg|20px|link=|alt=]] | warning = [[File:OOjs_UI_icon_alert-yellow.svg|20px|link=|alt=]] | success = [[File:OOjs_UI_icon_check-constructive.svg|20px|link=|alt=]] | neutral = [[File:OOjs_UI_icon_information.svg|20px|link=|alt=]] | #default = none}} }} | ||
| headerstyle | | text = | ||
| | {{#if: {{{header|}}} | <h2 style="{{{headerstyle|}}}">{{{header}}}</h2> }} | ||
}} | {{{text|{{{1}}}}}} | ||
}}</div><noinclude>{{doc}}</noinclude> |