Difference between revisions of "Template:Infobox Card test"
From Unofficial Fantasica Wiki
m (testing adding HP) |
m (adjusting width) |
||
Line 26: | Line 26: | ||
{{!}} {{#ifexpr: {{{rarity|6}}}>9 | {{#expr: {{{rarity|6}}}*20 + 40 }} | {{#expr: {{{rarity|6}}}*20 + 20 }} }} {{!!}} {{{ground2|???}}} {{!!}} {{{air2|???}}} {{!!}} {{{sea2|???}}} {{!!}} {{{total2|???}}} {{!!}} {{{arenalb|???}}} {{!!}} {{{mlbhp|???}}} | {{!}} {{#ifexpr: {{{rarity|6}}}>9 | {{#expr: {{{rarity|6}}}*20 + 40 }} | {{#expr: {{{rarity|6}}}*20 + 20 }} }} {{!!}} {{{ground2|???}}} {{!!}} {{{air2|???}}} {{!!}} {{{sea2|???}}} {{!!}} {{{total2|???}}} {{!!}} {{{arenalb|???}}} {{!!}} {{{mlbhp|???}}} | ||
{{!}}} | {{!}}} | ||
− | |data4 = <div style="width: | + | |data4 = <div style="width:300px; white-space:normal; border-top:solid 1px #999;">{{{source|Source Unknown}}}</div> |
<!-- Old Monster Detection | <!-- Old Monster Detection | ||
− | {{#ifexist: {{{name}}}_m | <div style="width: | + | {{#ifexist: {{{name}}}_m | <div style="width:300px; 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 | ||
Line 36: | Line 36: | ||
|data=mname=`name`,recruitable=`recruitable` | |data=mname=`name`,recruitable=`recruitable` | ||
}}{{#ifeq: {{#external_value:recruitable}} | {{{name}}} | | }}{{#ifeq: {{#external_value:recruitable}} | {{{name}}} | | ||
− | <div style="width: | + | <div style="width:300px; 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 02:17, 27 January 2016
| ||||||||||||||||||||||
| ||||||||||||||||||||||
| ||||||||||||||||||||||
Source Unknown |