Jump to content

Template:Notice/doc: Difference between revisions

I was mixing upper and lower case in template names. Fixed.
(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:
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
<!--
PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE
-->
 
This is the {{tl|notice}} message box.
Line 33 ⟶ 31:
Which renders like this:
 
{{Noticenotice|demospace=main|header=Header text|Include text here.}}
 
 
Line 48 ⟶ 46:
Which renders like this:
 
{{Noticenotice|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:
Line 79 ⟶ 77:
Which renders like this:
 
{{Noticenotice|Include text here.}}
 
The box can also take an '''image''' parameter. Like this:
 
<pre>
{{Noticenotice|image=Stop hand nuvola.svg|Include text here.}}
</pre>
 
Which renders like this:
 
{{Noticenotice|image=Stop hand nuvola.svg|Include text here.}}
 
The '''header''' and '''image''' parameters can of course be used at the same time.
Line 96 ⟶ 94:
 
There are other message templates, which serve similar purposes:
*{{tl|Consensusconsensus}} - For topics based around reaching consensus.
*{{tl|Warningwarning}} - For important warnings.
*{{tl|Cautioncaution}} - For messages indicating serious problems.
 
* {{tl|Ambox}} - Article message boxes of any type. There is comprehensive information in its documentation about the different options for article message boxes.
 
* {{tl|Amboxambox}} - Article message boxes of any type. There is comprehensive information in its documentation about the different options for article message boxes.
 
<includeonly><!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
Cookies help us deliver our services. By using our services, you agree to our use of cookies.