Aus TuxBoxWIKI
Version vom 6. Februar 2008, 13:08 Uhr von Dbt (Diskussion | Beiträge) (Extension zum Eifügen von Icons)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Wechseln zu: Navigation, Suche


You will have a new Parser Function (#icon) - Syntax is as follows:

 {{#icon: image title | image alt text | image width | page to link to }}
  • Only the image title argument is required - the rest are optional.
 {{#icon: Info.png|Info}} will display the Info.png icon in it's default size
 {{#icon: Info.png|Info|24}} will display the Info.png icon with a width of 24px
 {{#icon: Info.png|Info|24|Special:Help}} same as above and clicking on it will link to Special:Help