Template:Notice: Difference between revisions
From Handhelds Wiki
Jump to navigationJump to search
miraheze>Manster m 1 revision imported |
mediawiki>Pppery m Changed protection settings for "Template:Notice": Highly visible page or template ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) |
||
| Line 1: | Line 1: | ||
{{ | {{ambox | ||
| name | | name = Notice | ||
| subst = <includeonly>{{subst:</includeonly><includeonly>substcheck}}</includeonly> | |||
| demospace = {{{demospace|}}} | |||
| subst | | image = {{#if:{{{image|}}}| [[Image:{{{image}}}|40px|Notice]] }} | ||
| | | text = | ||
{{#if:{{{header|}}} | |||
| <div style="text-align:center;">'''{{{header}}}'''</div> | |||
}}{{{1|{{{text}}}}}} | |||
| | | small = {{{small|}}} | ||
| | | smallimage = {{#if:{{{image|}}}| [[File:{{{image}}}|30px|Notice]] }} | ||
| | |||
}}<noinclude> | }}<noinclude> | ||
{{ | {{documentation}} | ||
<!-- Add categories and interwikis to the /doc subpage, not here! --> | |||
</noinclude> | </noinclude> | ||
Revision as of 19:32, 12 March 2025
{{{text}}} |
File:Test Template Info-Icon - Version (2).svg Template documentation[view] [edit] [history] [purge]
| File:OOjs UI icon alert-warning.svg | This template is used on approximately 5,800 pages. To avoid large-scale disruption and unnecessary server load, any changes to this template should first be tested in its /sandbox or /testcases subpages or in your own user subpage. The tested changes can then be added to this page in one single edit. Please consider discussing any changes on the talk page before implementing them. |
Usage
<templatedata> { "params": { "text": { "aliases": [ "1" ], "label": { "en": "Text for notice", "cs": "Text pro upozornění" }, "type": "content", "required": true }, "image": { "label": "Image", "description": "Image link, with no prefix." }, "header": {}, "small": {} }, "description": { "en": "Adds a notice inside a box", "cs": "Přidá upozornění do boxu" }, "format": "inline" } </templatedata>