Zum Inhalt springen

Vorlage:Ambox/Doku: Unterschied zwischen den Versionen

Adding explanation why we use png images instead of svg images here.
K (interwiki)
imported>Davidgothberg
(Adding explanation why we use png images instead of svg images here.)
Zeile 187: Zeile 187:




This template uses CSS classes for most of its looks, thus it is fully skinnable.  
This template uses CSS classes in [[MediaWiki:Common.css]] 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.  
The default images for this meta-template are in png format instead of svg format. The main reason is that some older web browsers have trouble with the transparent background that MediaWiki renders for svg images. The png images here have hand optimised transparent background colour so they look good in all browsers. Note that svg icons only look somewhat bad in the old browsers, thus such hand optimisation is only worth the trouble for very widely used icons.


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