Template:REVISIONUSER2
Sarna News
- HEXTECH Review - Wave 3 Brings More Urban Options To Your Battlefield
- Your BattleTech News Round-Up For March, 2024
- Crashing 'Mechs With Jennifer Brozek, Author Of The Rogue Academy Trilogy
- Getting The Word Out With Rem Alternis, Catalyst Community & Marketing Director
- Bad 'Mechs - Yeoman
- Read more →
Deadfire
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. Usernames starting with '*' or ';' are relatively rare. {{REVISIONUSER}}
may work correctly if it is not in the output but only used in a test during processing.
Contents
Usage[edit]
Use {{REVISIONUSER2}}
instead of {{REVISIONUSER}}
Use {{REVISIONUSER2|pagename}}
instead of {{REVISIONUSER:pagename}}
Note the pipe instead of a colon.
Example[edit]
Suppose you want to link the last editor of User:Deadfire/Sandbox.
[[User:{{REVISIONUSER2|User:Deadfire/Sandbox}}]]
produces:
Alternative approach[edit]
Wrapping {{REVISIONUSER}}
with {{#invoke:String2|nowiki|...}}
so it looks like {{#invoke:String2|nowiki|{{REVISIONUSER}}}}
also works.