Difference between revisions of "Template:Infobox Card"
From Unofficial Fantasica Wiki
m (Testing recruitable) |
(Test : Recruitable using Monster Db) |
||
Line 1: | Line 1: | ||
+ | {{#get_db_data: | ||
+ | db=fantawiki | ||
+ | |from=monsters | ||
+ | |where=recruitable='{{{name|Paris}}}' | ||
+ | |limit=1 | ||
+ | |data=mname=`name`,recruitable=`recruitable` | ||
+ | }} | ||
+ | |||
+ | |||
+ | |||
{{Infobox | {{Infobox | ||
|title = {{{fullname|{{{name|Paris}}}}}} | |title = {{{fullname|{{{name|Paris}}}}}} | ||
Line 27: | Line 37: | ||
{{!}}} | {{!}}} | ||
|data4 = <div style="width:270px; white-space:normal; border-top:solid 1px #999;">{{{source|Source Unknown}}}</div> | |data4 = <div style="width:270px; white-space:normal; border-top:solid 1px #999;">{{{source|Source Unknown}}}</div> | ||
+ | <!-- Old Monster Detection | ||
{{#ifexist: {{{name}}}_m | <div style="width:270px; white-space:normal; border-top:solid 1px #999">[[Recruitment|Recruited]] from:<br>[[Image:Soul_stone_s_icon.png|64px]] {{Icon|{{{name}}}_m}} [[Image:Soul_stone_s_icon.png|64px]]</div>| }} | {{#ifexist: {{{name}}}_m | <div style="width:270px; white-space:normal; border-top:solid 1px #999">[[Recruitment|Recruited]] from:<br>[[Image:Soul_stone_s_icon.png|64px]] {{Icon|{{{name}}}_m}} [[Image:Soul_stone_s_icon.png|64px]]</div>| }} | ||
+ | --> | ||
+ | {{#ifeq: {{{recruitable|}}} | {{{name}}} | | ||
+ | <div style="width:270px; white-space:normal; border-top:solid 1px #999">[[Recruitment|Recruited]] from:<br>[[Image:Soul_stone_s_icon.png|64px]] {{Icon|{{{mname}}} }} [[Image:Soul_stone_s_icon.png|64px]]</div>| }} | ||
}} | }} |
Revision as of 16:42, 19 June 2014
| |||||||||||||||||||
| |||||||||||||||||||
| |||||||||||||||||||
Source Unknown |