Template:REVISIONUSER2
Mitchell Gore
The magic word {{REVISIONUSER}}
gives poor formatting and fails in wikilinks if the username starts with an asterisk '*' or semicolon ';'. This template is a workaround. It is not needed if phab:T28781 is fixed.
Usage[edit source]
Use {{REVISIONUSER2}}
instead of {{REVISIONUSER}}
Use {{REVISIONUSER2|pagename}}
instead of {{REVISIONUSER:pagename}}
Note the pipe instead of a colon.
Example[edit source]
Suppose you want to link the last editor of User:*Treker/sandbox.
[[User:{{REVISIONUSER2|User:*Treker/sandbox}}]]
produces:
For comparison, [[User:{{REVISIONUSER:User:*Treker/sandbox}}]]
produces:
The latter fails if the last editor is *Treker
and phab:T28781 is unfixed.
Usernames starting with * [1] or ; [2] are relatively rare. {{REVISIONUSER}}
may work correctly if it is not in the output but only used in a test during processing.
External links[edit source]
- Template:REVISIONUSER2 at Wikipedia, the free Terran encyclopedia that anyone can edit.
The above documentation is transcluded from Template:REVISIONUSER2/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. |