Jump to content

Template:Wikisourcelang-inline: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
remove excess whitespace
shrink icon a bit as has been done for other in-line Wikisource templates
Line 1: Line 1:
*[[Image:Wikisource-logo.svg|15px]]&nbsp;{{#ifeq:{{#language:{{{1}}}}}|{{{1}}}||{{Iso2lang|{{{1}}}}}}} [[Wikisource]] has original text related to this article: '''[[:{{#ifeq:{{#language:{{{1|}}}}}|{{{1}}}|oldwikisource|s:{{{1|<noinclude>en</noinclude>}}}}}:{{{2|{{PAGENAME}}}}}|{{{3|{{{2|{{PAGENAME}}}}}}}}]]'''<noinclude>
*[[Image:Wikisource-logo.svg|12px]]&nbsp;{{#ifeq:{{#language:{{{1}}}}}|{{{1}}}||{{Iso2lang|{{{1}}}}}}} [[Wikisource]] has original text related to this article: '''[[:{{#ifeq:{{#language:{{{1|}}}}}|{{{1}}}|oldwikisource|s:{{{1|<noinclude>en</noinclude>}}}}}:{{{2|{{PAGENAME}}}}}|{{{3|{{{2|{{PAGENAME}}}}}}}}]]'''<noinclude>
This template accepts three parameters:
This template accepts three parameters:
:<nowiki>{{wikisourcelang|1|2|3}}</nowiki>
:<nowiki>{{wikisourcelang|1|2|3}}</nowiki>

Revision as of 13:43, 14 April 2011

This template accepts three parameters:

{{wikisourcelang|1|2|3}}
  • 1 is the Country code top-level domain for a wikisource. Leave "1" blank, or assign to anything other than a language prefix, in order to link to the multilingual wikisource (http://wikisource.org/)
  • 2 is the page to which you're linking. Optional.
  • 3 is an optional parameter: the text that may appear instead of 2. Optional.
If neither 2 or 3 are specified, the pagename will be used.

See also