Vorlage:Tmbox/Doku: Unterschied zwischen den Versionen

Updated "Technical details" since we now only use the CSS classes, no hard-coded styles anymore. Added "See also" link to {{fmbox}}.
imported>Davidgothberg
("{{high-use| 300,000+ }}" -> "{{high-use| 500,000+ }}", and counting...)
imported>Davidgothberg
(Updated "Technical details" since we now only use the CSS classes, no hard-coded styles anymore. Added "See also" link to {{fmbox}}.)
Zeile 198: Zeile 198:


=== Technical details ===
=== Technical details ===
This template currently uses hard coded styles. Later it will use CSS classes enabling it to be skinned.


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:  
Zeile 220: Zeile 218:
</div>
</div>
}}
}}
This template uses the tmbox CSS classes in [[MediaWiki:Common.css]] for most of its looks, thus it is fully skinnable.


This template calls {{tl|tmbox/core}} which holds most of the code for {{tl|tmbox}}, while {{tl|tmbox}} itself does parameter preprocessing.  
This template calls {{tl|tmbox/core}} which holds most of the code for {{tl|tmbox}}, while {{tl|tmbox}} itself does parameter preprocessing.  
Zeile 236: Zeile 236:
* {{tl|ombox}} – For other pages message boxes.
* {{tl|ombox}} – For other pages message boxes.
* {{tl|mbox}} – Has namespace detection, for message boxes that are used on several types of pages and thus need to change style depending on what page they are used on.
* {{tl|mbox}} – Has namespace detection, for message boxes that are used on several types of pages and thus need to change style depending on what page they are used on.
* {{tl|fmbox}} – For header and footer message boxes.


Other pages:
Other pages:
Anonymer Benutzer