Template:Character

From Edge of Darkness Wiki

Character
Jump to: navigation, search
m
m
Line 222: Line 222:
|}}{{#switch:{{{Retainer Type|}}}
|}}{{#switch:{{{Retainer Type|}}}
|Ghoul = <div class="Ghoulbordercolor" style="float: right; margin-left: 10px; text-align: center;">[[Image:{{{Retainer Of|}}}.jpg|100px|alt={{{Retainer Of|}}}|link={{{Retainer Of|}}}]]</div>
|Ghoul = <div class="Ghoulbordercolor" style="float: right; margin-left: 10px; text-align: center;">[[Image:{{{Retainer Of|}}}.jpg|100px|alt={{{Retainer Of|}}}|link={{{Retainer Of|}}}]]</div>
-
|}}</includeonly>
+
|}}{{#clear_external_data:}}{{#get_db_data:db=nwod
 +
|from=post JOIN thread ON (thread.threadid = post.threadid)
 +
|where=thread.forumid IN ({{#switch:{{#show: {{BASEPAGENAME}} |?Venue#= }}|Changeling=98|Mage=258|Vampire=61|61,258,98}}) AND
 +
post.iconid IN (50,51,52,53,54) AND
 +
post.userid = '{{{forumid|}}}' AND
 +
thread.prefixid IN ('City','consilium','freehold_status') AND
 +
thread.lastpost >= UNIX_TIMESTAMP()-10000000
 +
|data={{{forumid|}}}statusfor=thread.title,{{{forumid|}}}status=(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),{{{forumid|}}}venue=(case when thread.forumid = 61 then 'Vampire' when thread.forumid = 258 then 'Mage' when thread.forumid = 98 then 'Changeling' end)}}{{dontshow|{{#for_external_table:  [[{{{{{{forumid|}}}statusgiven}}}::{{{{{{forumid|}}}statusfor}}}]] }}}}</includeonly>

Revision as of 17:54, 18 May 2016

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