Vorlage:Ambox/Doku: Unterschied zwischen den Versionen
add details of new parameters
imported>QwerpQwertus K (Reverted 1 edit by 72.145.200.152 (talk) identified as vandalism to last revision by Caltas. (TW)) |
imported>MSGJ (add details of new parameters) |
||
Zeile 23: | Zeile 23: | ||
<pre> | <pre> | ||
{{ambox | {{ambox | ||
| subst = <includeonly>{{subst:</includeonly><includeonly>substcheck}}</includeonly> | |||
| type = style | | type = style | ||
| small = left | | small = left | ||
Zeile 30: | Zeile 31: | ||
| text = Text for a big box, for the top of articles. | | text = Text for a big box, for the top of articles. | ||
| smalltext = Text for the top of article sections. | | smalltext = Text for the top of article sections. | ||
| cat = A name of a category to use for monthly categories | |||
| date = {{{date|}}} | |||
| undated = A category which undated articles will be placed in | |||
| all = A category which all articles will be placed in | |||
}} | }} | ||
</pre> | </pre> | ||
Zeile 44: | Zeile 49: | ||
But you are not really supposed to use red bold italic text. | But you are not really supposed to use red bold italic text. | ||
=== Advanced functionality === | |||
=== Article message box types === | === Article message box types === | ||
Zeile 129: | Zeile 136: | ||
<pre> | <pre> | ||
{{ambox | {{ambox | ||
| subst = <includeonly>{{subst:</includeonly><includeonly>substcheck}}</includeonly> for substitution detection | |||
| type = speedy / delete / content / style / notice / move / protection | | type = speedy / delete / content / style / notice / move / protection | ||
| image = none / [[File:...|40px|...]] | | image = none / [[File:...|40px|...]] | ||
Zeile 139: | Zeile 147: | ||
| smallimageright = none / [[File:...|20px|...]] | | smallimageright = none / [[File:...|20px|...]] | ||
| smalltext = A shorter message body text. | | smalltext = A shorter message body text. | ||
| cat = Prefix for monthly categories | |||
| preposition= Preposition between category name and month | |||
| date = {{{date|}}} | |||
| undated = Category which undated articles will be placed in | |||
| all = Category which all articles will be placed in | |||
}} | }} | ||
</pre> | </pre> | ||
'''subst''' | |||
This should be used in order to detect when the template has been incorrectly substituted. Such pages will be placed in [[:Category:Pages with incorrectly substituted templates]] | |||
'''type''' | '''type''' | ||
Zeile 173: | Zeile 189: | ||
'''text''' | '''text''' | ||
==== Categorisation parameters ==== | |||
*'''cat''' - prefix for monthly categories, e.g. ''Wikipedia articles needing style editing'' | |||
*'''preposition''' - preposition between category name and month; the default is ''from'' | |||
*'''date'''= {{{date|}}} - pass through the date parameter when using monthly cleanup categories | |||
*'''undated''' - category which undated articles will be placed in | |||
*'''all''' - category which all articles will be placed in, e.g. ''All articles needing style editing'' | |||
==== The small parameters ==== | ==== The small parameters ==== |