Template:User
From Edge of Darkness Wiki
User
m |
m |
||
| Line 29: | Line 29: | ||
|belowstyle = | |belowstyle = | ||
|below = <span style="font-style:bold; color: #ff9933; white-space: nowrap; font-size: 120%;">Community</span><br /><span style="white-space: nowrap;">[[:Category:Players|Players]] • [[Staff]] • [[Achievements]]</span> | |below = <span style="font-style:bold; color: #ff9933; white-space: nowrap; font-size: 120%;">Community</span><br /><span style="white-space: nowrap;">[[:Category:Players|Players]] • [[Staff]] • [[Achievements]]</span> | ||
| - | }}[[Category:Players|{{PAGENAME}}]]{{#switch: {{{POTM2|}}}|Yes={{#set:Achievement=Player of the Month|Player of the Month={{{POTM2Month|}}} {{{POTM2Year|}}} }} }}{{#switch: {{{POTM3|}}}|Yes={{#set:Achievement=Player of the Month|Player of the Month={{{POTM3Month|}}} {{{POTM3Year|}}} }} }}</includeonly> | + | }}[[Category:Players|{{PAGENAME}}]]{{#switch: {{{POTM2|}}}|Yes={{#set:Achievement=Player of the Month|Player of the Month={{{POTM2Month|}}} {{{POTM2Year|}}} }} }}{{#switch: {{{POTM3|}}}|Yes={{#set:Achievement=Player of the Month|Player of the Month={{{POTM3Month|}}} {{{POTM3Year|}}} }} }}{{#get_db_data: |
| + | db=nwod | ||
| + | |from=user | ||
| + | |where=username={{BASEPAGENAME}} | ||
| + | |data=forumid=userid | ||
| + | }}{{#set:forumid={{#external_value:forumid}}}}</includeonly> | ||
<noinclude>{{Documentation}}[[Category:Player Use Templates]]</noinclude> | <noinclude>{{Documentation}}[[Category:Player Use Templates]]</noinclude> | ||
Revision as of 23:46, 29 March 2016
[edit] []
Template documentation
Usage:
{{User}}
This should be automated by the Edit button, calling up the Form:Edit User
There is also a Notes field for more advanced use (such as adding Achievement icons). The full template is:
{{User
|Show =
}}
| The above documentation is transcluded from Template:User/doc. (edit | history) Editors can experiment in this template's sandbox (create). Subpages of this template:
|