Template:WikiIcon/doc
< Template:WikiIcon
Jump to navigation
Jump to search
Revision as of 08:24, 13 September 2022 by Gwyneth Llewelyn (talk | contribs) (Shamelessly copied from wiki.openstreetmap.org)
This is a documentation subpage for Template:WikiIcon. It contains usage information, categories and other content or metadata that is not part of the original template. |
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).