• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:Diff/translator

  • Template
  • Talk
  • Language
  • Watch
  • Edit
< Template:Diff
Template documentation[view] [edit] [history] [purge]

Helper subtemplate

edit
Syntax
{{Diff/translator|label|url=diff URL}}

In order to make the {{Diff}} template simpler to use this helper subtemplate is available, to be used only in the preview window.

For instance, imagine you want to refer to the following diff URL: https://en.wikipedia.org/w/index.php?title=Main_Page&diff=139993&oldid=139992&diffonly=1; you only need to transcribe that URL in this subtemplate and produce a preview, without saving the page:

{{Diff/translator|Sic exorsi sumus|url=https://en.wikipedia.org/w/index.php?title=Main_Page&diff=139993&oldid=139992&diffonly=1}}
↳ {{Diff|Main Page|139993|139992|Sic exorsi sumus|diffonly=yes}}

Now copy the code generated ({{Diff|Main Page|139993|139992|Sic exorsi sumus|diffonly=yes}} into the edit window where {{Diff/translator}} was and publish the page.

The above documentation is transcluded from Template:Diff/translator/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Diff/translator&oldid=1162778157"
Last edited on 1 July 2023, at 02:56

Languages

    • Latina
    • ไทย
    Wikipedia
    • Wikimedia Foundation
    • Powered by MediaWiki
    • This page was last edited on 1 July 2023, at 02:56 (UTC).
    • Content is available under CC BY-SA 4.0 unless otherwise noted.
    • Privacy policy
    • About Wikipedia
    • Disclaimers
    • Contact Wikipedia
    • Code of Conduct
    • Developers
    • Statistics
    • Cookie statement
    • Terms of Use
    • Desktop