Vorlage:Ambox/Doku: Unterschied zwischen den Versionen
K
Reverted edits by Nbanets23 (talk) to last version by Agony-fi
imported>Nbanets23 Keine Bearbeitungszusammenfassung |
|||
Zeile 1: | Zeile 1: | ||
<includeonly>{{template doc page transcluded}}{{pp-template|small=yes}}{{intricate template}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude> | |||
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> | |||
=== | This is the '''ambox''' or '''article message box''' meta template. | ||
It is used to create ''article message box'' templates such as {{tl|wikify}} etc. It offers several different colours, uses default images if no image parameter is given and it has some other features. | |||
This meta template is just a thin wrapper for the ambox CSS classes in [[MediaWiki:Common.css]]. The classes can also be used directly in a [[Help:Table|wikitable]], especially if special functionality is needed. See the [[Wikipedia:Ambox CSS classes|how-to guide]] for that. | |||
=== Usage === | |||
Simple usage example: | Simple usage example: | ||
Zeile 39: | Zeile 38: | ||
}} | }} | ||
==== | ==== Default images ==== | ||
The following examples use different '''type''' parameters but use no image parameters thus they use the default images for each type. | |||
{{ambox | |||
| type = serious | |||
| text = type=<u>serious</u> – Deletion issues, such as {{tl|afd}} and {{tl|prod}}. | |||
}} | |||
{{ambox | |||
| type = content | |||
| text = type=<u>content</u> – Content issues, such as {{tl|POV}} and {{tl|globalize}}. | |||
}} | |||
{{ambox | |||
| type = style | |||
| text = type=<u>style</u> – Style issues, such as {{tl|cleanup}} and {{tl|wikify}}. | |||
}} | |||
{{ambox | |||
| type = merge | |||
| text = type=<u>merge</u> – Merge, split and transwiki proposals, such as {{tl|split}} and {{tl|copy to wiktionary}}. | |||
}} | |||
{{ambox | |||
| type = notice | |||
| text = type=<u>notice</u> – Article notices, such as {{tl|current}} and {{tl|inuse}}. | |||
}} | |||
==== Other images ==== | ==== Other images ==== | ||
The default images shown above are mostly for convenience. In many cases it is more appropriate to use more specific images. These examples use the '''image''' parameter to specify an image other than the default images. | The default images shown above are mostly for convenience. In many cases it is more appropriate to use more specific images. These examples use the '''image''' parameter to specify an image other than the default images. |