This site is supported by donations to The OEIS Foundation.

Template:MediaWiki

From OeisWiki
Jump to: navigation, search

The {{MediaWiki}} interwiki link template gives a link to a page in the MediaWiki.org wiki.

Usage

To get "Name of page in the MediaWiki.org wiki" as the default link label, and to also get the tag

MediaWiki.org.

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}} WelcomeMediaWiki.org.
{{MediaWiki|}} MediaWiki
{{MediaWiki|Help:Extension:ParserFunctions}} Help:Extension:ParserFunctionsMediaWiki.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