Difference between revisions of "Template:mw"
| 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. | ||
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!
