Template:User
From Edge of Darkness Wiki
User
m |
|||
| Line 1: | Line 1: | ||
| - | <includeonly>{{#get_db_data: | + | <includeonly>{{#get_db_data:db=nwod |
| + | |from=rank_user JOIN rank ON rank.rank_id = rank_user.rank_id JOIN user on user.userid = rank_user.userid | ||
| + | |where=user.username='{{BASEPAGENAME}}' | ||
| + | |data={{PAGENAMEE}}rankname=rank_name,{{PAGENAMEE}}rankimage=rank_img_url | ||
| + | }}<div style="position: absolute; right: 0px; top: -25px;"> | ||
| + | {{#for_external_table: <div style="display: inline; padding-left: 3px;" ><html><a href="http://nwod.org/forum/member.php?</html>{{#external_value: {{{threadid|}}}forumid }}<html>&tab=myranks" title="</html>{{{{{{threadid|}}}rankname}}}<html>"><img src="http://nwod.org/forum/</html>{{{{{{threadid|}}}rankimage}}}<html>" /></a></html></div> }} | ||
| + | </div>{{#get_db_data: | ||
db=nwod | db=nwod | ||
|from=user | |from=user | ||
Revision as of 13:40, 25 January 2017
[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:
|