Difference between revisions of "Template:Template sandbox"

From Unofficial Fantasica Wiki
Jump to: navigation, search
Line 5: Line 5:
 
www.fantasicawiki.com/wiki/Sales_Template_4
 
www.fantasicawiki.com/wiki/Sales_Template_4
  
 
+
<pre>
 
Usage: <nowiki>{{Sales_4|CardName|Level|Ascension|Price|Notes}}</nowiki></noinclude><includeonly>
 
Usage: <nowiki>{{Sales_4|CardName|Level|Ascension|Price|Notes}}</nowiki></noinclude><includeonly>
 
{{#get_db_data:
 
{{#get_db_data:
Line 21: Line 21:
 
{{!}}-
 
{{!}}-
 
{{!}} colspan="3" {{!}} {{{5}}}  
 
{{!}} colspan="3" {{!}} {{{5}}}  
{{!}}} | didn't work }}{{#clear_external_data:}}</includeonly>
+
{{!}}}| didn't work }}{{#clear_external_data:}}</includeonly>

Revision as of 00:44, 10 October 2018

DO NOT EDIT THIS TEMPLATE UNLESS YOU KNOW WHAT YOU ARE DOING! :D

If you're trying to customize this template for yourself, please copy the text from the box here and make changes to your page manually: www.fantasicawiki.com/wiki/Sales_Template_4

Usage: {{Sales_4|CardName|Level|Ascension|Price|Notes}}</noinclude><includeonly>
{{#get_db_data:
db=fantawiki
|from=units
|where=name='{{{1}}}'
|limit=1
|data=name=`name`,rarity=`rarity`
}}
{{#ifeq: {{{5}}} | RESERVED | {{!}} 
{{{!}} style="border:2px solid red; background: #f9bbbb"
{{!}} colspan="3" {{!}} [[File:{{{1}}}_mlb_card.jpg{{!}}link={{{1}}}{{!}}220px]]
{{!}}-
{{!}} Lv{{{2}}} {{!!}} {{{3}}} {{!!}} {{{4}}}
{{!}}-
{{!}} colspan="3" {{!}} {{{5}}} 
{{!}}}| didn't work }}{{#clear_external_data:}}</includeonly>
Personal tools
Namespaces

Variants
Actions
Menu
Game Menu
Card Lists
Trading
External Resources
Toolbox