Difference between revisions of "Template:mw"
(Created page with "<includeonly>[https://www.mediawiki.org/wiki/{{{1|{{PAGENAME}}}}} {{{2|{{{1|{{PAGENAME}}}}}}}}]</includeonly><noinclude> Makes a link to MediaWiki, defaults to current page....") |
|||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| โ | <includeonly>[https://www.mediawiki.org/wiki/{{{1|{{PAGENAME}}}}} {{{2|{{{1|{{PAGENAME}}}}}}}}]</includeonly><noinclude> | + | <includeonly>[https://www.mediawiki.org/wiki/{{#replace:{{{1|{{PAGENAME}}}}}| |_}} {{{2|{{{1|{{PAGENAME}}}}}}}}]</includeonly><noinclude> |
Makes a link to MediaWiki, defaults to current page. | Makes a link to MediaWiki, defaults to current page. | ||
| Line 11: | Line 11: | ||
NOTE: This makes external links, and therefore does not redden links to nonexistent pages! | NOTE: This makes external links, and therefore does not redden links to nonexistent pages! | ||
| + | [[Category:Templates]] | ||
</noinclude> | </noinclude> | ||
Latest revision as of 15:21, 6 May 2025
Makes a link to MediaWiki, defaults to current page.
- Usage
-
{{mw}}by itself links to the MediaWiki article for the page the template is used on. -
{{mw|Page}}links to the MediaWiki article on "Page" -
{{mw|Page|Display}}prints "Display" which is a link to the MediaWiki article on "Page"
NOTE: This makes external links, and therefore does not redden links to nonexistent pages!
