Difference between revisions of "Template:Cross-wiki language oldid"
Jump to navigation
Jump to search
(←Blanked the page) |
imported>Moxy m (Reverted edits by 2001:16A2:C19:CF00:9501:7C1D:2229:B5A7 (talk) to last version by Andrybak) |
||
Line 1: | Line 1: | ||
+ | <span class="plainlinks">[//{{{2|{{CONTENTLANG}}}}}.{{#switch:{{{1|{{SITENAME}}}}}<!-- | ||
+ | --> | ||
+ | | Wikipedia = Wikipedia | ||
+ | | wp = Wikipedia | ||
+ | | WP = Wikipedia | ||
+ | | wikibooks = wikibooks | ||
+ | | wikibks = wikibooks | ||
+ | |||
+ | | wikinews = wikinews | ||
+ | | wikinws = wikinews | ||
+ | |||
+ | | wikiquote = wikiquote | ||
+ | | wikiqt = wikiquote | ||
+ | |||
+ | | wikisource = wikisource | ||
+ | | wikisrc = wikisource | ||
+ | |||
+ | | wikiversity = wikiversity | ||
+ | | wikiverst = wikiversity | ||
+ | |||
+ | | wiktionary = wiktionary | ||
+ | | wikt = wiktionary | ||
+ | |||
+ | | {{{1}}} | ||
+ | }}.org/w/index.php?title=&oldid={{{3}}}{{#ifeq: {{{5|a}}} | {{{5|b}}} | #{{anchorencode:{{{4|}}}}} }}<!-- (if five parameters are given, interpret the fourth one as the anchor) | ||
+ | --> {{#if: {{{5|{{{4|}}}}}} | {{{5|{{{4}}}}}} }}]</span><noinclude> | ||
+ | |||
+ | {{Documentation}} | ||
+ | |||
+ | </noinclude> |
Latest revision as of 03:06, 14 November 2020
Usage
Code | Output |
---|---|
{{Cross-wiki language oldid|Wikipedia|sv|164}}
|
[2] |
{{Cross-wiki language oldid|wiktionary|es|471117|borda}}
|
borda |
{{Cross-wiki language oldid|wikiverst|fi|5326|Tehtävät 2|Edit}}
|
Edit |
{{Cross-wiki language oldid|wikiqt|de|423279|Der kleine Prinz / Le petit prince (1943)|}}
|
[3] |
Note that if {{{5}}} (the fifth parameter) does have a variable, {{{4}}} specifies the section of the page, instead, and {{{5}}} specifies the link text.
Abbreviations
- wikibks = Wikibooks
- wikinws = Wikinews
- wikisrc = Wikisource
- wikiverst = Wikiversity
- wikiqt = Wikiquote
- wikt = Wiktionary
See also
The above documentation is transcluded from Template:Cross-wiki language oldid/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |