This site is supported by donations to The OEIS Foundation.

Template:Wikipedia/doc

From OeisWiki
Jump to: navigation, search

This documentation subpage contains instructions, categories, or other information for Template:Wikipedia. [<Edit> Template:Wikipedia]

[⧼Purge⧽ Template:Wikipedia/doc]

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

Usage

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

Wikipedia.org.

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 numbersWikipedia.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