Jump to content

Template:Diff/translator

From Elite Dangerous Wiki
Revision as of 02:56, 1 July 2023 by Wikipedia>Grufo
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit "Template:Diff/translator/doc" to edit its documentation if it is available. (How does this work?)

Helper subtemplate

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.