This site is supported by donations to The OEIS Foundation.
Template:MediaWiki
From OeisWiki
The following documentation is located at Template:MediaWiki/doc. [<Edit> Template:MediaWiki/doc]
[⧼Purge⧽ Template:MediaWiki]
[⧼Purge⧽ Template:MediaWiki]
The {{MediaWiki}} interwiki link template gives a link to a page in the MediaWiki.org wiki.
Contents
Usage
To get "Name of page in the MediaWiki.org wiki" as the default link label, and to also get the tag
appended, use
- {{MediaWiki|Name of page in the MediaWiki.org wiki}}.
To get "link label" as the link label, without the above mentioned appended tag, use
- {{MediaWiki|Name of page in the MediaWiki.org wiki|}}
or
- {{MediaWiki|Name of page in the MediaWiki.org wiki|link label}}.
Examples
Code Result {{MediaWiki}} Welcome—MediaWiki.org. {{MediaWiki|}} MediaWiki {{MediaWiki|Help:Extension:ParserFunctions}} Help:Extension:ParserFunctions—MediaWiki.org. {{MediaWiki|Help:Extension:ParserFunctions|}} Help:Extension:ParserFunctions {{MediaWiki|Help:Extension:ParserFunctions|parser functions}} parser functions
Code
<noinclude>{{Documentation}}</noinclude><includeonly><!-- -->{{#ifeq: {{{1|NIL}}} | NIL | [[mediawikiwiki:MediaWiki|Welcome]]—[[mediawikiwiki:MediaWiki|MediaWiki.org]]. | [[mediawikiwiki:{{#if: {{{1|}}} | {{{1}}} | MediaWiki }}|{{#if: {{{2|}}} | {{{2}}} | {{#if: {{{1|}}} | {{{1}}} | MediaWiki }} }}]]{{#ifeq: {{{2|NIL}}} | NIL | {{#if: {{{1|}}} | —[[mediawikiwiki:MediaWiki|MediaWiki.org]]. | <!-- no tag, since {{{1}}} was empty string --> }} | <!-- no tag, since {{{2}}} was given (possibly empty string) --> }} }}</includeonly>
See also
- {{MediaWiki}} (mediawikiwiki: prefix)
- {{Wikibooks}} (wikibooks: prefix)
- {{Wikipedia}} (wikipedia: prefix)
- {{Wikimedia Commons}} ({{Commons}}) (commons: prefix)
- {{Wikimedia Meta-Wiki}} ({{Meta-Wiki}}, {{Meta}}) (metawikipedia: prefix)
- {{Wiktionary}} ({{Wikt}}) (wikt: prefix)
- Help:Interwiki linking
- Manual:Interwiki—MediaWiki.org.
- Manual:Interwiki table—MediaWiki.org.
- Extension:Interwiki—MediaWiki.org.
- Manual:Wiki family—MediaWiki.org. (e.g. wiki-project in different languages)