Template:Character

From Edge of Darkness Wiki

Character
Jump to: navigation, search
m
m
Line 113: Line 113:
</tr>
</tr>
</table>
</table>
-
|Vampire={{#switch: {{{Status|}}}
+
|Vampire={{#get_db_data:db=nwod
 +
|from=post JOIN thread ON (thread.threadid = post.threadid)
 +
|where=thread.forumid IN (61) AND post.iconid IN (50,51,52,53,54) AND post.userid = '{{{forumid|}}}' AND thread.prefixid IN ('City') AND thread.lastpost >= UNIX_TIMESTAMP()-10000000
 +
|data={{{forumid|}}}statusfor=thread.title,{{{forumid|}}}statusgiven=(case when post.iconid = 50 then 'Acknowledges' when post.iconid = 51 then 'Recognizes' when post.iconid = 52 then 'Values' when post.iconid = 53 then 'Respects' when post.iconid = 54 then 'Admires' end)
 +
}}{{#switch: {{{Status|}}}
|Active = {{#if:{{{Domain Title|}}} |{{#set:Domain Title={{{Domain Title|}}} }} |}}
|Active = {{#if:{{{Domain Title|}}} |{{#set:Domain Title={{{Domain Title|}}} }} |}}
{{#if:{{{Clan Title|}}} |{{#set:Clan Title={{{Clan Title|}}} }} |}}
{{#if:{{{Clan Title|}}} |{{#set:Clan Title={{{Clan Title|}}} }} |}}

Revision as of 18:07, 18 May 2016

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