Template:Rev

From Linux Web Expert

Revision as of 18:07, 21 July 2022 by imported>BDavis (WMF) (Change SVN link target to https://static-codereview.wikimedia.org rather than the deprecated SVN repo on phabricator (phab:T308061))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


r{{{1}}}

Template documentation

<templatedata> { "description": { "en": "This template can be used to link to a specific SVN revision.", "cs": "Tuto šablonu lze použít k propojení s konkrétní revizí SVN.", "de": "Diese Vorlage kann benutzt werden, um eine spezifische SVN-Revision zu verlinken." }, "format": "inline", "params": { "1": { "label": { "en": "revision", "cs": "Revize", "de": "Revision" }, "description": { "en": "The SVN revision number, or “?” if unknown. “?” categorizes the page to “Pages with a wanted revision number”", "cs": "Číslo revize SVN nebo “?” pokud neznáme. “?” kategorizuje stránku do “Pages with a wanted revision number” (stránky s požadovaným číslem revize)", "de": "Die SVN-Revisionnummer, oder „?“, falls sie unbekannt ist. „?“ kategorisiert die Seite in „Pages with a wanted revision number“" }, "example": "1234", "type": "line", "required": true }, "2": { "label": { "en": "link text", "cs": "Text odkazu", "de": "Linktext" }, "description": { "en": "Text of the revision link. Not used if the revision number is “?”", "cs": "Text odkazu na revizi. Nepoužívá se, pokud je číslo revize “?”", "de": "Text des Revisionlinks. Nicht benutzt, wenn die Revisionnummer „?“ ist" }, "type": "line", "default": { "en": "r<revision ID>, e.g. r1234", "cs": "r<ID revise>, e.g. r1234", "de": "r<Revisionnummer>, z. B. r1234" } } } } </templatedata>

Usage

{{Rev}} / {{Rev|?}}

<span class="plainlinks" title="<translate nowrap> A revision number is wanted.</translate> <translate nowrap> Click here to edit and add it!</translate>">r? (categorizes the page into Category:Pages with a wanted revision number )

* {{Rev|1}}
* {{Rev|54321|woops}}