Icons: Difference between revisions
adds import details |
→Usage: adds new instructions |
||
| Line 5: | Line 5: | ||
== Usage == | == Usage == | ||
<pre> | <pre> | ||
{{#icon: image title | image alt text | image width | page to link to }} | |||
</pre> | </pre> | ||
* Only the '''image title''' argument is required - the rest are optional. | * Only the '''image title''' argument is required - the rest are optional. | ||
<pre> | <pre> | ||
{{#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 | |||
</pre> | </pre> | ||
{{Ambox | |||
| text = I have modified this extension '''locally''' to be able to specify the HTML class attribute as the third argument. }} | |||
== Installing Icons == | == Installing Icons == | ||