Difference between revisions of "Template:Staff"

From RimWorld Wiki
Jump to navigation Jump to search
(Hopefully not too far off from working)
(Added check to suppress redlink if the user page doesn't exist.)
 
(3 intermediate revisions by one other user not shown)
Line 3: Line 3:
 
It should be called in the following format:
 
It should be called in the following format:
 
<pre>
 
<pre>
{{Staff
+
{{Staff|user=USERNAME|role=STAFF ROLE}}
| user =  
 
| role =  
 
}}
 
 
</pre>
 
</pre>
Edit the page to see the template text.
 
 
</noinclude><includeonly>
 
</noinclude><includeonly>
 
{{!}}-
 
{{!}}-
{{!}} [[User:{{{user|}}}|{{{user|}}}]] {{!}}{{!}} {{{role|}}} {{!}}{{!}} [[User talk:{{{user|}}}|talk]] &bull; [[Special:Contributions/{{{user|}}}|contribs]]</includeonly>
+
{{!}} {{#ifexist: User:{{{user|}}} | [[User:{{{user|}}}|{{{user|}}}]] | {{{user|}}}}} {{!}}{{!}} {{{role|}}} {{!}}{{!}} [[User talk:{{{user|}}}|talk]] &bull; [[Special:Contributions/{{{user|}}}|contribs]]</includeonly><!--
 +
--><noinclude>[[Category:Formatting templates]]</noinclude>

Latest revision as of 16:59, 12 June 2020

This is the "Staff" template. It should be called in the following format:

{{Staff|user=USERNAME|role=STAFF ROLE}}