Vorlage:Ambox/Doku: Unterschied zwischen den Versionen
keine Bearbeitungszusammenfassung
imported>MSGJ KKeine Bearbeitungszusammenfassung |
imported>MSGJ Keine Bearbeitungszusammenfassung |
||
Zeile 5: | Zeile 5: | ||
It is used to build ''article message box'' templates such as {{tl|wikify}}. It offers several different colours, uses default images if no image parameter is given and it has some other features. | It is used to build ''article message box'' templates such as {{tl|wikify}}. It offers several different colours, uses default images if no image parameter is given and it has some other features. | ||
=== Usage === | === Usage === | ||
{| class="wikitable" align="right" style="background:transparent; width=40%" | |||
!Common parameters | |||
|- | |||
|<pre style="font-size:90%; width=40%"> | |||
Common parameters | |||
<pre> | |||
{{Ambox | {{Ambox | ||
| name = | | name = | ||
| subst = <includeonly>{{subst:</includeonly><includeonly>substcheck}}</includeonly> | | subst = <includeonly>{{subst:</includeonly><includeonly>substcheck}}</includeonly> | ||
| small = {{{small|}}} | |||
| type = | | type = | ||
| image = | | image = | ||
| | | sect = {{{1|}}} | ||
| issue = | |||
| talk = {{{talk|}}} | |||
| fix = | |||
| date = {{{date|}}} | | date = {{{date|}}} | ||
| cat = | | cat = | ||
| all = | | all = | ||
}} | <noinclude> | ||
{{Documentation}} | |||
</noinclude> | |||
</pre> | </pre> | ||
|} | |||
Complex example | {{clear}} | ||
===Complex example=== | |||
<pre> | <pre> | ||
Zeile 47: | Zeile 46: | ||
| smalltext = Text for the top of article sections. | | smalltext = Text for the top of article sections. | ||
| date = {{{date|}}} | | date = {{{date|}}} | ||
| | | cat = A name of a category to use for monthly categories | ||
| all = A category which all articles will be placed in | | all = A category which all articles will be placed in | ||
}} | }} | ||
Zeile 291: | Zeile 290: | ||
=== Technical details === | === Technical details === | ||
This meta-template uses the ambox CSS classes in [[MediaWiki:Common.css]]. The classes can also be used directly in a [[Help:Table|wikitable]] if special functionality is needed. See the [[Wikipedia:Ambox CSS classes|how-to guide]] for that. | |||
If you need to use special characters in the text parameter then you need to escape them like this: | If you need to use special characters in the text parameter then you need to escape them like this: |