Template:Wikipedia: Difference between revisions

Jump to navigation Jump to search
HTTP to HTTPS; update
m (Fix extra space issue)
(HTTP to HTTPS; update)
Line 1: Line 1:
<span class="plainlinks">[http://{{{lang|en}}}.wikipedia.org/<!--
<span class="plainlinks">[https://{{{lang|en}}}.wikipedia.org/<!--
-->{{#if: {{{diff|}}}  <!-- Is there a diff parameter and a permalink should be used? -->
-->{{#if: {{{diff|}}}  <!-- Is there a diff parameter and a permalink should be used? -->
  |  <!-- Yes there is a diff parameter, use permalink -->
  |  <!-- Yes there is a diff parameter, use permalink -->
Line 14: Line 14:
-->{{#if: {{{oldid|}}}  <!-- Is there an oldid parameter? -->
-->{{#if: {{{oldid|}}}  <!-- Is there an oldid parameter? -->
  |  <!-- Yes there is an oldid parameter -->
  |  <!-- Yes there is an oldid parameter -->
  &nbsp;(<span class="plainlinks">[http://{{{lang|en}}}.wikipedia.org/w/index.php?title={{urlencode:{{{1|Main Page}}}|wiki}}<!--
  &nbsp;(<span class="plainlinks">[https://{{{lang|en}}}.wikipedia.org/w/index.php?title={{urlencode:{{{1|Main Page}}}|wiki}}<!--
  -->{{#if: {{{diff|}}}  <!-- Is there also a non-empty diff parameter? -->
  -->{{#if: {{{diff|}}}  <!-- Is there also a non-empty diff parameter? -->
   |  <!-- Yes, there there also a non-empty diff parameter, show a link to the diff -->
   |  <!-- Yes, there there also a non-empty diff parameter, show a link to the diff -->
Line 30: Line 30:


== Usage ==
== Usage ==
  <nowiki>{{</nowiki>'''wikipedia'''<nowiki>|</nowiki>''page title''<nowiki>|</nowiki>''alternative text''<nowiki>|</nowiki>''noicon=''<nowiki>|</nowiki>''lang=''<nowiki>|</nowiki>''oldid=''<nowiki>|</nowiki>''diff=''<nowiki>}}</nowiki>
  {{obr}}'''wikipedia'''{{!}}''page title''{{!}}''alternative text''{{!}}''noicon=''{{!}}''lang=''{{!}}''oldid=''{{!}}''diff=''{{cbr}}


All parameters are optional.
All parameters are optional.
Line 66: Line 66:


== Related templates ==
== Related templates ==
* {{tl|mediawiki}}
* {{tl|cite web}}
* {{tl|cite web}}


Navigation menu