Difference between revisions of "Template:Infobox Card"

From Unofficial Fantasica Wiki
Jump to: navigation, search
(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

Paris
Paris icon.png
★★★★★★
Paris.gif
Paris
Blank album 6.png
Melee icon.png Melee  ? Range  ? Speed
 ? Cost no skill
Lvl Ground icon.png Air icon.png Sea icon.png Total Arena
120  ???  ???  ???  ???  ???
140  ???  ???  ???  ???  ???
Source Unknown
Personal tools
Namespaces

Variants
Actions
Menu
Game Menu
Card Lists
Trading
External Resources
Toolbox
Google AdSense