Template:Notice/doc: Difference between revisions
Content added Content deleted
(Revert myself and a fix. The pre tags were much more readable.) |
(I was mixing upper and lower case in template names. Fixed.) |
||
Line 1: | Line 1: | ||
{{Documentation subpage}} |
{{Documentation subpage}} |
||
⚫ | |||
<!-- |
|||
⚫ | |||
--> |
|||
This is the {{tl|notice}} message box. |
This is the {{tl|notice}} message box. |
||
Line 33: | Line 31: | ||
Which renders like this: |
Which renders like this: |
||
{{ |
{{notice|demospace=main|header=Header text|Include text here.}} |
||
Line 48: | Line 46: | ||
Which renders like this: |
Which renders like this: |
||
{{ |
{{notice|demospace=talk|Include text here.}} |
||
The '''header''' parameter works on talk pages too. But there is one parameter that only works on talk pages, the '''small''' parameter. 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: |
||
Line 79: | Line 77: | ||
Which renders like this: |
Which renders like this: |
||
{{ |
{{notice|Include text here.}} |
||
The box can also take an '''image''' parameter. Like this: |
The box can also take an '''image''' parameter. Like this: |
||
<pre> |
<pre> |
||
{{ |
{{notice|image=Stop hand nuvola.svg|Include text here.}} |
||
</pre> |
</pre> |
||
Which renders like this: |
Which renders like this: |
||
{{ |
{{notice|image=Stop hand nuvola.svg|Include text here.}} |
||
The '''header''' and '''image''' parameters can of course be used at the same time. |
The '''header''' and '''image''' parameters can of course be used at the same time. |
||
Line 96: | Line 94: | ||
There are other message templates, which serve similar purposes: |
There are other message templates, which serve similar purposes: |
||
*{{tl| |
*{{tl|consensus}} - For topics based around reaching consensus. |
||
*{{tl| |
*{{tl|warning}} - For important warnings. |
||
*{{tl| |
*{{tl|caution}} - For messages indicating serious problems. |
||
⚫ | |||
⚫ | |||
<includeonly><!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> |
<includeonly><!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> |