This site is supported by donations to The OEIS Foundation.
Template:Wikipedia
From OeisWiki
The following documentation is located at Template:Wikipedia/doc. [<Edit> Template:Wikipedia/doc]
[⧼Purge⧽ Template:Wikipedia]
[⧼Purge⧽ Template:Wikipedia]
The {{Wikipedia}} interwiki link template gives a link to a page in the Wikipedia wiki.
Contents
Usage
To get "Name of page in the Wikipedia.org wiki" as the default link label, and to also get the tagline
appended, use
- {{Wikipedia|Name of page in the Wikipedia.org wiki}}.
To get "Name of page in the Wikipedia.org wiki" as the default link label, without the above mentioned tagline, use
- {{Wikipedia|Name of page in the Wikipedia.org wiki|}}.
To get "link label" as the link label, without the above mentioned tagline, use
- {{Wikipedia|Name of page in the Wikipedia.org wiki|link label}}.
Examples
Code Result {{Wikipedia}} Wikipedia {{Wikipedia|}} Wikipedia {{Wikipedia|Large numbers}} Large numbers—Wikipedia.org. {{Wikipedia|Large numbers|}} Large numbers {{Wikipedia|Large numbers|large numbers}} large numbers
Code
<includeonly><!-- -->{{#if: {{{1|}}} | [[wikipedia:{{{1}}}|{{#if: {{{2|}}} |{{{2}}}|{{{1}}}}}]]<!-- -->{{#ifeq:{{{2|UNDEF}}}|UNDEF | —[[wikipedia:Main Page|Wikipedia.org]].<!-- Typographic rule: no spaces surrounding mdash --> | <!-- no tagline when second parameter is defined (even if empty) --> }} | [[wikipedia:Main Page|Wikipedia]] }}</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)