Template:URL to diff
Appearance
(Redirected from Template:Url to diff)
This template should always be substituted – use
|
Uses Lua: |
This template converts a diff URL to use the {{diff}} template. Diff URLs must be from the host "en.wikidata.org", and they must contain one of the query strings |title=
, |diff=
or |oldid=
. In other words, they must be of the format en.wikidata.org/w/index.php?query
. URLs of the format en.wikidata.org/wiki/Page name
will not work.
Usage
[edit]{{subst:URL to diff|url=url|label=label}}
Parameters
[edit]url
- the diff URL (required).label
- a label for the diff link (optional). If this is not specified, the {{diff}} template will produce a numbered link.
Examples
[edit]See also
[edit]- Template:Urltowiki, for formatting URLs as wikilinks
The above documentation is transcluded from Template:URL to diff/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. |