Template:WikiIcon
Revision as of 08:24, 13 September 2022 by Gwyneth Llewelyn (talk | contribs) (Shamelessly copied from wiki.openstreetmap.org)
This documentation is transcluded from Template:WikiIcon/doc. (Edit | history)
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
A simple template for making wikipedia link an icon.
Usage
{{WikiIcon}}
produces .{{WikiIcon|OpenStreetMap}}
produces OpenStreetMap.
You can add text:
{{WikiIcon||OSM}}
makes OSM.{{WikiIcon|OpenStreetMap|OSM}}
makes OSM.
See also
- Template:Wikipedia adds extra text ("on Wikipedia").
- Template:Wiki
- Instead, you could also just use a direct wiki link:
[[wikipedia:xx:pagename|display text]]
(xx
being the language code; "|display text
" is optional).