Difference between revisions of "Template:Wkb-user"
From Worms Knowledge Base
Explorer09 (Talk | contribs) m |
Explorer09 (Talk | contribs) (added Logs; parameter 1 no longer defaults to PAGENAME) |
||
Line 1: | Line 1: | ||
− | <includeonly>{| class="infobox" style="float: none;" | + | <includeonly>{| class="infobox plainlinks noprint" style="float: none;" |
− | |'''This person is a | + | |'''This person is a Worms Knowledge Base user.'''<br/><!-- |
+ | -->{{#if:{{{nouserpage|}}}||[[User:{{{1}}}|User page]] •}} <!-- | ||
+ | -->[[User talk:{{{1}}}|User talk]] • <!-- | ||
+ | -->[[Special:Contributions/{{{1|{{PAGENAME}}}}}|User contributions]] • <!-- | ||
+ | -->{{#if:{{{log|}}}|[{{fullurl:Special:Log|user={{{1}}}}} Logs] •}} <!-- | ||
+ | -->{{#if:{{{email|}}}|[mailto:{{{email}}} E-mail this user]|[[Special:EmailUser/{{{1}}}|E-mail this user]]}} | ||
|}</includeonly><noinclude>This template is for persons who have both "People/" page and "User:" page. | |}</includeonly><noinclude>This template is for persons who have both "People/" page and "User:" page. | ||
The template looks like this: | The template looks like this: | ||
{| class="infobox" style="float: none;" | {| class="infobox" style="float: none;" | ||
− | |'''This person is a | + | |'''This person is a Worms Knowledge Base user.'''<br/>[[Special:MyPage|User page]] • [[Special:MyTalk|User talk]] • [[Special:MyContributions|User contributions]] • [[Special:Log|Logs]] • E-mail this user |
|} | |} | ||
+ | The [[Special:Log|Logs]] link is hidden by default. | ||
==Usage== | ==Usage== | ||
Line 12: | Line 18: | ||
===Parameters=== | ===Parameters=== | ||
− | *'''1''': The user name | + | *'''1''': The user name |
*'''email''': (optional) If the user wants to reveal his/her e-mail address, it can be typed here (like [mailto:example@example.com example@example.com]). | *'''email''': (optional) If the user wants to reveal his/her e-mail address, it can be typed here (like [mailto:example@example.com example@example.com]). | ||
*'''nouserpage''': Set "1" to remove the user page link. (Useful if the user page redirects back to the "People/" page) | *'''nouserpage''': Set "1" to remove the user page link. (Useful if the user page redirects back to the "People/" page) | ||
+ | *'''log''': Set "1" to show the "Logs" link. | ||
</noinclude> | </noinclude> |
Revision as of 09:14, 17 April 2010
This template is for persons who have both "People/" page and "User:" page.
The template looks like this:
This person is a Worms Knowledge Base user. User page • User talk • User contributions • Logs • E-mail this user |
The Logs link is hidden by default.
Usage
{{Wkb-user|user name}}
Parameters
- 1: The user name
- email: (optional) If the user wants to reveal his/her e-mail address, it can be typed here (like example@example.com).
- nouserpage: Set "1" to remove the user page link. (Useful if the user page redirects back to the "People/" page)
- log: Set "1" to show the "Logs" link.