Difference between revisions of "Template:Template sandbox"

From Unofficial Fantasica Wiki
Jump to: navigation, search
Line 3: Line 3:
  
 
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:
 
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_6
+
www.fantasicawiki.com/wiki/Sales_Template_4
  
  
Usage: <nowiki>{{Sales_6|CardName|Level1|Price1|Level2|Price2|Notes}}</nowiki></noinclude><includeonly>{{#get_db_data:
+
Usage: <nowiki>{{Sales_4|CardName|Level|Ascension|Price|Notes}}</nowiki></noinclude><includeonly>
 +
{{#get_db_data:
 
db=fantawiki
 
db=fantawiki
 
|from=units
 
|from=units
Line 13: Line 14:
 
|data=name=`name`,rarity=`rarity`
 
|data=name=`name`,rarity=`rarity`
 
}}{{#ifexpr: {{#ifexist: File:{{{1}}}_card.jpg|1|0}}=0 | {{!}}
 
}}{{#ifexpr: {{#ifexist: File:{{{1}}}_card.jpg|1|0}}=0 | {{!}}
{{{!}} style="border:2px solid black; background: #e0e0e0; width:316px"
+
{{{!}} style="border:2px solid black; background: #e0e0e0"
{{!}} colspan="4" {{!}} [[File:unknown_card.jpg{{!}}link={{!}}150px]]
+
{{!}} colspan="3" {{!}} [[File:unknown_card.jpg{{!}}link={{!}}220px]]
 
{{!}}-
 
{{!}}-
{{!}} style="width:40px"{{!}} Lv{{{2}}} {{!!}} style="width:110px"{{!}} '''Price: {{{3}}}''' {{!!}} style="width:40px"{{!}} Lv{{{4}}} {{!!}} style="width:110px"{{!}} '''Price: {{{5}}}'''
+
{{!}} Lv{{{2}}} {{!!}} {{{3}}} {{!!}} {{{4}}}
 
{{!}}-
 
{{!}}-
{{!}} colspan="4"{{!}} {{{6}}}
+
{{!}} colspan="3" {{!}} {{{5}}}  
{{!}}} | {{#ifexpr: {{#ifeq:{{{6}}}|RESERVED|1|0}}=1| {{!}}
+
{{!}}} | {{#ifexpr: {{#ifeq:{{{5}}} or {{{4}}}|RESERVED or Reserved or reserved or SOLD or Sold or sold|1|0}}=1| {{!}}
{{{!}} style="border:2px solid red; background: #f9bbbb; width:316px"
+
{{{!}} style="border:2px solid red; background: #f9bbbb"
{{!}} colspan="4" {{!}} [[File:{{{1}}}_card.jpg{{!}}link={{{1}}}{{!}}150px]]{{#ifexist: File:{{{1}}}_mlb_card.jpg|[[File:{{{1}}}_mlb_card.jpg{{!}}link={{{1}}}{{!}}150px]]|}}
+
{{!}} colspan="3" {{!}} [[File:{{{1}}}_card.jpg{{!}}link={{{1}}}{{!}}220px]]
 
{{!}}-
 
{{!}}-
{{!}} style="width:40px"{{!}} Lv{{{2}}} {{!!}} style="width:110px"{{!}} '''Price: {{{3}}}''' {{!!}} style="width:40px"{{!}} Lv{{{4}}} {{!!}} style="width:110px"{{!}} '''Price: {{{5}}}'''
+
{{!}} Lv{{{2}}} {{!!}} {{{3}}} {{!!}} {{{4}}}
 
{{!}}-
 
{{!}}-
{{!}} colspan="4"{{!}} {{{6}}}
+
{{!}} colspan="3" {{!}} {{{5}}}  
{{!}}} | {{#ifexpr: {{#ifeq:{{{6}}}|Reserved|1|0}}=1| {{!}}
+
{{!}}} | {{#ifexpr: {{#external_value:rarity}}>9 and {{{2}}}={{#external_value:rarity}}*20+40| {{!}}
{{{!}} style="border:2px solid red; background: #f9bbbb; width:316px"
+
{{{!}} style="border:2px solid limegreen; background: #e3efe3"
{{!}} colspan="4" {{!}} [[File:{{{1}}}_card.jpg{{!}}link={{{1}}}{{!}}150px]]{{#ifexist: File:{{{1}}}_mlb_card.jpg|[[File:{{{1}}}_mlb_card.jpg{{!}}link={{{1}}}{{!}}150px]]|}}
+
{{!}} colspan="3" {{!}} [[File:{{{1}}}_card.jpg{{!}}link={{{1}}}{{!}}220px]]
 
{{!}}-
 
{{!}}-
{{!}} style="width:40px"{{!}} Lv{{{2}}} {{!!}} style="width:110px"{{!}} '''Price: {{{3}}}''' {{!!}} style="width:40px"{{!}} Lv{{{4}}} {{!!}} style="width:110px"{{!}} '''Price: {{{5}}}'''
+
{{!}} Lv{{{2}}} {{!!}} {{{3}}} {{!!}} {{{4}}}
 
{{!}}-
 
{{!}}-
{{!}} colspan="4"{{!}} {{{6}}}
+
{{!}} colspan="3" {{!}} {{{5}}}
{{!}}} | {{#ifexpr: {{#ifeq:{{{6}}}|reserved|1|0}}=1| {{!}}
+
{{!}}} | {{#ifexpr: {{#external_value:rarity}}<10 and {{{2}}}={{#external_value:rarity}}*20+20| {{!}}
{{{!}} style="border:2px solid red; background: #f9bbbb; width:316px"
+
{{{!}} style="border:2px solid limegreen; background: #e3efe3"
{{!}} colspan="4" {{!}} [[File:{{{1}}}_card.jpg{{!}}link={{{1}}}{{!}}150px]]{{#ifexist: File:{{{1}}}_mlb_card.jpg|[[File:{{{1}}}_mlb_card.jpg{{!}}link={{{1}}}{{!}}150px]]|}}
+
{{!}} colspan="3" {{!}} [[File:{{{1}}}_card.jpg{{!}}link={{{1}}}{{!}}220px]]
 
{{!}}-
 
{{!}}-
{{!}} style="width:40px"{{!}} Lv{{{2}}} {{!!}} style="width:110px"{{!}} '''Price: {{{3}}}''' {{!!}} style="width:40px"{{!}} Lv{{{4}}} {{!!}} style="width:110px"{{!}} '''Price: {{{5}}}'''
+
{{!}} Lv{{{2}}} {{!!}} {{{3}}} {{!!}} {{{4}}}
 
{{!}}-
 
{{!}}-
{{!}} colspan="4"{{!}} {{{6}}}
+
{{!}} colspan="3" {{!}} {{{5}}}
{{!}}} | {{#ifexpr: {{#ifeq:{{{6}}}|SOLD|1|0}}=1| {{!}}
+
{{!}}} | {{#ifexpr: {{{2}}}={{#external_value:rarity}}*20| {{!}}
{{{!}} style="border:2px solid red; background: #f9bbbb; width:316px"
+
{{{!}} style="border:2px solid blue; background: #e3e5ef"
{{!}} colspan="4" {{!}} [[File:{{{1}}}_card.jpg{{!}}link={{{1}}}{{!}}150px]]{{#ifexist: File:{{{1}}}_mlb_card.jpg|[[File:{{{1}}}_mlb_card.jpg{{!}}link={{{1}}}{{!}}150px]]|}}
+
{{!}} colspan="3" {{!}} [[File:{{{1}}}_card.jpg{{!}}link={{{1}}}{{!}}220px]]
 
{{!}}-
 
{{!}}-
{{!}} style="width:40px"{{!}} Lv{{{2}}} {{!!}} style="width:110px"{{!}} '''Price: {{{3}}}''' {{!!}} style="width:40px"{{!}} Lv{{{4}}} {{!!}} style="width:110px"{{!}} '''Price: {{{5}}}'''
+
{{!}} Lv{{{2}}} {{!!}} {{{3}}} {{!!}} {{{4}}}
 
{{!}}-
 
{{!}}-
{{!}} colspan="4"{{!}} {{{6}}}
+
{{!}} colspan="3" {{!}} {{{5}}}
{{!}}} | {{#ifexpr: {{#ifeq:{{{6}}}|Sold|1|0}}=1| {{!}}
+
{{!}}} | {{#ifexpr: {{{2}}}>1 and {{{2|}}}<{{#external_value:rarity}}*20| {{!}}
{{{!}} style="border:2px solid red; background: #f9bbbb; width:316px"
+
{{{!}} style="border:2px solid purple; background: #ede3ef"
{{!}} colspan="4" {{!}} [[File:{{{1}}}_card.jpg{{!}}link={{{1}}}{{!}}150px]]{{#ifexist: File:{{{1}}}_mlb_card.jpg|[[File:{{{1}}}_mlb_card.jpg{{!}}link={{{1}}}{{!}}150px]]|}}
+
{{!}} colspan="3" {{!}} [[File:{{{1}}}_card.jpg{{!}}link={{{1}}}{{!}}220px]]
 
{{!}}-
 
{{!}}-
{{!}} style="width:40px"{{!}} Lv{{{2}}} {{!!}} style="width:110px"{{!}} '''Price: {{{3}}}''' {{!!}} style="width:40px"{{!}} Lv{{{4}}} {{!!}} style="width:110px"{{!}} '''Price: {{{5}}}'''
+
{{!}} Lv{{{2}}} {{!!}} {{{3}}} {{!!}} {{{4}}}
 
{{!}}-
 
{{!}}-
{{!}} colspan="4"{{!}} {{{6}}}
+
{{!}} colspan="3" {{!}} {{{5}}}
{{!}}} | {{#ifexpr: {{#ifeq:{{{6}}}|sold|1|0}}=1| {{!}}
+
{{!}}} | {{#ifexpr: {{{2}}}=1| {{!}}
{{{!}} style="border:2px solid red; background: #f9bbbb; width:316px"
+
{{{!}} style="border:2px solid black; background: #e0e0e0"
{{!}} colspan="4" {{!}} [[File:{{{1}}}_card.jpg{{!}}link={{{1}}}{{!}}150px]]{{#ifexist: File:{{{1}}}_mlb_card.jpg|[[File:{{{1}}}_mlb_card.jpg{{!}}link={{{1}}}{{!}}150px]]|}}
+
{{!}} colspan="3" {{!}} [[File:{{{1}}}_card.jpg{{!}}link={{{1}}}{{!}}220px]]
 
{{!}}-
 
{{!}}-
{{!}} style="width:40px"{{!}} Lv{{{2}}} {{!!}} style="width:110px"{{!}} '''Price: {{{3}}}''' {{!!}} style="width:40px"{{!}} Lv{{{4}}} {{!!}} style="width:110px"{{!}} '''Price: {{{5}}}'''
+
{{!}} Lv{{{2}}} {{!!}} {{{3}}} {{!!}} {{{4}}}
 
{{!}}-
 
{{!}}-
{{!}} colspan="4"{{!}} {{{6}}}
+
{{!}} colspan="3" {{!}} {{{5}}}
{{!}}} | {{!}}
+
{{!}}} | }} }} }} }} }} }} }} }} }} }} }} }}{{#clear_external_data:}}</includeonly>
{{{!}} style="border:2px solid black; background: #e0e0e0; width:316px"
+
{{!}} colspan="4" {{!}} [[File:{{{1}}}_card.jpg{{!}}link={{{1}}}{{!}}150px]]{{#ifexist: File:{{{1}}}_mlb_card.jpg|[[File:{{{1}}}_mlb_card.jpg{{!}}link={{{1}}}{{!}}150px]]|}}
+
{{!}}-
+
{{!}} style="width:40px"{{!}} Lv{{{2}}} {{!!}} style="width:110px"{{!}} '''Price: {{{3}}}''' {{!!}} style="width:40px"{{!}} Lv{{{4}}} {{!!}} style="width:110px"{{!}} '''Price: {{{5}}}'''
+
{{!}}-
+
{{!}} colspan="4"{{!}} {{{6}}}
+
{{!}}} }} }} }} }} }} }} }}{{#clear_external_data:}}</includeonly>
+

Revision as of 23:25, 11 November 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}}

Personal tools
Namespaces

Variants
Actions
Menu
Game Menu
Card Lists
Trading
External Resources
Toolbox