m (1 revision: Moving Docbook Primer from UserBase to TechBase) |
|||
| (One intermediate revision by one user not shown) | |||
| Line 1: | Line 1: | ||
| − | {{ | + | {{Box1|2={{{2|Warning}}}|3=[[Image:Warning.png|noframe|left|40px]]|1={{{1}}} }} |
| − | |3=[[Image:Warning.png|left|40px | + | |
| − | |1={{{1}}} | + | |
| − | }} | + | |
<noinclude> | <noinclude> | ||
| − | + | This template displays an info box in the page. Syntax: <code><nowiki>{{Warning|2=title|1=text}}</nowiki></code> | |
| − | + | # The body of the box | |
| − | # | + | # (optional) the title of the box - Translators: Consider creating a translated version of this template instead of using this parameter every time. |
| − | # (optional) | + | |
| − | Example: <nowiki>{{Warning|This is a warning}}</nowiki> | + | Example: {{Input|1=<nowiki>{{Warning|1=This is a warning.}}</nowiki>}} |
| + | {{Warning|1=This is a warning.}} | ||
| − | |||
[[Category:Template]] | [[Category:Template]] | ||
</noinclude> | </noinclude> | ||
This template displays an info box in the page. Syntax: {{Warning|2=title|1=text}}
{{Warning|1=This is a warning.}}