Maintenance script-gpuser (Diskussion | Beiträge) K (Automated Import) |
Flachdachs (Diskussion | Beiträge) (Version aus dem englischen Wiki) |
||
Zeile 1: | Zeile 1: | ||
{{doc/start}} |
{{doc/start}} |
||
+ | ==Usage/Example== |
||
+ | <nowiki>{{ambox|color=blue|icon=Note.png|type=Type|info=Text to display}}</nowiki> |
||
+ | {{ambox|color=blue|icon=note.png|type=Type|info=Text to display}} |
||
+ | all parameters are optional, default is a green color and the Note.png-icon. |
||
− | The template is a notice template |
||
− | |||
− | ===Named parameters=== |
||
− | :; |icon=: image file name for use on the left, e.g. "Stub.png" |
||
− | :; |image=: left (image) cell content, overrides <tt>|icon=</tt> if provided. |
||
− | :; |type=: top line text |
||
− | :; |info=: list of extra info |
||
− | :; |border=: border colour (defaults to green) |
||
− | ::; red : ambox-red (serious issue) |
||
− | ::; yellow : ambox-yellow (mild issue) |
||
− | ::; green : ambox-green (good!) |
||
− | ::; purple : ambox-purple (technical change) |
||
− | ::; blue : ambox-blue (notice) |
||
− | ::; orange : ambox-orange (stub colour) |
||
− | ::; gray : ambox-gray |
||
− | :; |format: <tt>tiny</tt> to display a small, left-aligned box showing only the <tt>|type=</tt> value; any other value displays the full ambox. |
||
− | :; |style=: extra style parameters ''(unlikely to be used)'' |
||
− | |||
− | == Beispiele == |
||
− | |||
− | === Default === |
||
− | {{Ambox |
||
− | | type = I am type |
||
− | | info = I am info |
||
− | }} |
||
− | |||
− | === Tiny === |
||
− | {{Ambox |
||
− | | type = I am tiny |
||
− | | icon = Icon-template.png |
||
− | | format = tiny |
||
− | }} |
||
− | |||
− | === Red + image === |
||
− | {{Ambox |
||
− | | image = [[Image:Icon-boilerplate.png]] |
||
− | | border = red |
||
− | | type = I am type |
||
− | | info = |
||
− | * I am info |
||
− | }} |
||
− | |||
− | === Yellow === |
||
− | {{Ambox |
||
− | | border = yellow |
||
− | | type = I am type |
||
− | | info = |
||
− | * I am info |
||
− | }} |
||
− | |||
− | === Green === |
||
− | {{Ambox |
||
− | | border = green |
||
− | | type = I am type |
||
− | | info = |
||
− | * I am info |
||
− | }} |
||
− | |||
− | === Purple === |
||
− | {{Ambox |
||
− | | border = purple |
||
− | | type = I am type |
||
− | | info = |
||
− | * I am info |
||
− | }} |
||
− | |||
− | === Blue === |
||
− | {{Ambox |
||
− | | border = blue |
||
− | | type = I am type |
||
− | | info = |
||
− | * I am info |
||
− | }} |
||
− | |||
− | === Orange === |
||
− | {{Ambox |
||
− | | border = orange |
||
− | | type = I am type |
||
− | | info = |
||
− | * I am info |
||
− | }} |
||
− | |||
− | === Gray === |
||
− | {{Ambox |
||
− | | border = gray |
||
− | | type = I am type |
||
− | | info = |
||
− | * I am info |
||
− | }} |
||
{{doc/end}} |
{{doc/end}} |
Aktuelle Version vom 3. März 2018, 07:38 Uhr
Documentation
[purge]
Usage/Example
{{ambox|color=blue|icon=Note.png|type=Type|info=Text to display}}
Type
Text to display
|
all parameters are optional, default is a green color and the Note.png-icon.