Difference between revisions of "Template:Infobox Card"
From Unofficial Fantasica Wiki
(Finally managed to get the "recruit from" from the database) |
m |
||
Line 29: | Line 29: | ||
<!-- Old Monster Detection | <!-- 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>| }} | ||
− | --> | + | -->{{#get_db_data: |
− | + | ||
− | {{#get_db_data: | + | |
db=fantawiki | db=fantawiki | ||
|from=monsters | |from=monsters | ||
Line 37: | Line 35: | ||
|limit=1 | |limit=1 | ||
|data=mname=`name`,recruitable=`recruitable` | |data=mname=`name`,recruitable=`recruitable` | ||
− | }} | + | }}{{#ifeq: {{#external_value:recruitable}} | {{{name}}} | |
− | {{#ifeq: {{#external_value: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|{{#external_value:mname}} }} [[Image:Soul_stone_s_icon.png|64px]]</div>| }} | <div style="width:270px; white-space:normal; border-top:solid 1px #999">[[Recruitment|Recruited]] from:<br>[[Image:Soul_stone_s_icon.png|64px]] {{Icon|{{#external_value:mname}} }} [[Image:Soul_stone_s_icon.png|64px]]</div>| }} | ||
}} | }} |
Revision as of 16:23, 25 June 2014
| |||||||||||||||||||
| |||||||||||||||||||
| |||||||||||||||||||
Source Unknown |