Template:Character

From Edge of Darkness Wiki

Character
Jump to: navigation, search
m
m
Line 6: Line 6:
|where=userid='{{{forumid|}}}'
|where=userid='{{{forumid|}}}'
|data={{{forumid|}}}forumid=userid,{{{forumid|}}}posts=posts,{{{forumid|}}}lastactivity=lastpost
|data={{{forumid|}}}forumid=userid,{{{forumid|}}}posts=posts,{{{forumid|}}}lastactivity=lastpost
-
}}{{#get_db_data:db=nwod
+
}}{{#switch: {{{minisheet|}}}
-
|from=userlist
+
-
|where=userid='{{{forumid|}}}' and type='buddy' and friend='yes'
+
-
|data={{{forumid|}}}friend=relationid
+
-
}}{{#get_db_data:db=nwod
+
-
|from=userlist
+
-
|where=userid='{{{forumid|}}}' and type='buddy' and friend='no'
+
-
|data={{{forumid|}}}contact=relationid
+
-
}}{{#arraymap:{{#for_external_table: {{{{{{forumid|}}}friend}}}, }}|,|xxx|{{#set:Friend To={{#ask: [[PC or NPC::PC]] [[forumid::xxx]] |link=none}}}}}}{{#arraymap:{{#for_external_table: {{{{{{forumid|}}}contact}}}, }}|,|yyy|{{#set:Connected To={{#ask: [[PC or NPC::PC]] [[forumid::yyy]] |link=none}}}}}}{{#switch: {{{minisheet|}}}
+
|1={{#get_db_data:db=nwod
|1={{#get_db_data:db=nwod
|from=userfield
|from=userfield

Revision as of 20:06, 15 May 2016

[create] Template documentation
Personal tools
Namespaces
Variants
Actions
Navigation
games
Toolbox