Vorlage:Ambox/Doku: Unterschied zwischen den Versionen

paar erste Anpassungen
K (DerFussi verschob die Seite Benutzer:DerFussi/Template:Ambox/doc nach Vorlage:Ambox/Doku, ohne dabei eine Weiterleitung anzulegen)
(paar erste Anpassungen)
Zeile 6: Zeile 6:
This is the {{Tl|Ambox}} or '''Article message box''' meta-template.
This is the {{Tl|Ambox}} or '''Article message box''' meta-template.


It is used to build ''article message box'' templates such as {{tl|underlinked}}. It offers several different colours, uses default images if no image parameter is given, and has some other features.
It is used to build ''article message box'' templates such as {{tl|inuse}}. It offers several different colours, uses default images if no image parameter is given, and has some other features.


== Common parameters ==
== Common parameters ==
Zeile 32: Zeile 32:


=== ''name'' ===
=== ''name'' ===
The ''name'' parameter specifies the name of the template, without the Template namespace prefix. For example {{tl|underlinked}} specifies {{para|name|Underlinked}}.
The ''name'' parameter specifies the name of the template, without the Template namespace prefix. For example {{tl|inuse}} specifies {{para|name|inuse}}.


This parameter should be updated if the template is ever moved. The purpose of this parameter is twofold:
This parameter should be updated if the template is ever moved. The purpose of this parameter is twofold:
* If incorrectly [[Wikipedia:Substitution|substituted]], it allows the meta-template to notify the name of the template which has been substituted, which may help editors to fix the problem.
* If incorrectly [[:w:en:Wikipedia:Substitution|substituted]], it allows the meta-template to notify the name of the template which has been substituted, which may help editors to fix the problem.
* It allows the template to have a more useful display on its template page, for example to show the date even when not specified, and to apply categorisation of the template itself.
* It allows the template to have a more useful display on its template page, for example to show the date even when not specified, and to apply categorisation of the template itself.


Zeile 57: Zeile 57:
|nocat=true
|nocat=true
| type  = speedy
| type  = speedy
| text  = type=<u>speedy</u> – Speedy deletion issues, such as {{tl|db-g1}} and {{tl|db-g3}}.
| text  = type=<u>speedy</u> – Speedy deletion issues, such as {{tl|bln}}.
}}
}}
{{Ambox
{{Ambox
|nocat=true
|nocat=true
| type  = delete
| type  = delete
| text  = type=<u>delete</u> – Deletion issues, such as {{tl|afd}} and {{tl|prod}}.
| text  = type=<u>delete</u> – Deletion issues, such as {{tl|bln}}.
}}
}}
{{Ambox
{{Ambox
Zeile 93: Zeile 93:


=== ''image'' ===
=== ''image'' ===
You can choose a specific image to use for the template by using the ''image'' parameter. Images are specified using the standard syntax for inserting files in Wikipedia (see [[Wikipedia:Manual of Style/Images#How to place an image]].) Widths of 40-50px are typical. For example:
You can choose a specific image to use for the template by using the ''image'' parameter. Images are specified using the standard syntax for inserting files in Wikipedia (see [[:w:en:Wikipedia:Manual of Style/Images#How to place an image]].) Widths of 40-50px are typical. For example:


* {{tl|POV}} specifies {{para|image|<nowiki>[[File:Unbalanced scales.svg|40px|link=|alt=]]</nowiki>}} and looks like this:
* {{tl|POV}} specifies {{para|image|<nowiki>[[File:Unbalanced scales.svg|40px|link=|alt=]]</nowiki>}} and looks like this:
Zeile 248: Zeile 248:
{{Mbox templates see also}}
{{Mbox templates see also}}
Other pages:
Other pages:
* [[Wikipedia:Ambox CSS classes]] – Describes how to use the ambox CSS classes directly in [[Help:Table|wikitable]]s and [[HTML element#Tables|HTML tables]].
* [[:w:en:Wikipedia:Ambox CSS classes]] – Describes how to use the ambox CSS classes directly in [[Hilfe:Wiki Markup|wikitable]]s and [[Hilfe:Wiki Markup|HTML tables]].
* [[Wikipedia:Article message boxes]] – The style guideline for creating article message boxes.
* [[:w:en:Wikipedia:Article message boxes]] – The style guideline for creating article message boxes.
* [[Wikipedia talk:Article message boxes]] – For discussion about these matters.
* [[:w:en:Wikipedia talk:Article message boxes]] – For discussion about these matters.


{{mbox template family}}
{{mbox template family}}
Anonymer Benutzer