Zum Inhalt springen

Vorlage:Ambox/Doku: Unterschied zwischen den Versionen

Simplified sentence about the CSS since it isn't really a "thin wrapper", it does much more than just use the CSS classes.
imported>Davidgothberg
(→‎See also: Added links to {{imbox}} and {{cmbox}}.)
imported>Davidgothberg
(Simplified sentence about the CSS since it isn't really a "thin wrapper", it does much more than just use the CSS classes.)
Zeile 5: Zeile 5:
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 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.
It is used to build ''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]] if special functionality is needed. See the [[Wikipedia:Ambox CSS classes|how-to guide]] for that.
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.


=== Usage ===
=== Usage ===
Zeile 187: Zeile 187:
This template uses CSS classes for most of its looks, thus it is fully skinnable.  
This template uses CSS classes for most of its looks, thus it is fully skinnable.  


Internally this meta template uses HTML markup instead of wiki markup for the table code. That is the usual way we make meta templates since wiki markup has several drawbacks. For instance it makes it harder to use [[m:Help:ParserFunctions|parser functions]] and special characters in parameters.  
Internally this meta-template uses HTML markup instead of wiki markup for the table code. That is the usual way we make meta-templates since wiki markup has several drawbacks. For instance it makes it harder to use [[m:Help:ParserFunctions|parser functions]] and special characters in parameters.  


For more technical details see the [[{{TALKPAGENAME}}|talk page]] and the "See also" links below.
For more technical details see the [[{{TALKPAGENAME}}|talk page]] and the "See also" links below.
Anonymer Benutzer