Template:WikiIcon: Difference between revisions
Jump to navigation
Jump to search
Shamelessly copied from wiki.openstreetmap.org |
(No difference)
|
Latest revision as of 09:24, 13 September 2022
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}}
producesOpenStreetMap.
You can add text:
{{WikiIcon||OSM}}
makesOSM.
{{WikiIcon|OpenStreetMap|OSM}}
makesOSM.
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).