Template:Character
From Edge of Darkness Wiki
Character
m |
m |
||
| Line 43: | Line 43: | ||
}}<!-- DB FROM VENUE FOR QUOTES PAGE -->{{#switch: {{#show: {{PAGENAME}} |?Venue# }} | }}<!-- DB FROM VENUE FOR QUOTES PAGE -->{{#switch: {{#show: {{PAGENAME}} |?Venue# }} | ||
|Changeling = {{#get_db_data:db=nwod | |Changeling = {{#get_db_data:db=nwod | ||
| - | |from=post JOIN thread ON (thread.threadid = post.threadid) | + | |from=post JOIN thread ON (thread.threadid = post.threadid) JOIN user ON (user.username = thread.title) |
| - | |where=thread.forumid IN (98) AND post.iconid IN (50,51,52,53,54) AND post.userid = '{{{forumid|}}}' AND thread.prefixid IN ('freehold_status') AND thread.lastpost >= UNIX_TIMESTAMP()-12*30*24*60*60 | + | |where=thread.forumid IN (98) AND post.iconid IN (50,51,52,53,54) AND post.userid = '{{{forumid|}}}' AND thread.prefixid IN ('freehold_status') AND thread.lastpost >= UNIX_TIMESTAMP()-12*30*24*60*60 AND user.usergroupid NOT IN ('123','126') |
|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) | |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) | ||
}} | }} | ||
Revision as of 16:08, 19 August 2016
[create]
Template documentation
| Editors can experiment in this template's sandbox (create). Subpages of this template: |