Difference between revisions of "Template:Cross-wiki language diff"

From blackwiki
Jump to navigation Jump to search
imported>Amalthea
(Undid revision 454438507 by LikeLakers2 (talk) Breaks links on secure server)
imported>Redrose64
(lowercase)
 
Line 1: Line 1:
<span class="plainlinks">[http://{{{2}}}.{{#switch:{{{1}}}<!--
+
<span class="plainlinks">[http://{{{2}}}.{{#switch:{{lc:{{{1}}}}}<!--
 
-->
 
-->
| Wikipedia  = Wikipedia
+
| wikipedia
| wp          = Wikipedia
+
| wp          = wikipedia
| WP          = Wikipedia
 
  
 
| wikibooks  = wikibooks
 
| wikibooks  = wikibooks

Latest revision as of 14:16, 4 July 2014

[1]

Template documentation[view] [edit] [history] [purge]

This template compares two consecutive revisions, the revision ID of the later revision being given in the third parameter.

Usage

Code Output
{{Cross-wiki language diff|Wikipedia|sv|164}} [2]
{{Cross-wiki language diff|wiktionary|es|471117|borda}} borda
{{Cross-wiki language diff|wikiverst|fi|5326|Tehtävät 2|Edit}} Edit
{{Cross-wiki language diff|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