Notice: Difference between revisions
From Anthrodia Atlas
k6ka>K6ka m 1 revision imported: Import from http://k6ka.shoutwiki.com |
dev>Rodejong https://en.wikipedia.org/w/index.php?title=Wikipedia:WikiProject_Transwiki/Template:Notice&oldid=222416123 |
||
| Line 1: | Line 1: | ||
{ | {| class="{{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}|{{#ifeq:{{{small|}}}|yes|small|standard}}-talk}} messagebox" | ||
| | | {{#if:{{{header|}}}|rowspan="2"}} align="center" style="width:35px;"|[[Image:{{{image|Info {{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}||non-}}talk.png}}}|{{#ifeq:{{{small|}}}|yes|25px|35px}}|Notice]] | ||
{{#if:{{{header|}}}| | |||
| | <!-- -->! Notice: {{{header}}} | ||
<!-- -->{{!-}} | |||
| | }} | ||
|align="left"|{{{1}}} | |||
| | |}<noinclude>{{Documentation}}</noinclude> | ||
| | |||
| | |||
| | |||
Revision as of 11:55, 20 February 2024
Dependencies:
Usage
This is the {{notice}} message box.
This is how this box looks.
{{notice|Include text here.}}
Which renders like this:
The header parameter works on talk pages too. But there is one parameter that only works on talk pages, the small parameter. Like this:
{{notice|small=yes|header=Header text|Include text here.}}
As you can see, "small=yes" causes a smaller right floating box with a smaller image and smaller text size.
Let's try the image parameter too. Like this:
{{notice|demospace=talk|small=yes|image=Stop hand nuvola.svg
|header=Header text|Include text here.}}