Difference between revisions of "Template:Template sandbox"

From Unofficial Fantasica Wiki
Jump to: navigation, search
Line 14: Line 14:
 
|data=name=`name`,rarity=`rarity`
 
|data=name=`name`,rarity=`rarity`
 
}}
 
}}
{{#iferror: {{{1}}}=name|{{!}}
+
{{#iferror: {{#external_value:name}}={{{1}}}|{{!}}
 
{{{!}} style="border:2px solid black; background: #e0e0e0"
 
{{{!}} style="border:2px solid black; background: #e0e0e0"
 
{{!}} colspan="3" {{!}} [[File:unknown_card.jpg{{!}}link={{!}}220px]]
 
{{!}} colspan="3" {{!}} [[File:unknown_card.jpg{{!}}link={{!}}220px]]
Line 22: Line 22:
 
{{!}} colspan="3" {{!}} {{{5}}}
 
{{!}} colspan="3" {{!}} {{{5}}}
 
{{!}}}|
 
{{!}}}|
{{#ifexpr: {{#ifeq: {{{5|}}}|RESERVED|1|0}}=1|{{!}}
+
{{#ifexpr: {{#ifeq: {{{5}}}|RESERVED|1|0}}=1|{{!}}
 
{{{!}} style="border:2px solid red; background: #f9bbbb"
 
{{{!}} style="border:2px solid red; background: #f9bbbb"
 
{{!}} colspan="3" {{!}} [[File:{{{1}}}_card.jpg{{!}}link={{{1}}}{{!}}220px]]
 
{{!}} colspan="3" {{!}} [[File:{{{1}}}_card.jpg{{!}}link={{{1}}}{{!}}220px]]
Line 30: Line 30:
 
{{!}} colspan="3" {{!}} {{{5}}}  
 
{{!}} colspan="3" {{!}} {{{5}}}  
 
{{!}}}|
 
{{!}}}|
{{#ifexpr: {{#ifeq: {{{5|}}}|Reserved|1|0}}=1|{{!}}
+
{{#ifexpr: {{#ifeq: {{{5}}}|Reserved|1|0}}=1|{{!}}
 
{{{!}} style="border:2px solid red; background: #f9bbbb"
 
{{{!}} style="border:2px solid red; background: #f9bbbb"
 
{{!}} colspan="3" {{!}} [[File:{{{1}}}_card.jpg{{!}}link={{{1}}}{{!}}220px]]
 
{{!}} colspan="3" {{!}} [[File:{{{1}}}_card.jpg{{!}}link={{{1}}}{{!}}220px]]
Line 38: Line 38:
 
{{!}} colspan="3" {{!}} {{{5}}}  
 
{{!}} colspan="3" {{!}} {{{5}}}  
 
{{!}}}|
 
{{!}}}|
{{#ifexpr: {{#ifeq: {{{5|}}}|reserved|1|0}}=1|{{!}}
+
{{#ifexpr: {{#ifeq: {{{5}}}|reserved|1|0}}=1|{{!}}
 
{{{!}} style="border:2px solid red; background: #f9bbbb"
 
{{{!}} style="border:2px solid red; background: #f9bbbb"
 
{{!}} colspan="3" {{!}} [[File:{{{1}}}_card.jpg{{!}}link={{{1}}}{{!}}220px]]
 
{{!}} colspan="3" {{!}} [[File:{{{1}}}_card.jpg{{!}}link={{{1}}}{{!}}220px]]
Line 46: Line 46:
 
{{!}} colspan="3" {{!}} {{{5}}}  
 
{{!}} colspan="3" {{!}} {{{5}}}  
 
{{!}}}|
 
{{!}}}|
{{#ifexpr: {{#ifeq: {{{5|}}}|SOLD|1|0}}=1|{{!}}
+
{{#ifexpr: {{#ifeq: {{{5}}}|SOLD|1|0}}=1|{{!}}
 
{{{!}} style="border:2px solid red; background: #f9bbbb"
 
{{{!}} style="border:2px solid red; background: #f9bbbb"
 
{{!}} colspan="3" {{!}} [[File:{{{1}}}_card.jpg{{!}}link={{{1}}}{{!}}220px]]
 
{{!}} colspan="3" {{!}} [[File:{{{1}}}_card.jpg{{!}}link={{{1}}}{{!}}220px]]
Line 54: Line 54:
 
{{!}} colspan="3" {{!}} {{{5}}}  
 
{{!}} colspan="3" {{!}} {{{5}}}  
 
{{!}}}|
 
{{!}}}|
{{#ifexpr: {{#ifeq: {{{5|}}}|Sold|1|0}}=1|{{!}}
+
{{#ifexpr: {{#ifeq: {{{5}}}|Sold|1|0}}=1|{{!}}
 
{{{!}} style="border:2px solid red; background: #f9bbbb"
 
{{{!}} style="border:2px solid red; background: #f9bbbb"
 
{{!}} colspan="3" {{!}} [[File:{{{1}}}_card.jpg{{!}}link={{{1}}}{{!}}220px]]
 
{{!}} colspan="3" {{!}} [[File:{{{1}}}_card.jpg{{!}}link={{{1}}}{{!}}220px]]
Line 62: Line 62:
 
{{!}} colspan="3" {{!}} {{{5}}}  
 
{{!}} colspan="3" {{!}} {{{5}}}  
 
{{!}}}|
 
{{!}}}|
{{#ifexpr: {{#ifeq: {{{5|}}}|sold|1|0}}=1|{{!}}
+
{{#ifexpr: {{#ifeq: {{{5}}}|sold|1|0}}=1|{{!}}
 
{{{!}} style="border:2px solid red; background: #f9bbbb"
 
{{{!}} style="border:2px solid red; background: #f9bbbb"
 
{{!}} colspan="3" {{!}} [[File:{{{1}}}_card.jpg{{!}}link={{{1}}}{{!}}220px]]
 
{{!}} colspan="3" {{!}} [[File:{{{1}}}_card.jpg{{!}}link={{{1}}}{{!}}220px]]
Line 70: Line 70:
 
{{!}} colspan="3" {{!}} {{{5}}}  
 
{{!}} colspan="3" {{!}} {{{5}}}  
 
{{!}}}|
 
{{!}}}|
{{#ifexpr: {{#external_value:rarity}}>9 and {{{2|}}}={{#external_value:rarity}}*20+40|{{!}}
+
{{#ifexpr: {{#external_value:rarity}}>9 and {{{2}}}={{#external_value:rarity}}*20+40|{{!}}
 
{{{!}} style="border:2px solid green; background: #e3efe3"
 
{{{!}} style="border:2px solid green; background: #e3efe3"
 
{{!}} colspan="3" {{!}} [[File:{{{1}}}_card.jpg{{!}}link={{{1}}}{{!}}220px]]
 
{{!}} colspan="3" {{!}} [[File:{{{1}}}_card.jpg{{!}}link={{{1}}}{{!}}220px]]
Line 78: Line 78:
 
{{!}} colspan="3" {{!}} {{{5}}}
 
{{!}} colspan="3" {{!}} {{{5}}}
 
{{!}}}|
 
{{!}}}|
{{#ifexpr: {{#external_value:rarity}}<10 and {{{2|}}}={{#external_value:rarity}}*20+20|{{!}}
+
{{#ifexpr: {{#external_value:rarity}}<10 and {{{2}}}={{#external_value:rarity}}*20+20|{{!}}
 
{{{!}} style="border:2px solid green; background: #e3efe3"
 
{{{!}} style="border:2px solid green; background: #e3efe3"
 
{{!}} colspan="3" {{!}} [[File:{{{1}}}_card.jpg{{!}}link={{{1}}}{{!}}220px]]
 
{{!}} colspan="3" {{!}} [[File:{{{1}}}_card.jpg{{!}}link={{{1}}}{{!}}220px]]
Line 86: Line 86:
 
{{!}} colspan="3" {{!}} {{{5}}}
 
{{!}} colspan="3" {{!}} {{{5}}}
 
{{!}}}|
 
{{!}}}|
{{#ifexpr: {{{2|}}}={{#external_value:rarity}}*20|{{!}}
+
{{#ifexpr: {{{2}}}={{#external_value:rarity}}*20|{{!}}
 
{{{!}} style="border:2px solid blue; background: #e3e5ef"
 
{{{!}} style="border:2px solid blue; background: #e3e5ef"
 
{{!}} colspan="3" {{!}} [[File:{{{1}}}_card.jpg{{!}}link={{{1}}}{{!}}220px]]
 
{{!}} colspan="3" {{!}} [[File:{{{1}}}_card.jpg{{!}}link={{{1}}}{{!}}220px]]
Line 94: Line 94:
 
{{!}} colspan="3" {{!}} {{{5}}}
 
{{!}} colspan="3" {{!}} {{{5}}}
 
{{!}}}|
 
{{!}}}|
{{#ifexpr: {{{2|}}}>1 and {{{2|}}}<{{#external_value:rarity}}*20|{{!}}
+
{{#ifexpr: {{{2}}}>1 and {{{2|}}}<{{#external_value:rarity}}*20|{{!}}
 
{{{!}} style="border:2px solid purple; background: #ede3ef"
 
{{{!}} style="border:2px solid purple; background: #ede3ef"
 
{{!}} colspan="3" {{!}} [[File:{{{1}}}_card.jpg{{!}}link={{{1}}}{{!}}220px]]
 
{{!}} colspan="3" {{!}} [[File:{{{1}}}_card.jpg{{!}}link={{{1}}}{{!}}220px]]
Line 102: Line 102:
 
{{!}} colspan="3" {{!}} {{{5}}}
 
{{!}} colspan="3" {{!}} {{{5}}}
 
{{!}}}|
 
{{!}}}|
{{#ifexpr: {{{2|}}}=1|{{!}}
+
{{#ifexpr: {{{2}}}=1|{{!}}
 
{{{!}} style="border:2px solid black; background: #e0e0e0"
 
{{{!}} style="border:2px solid black; background: #e0e0e0"
 
{{!}} colspan="3" {{!}} [[File:{{{1}}}_card.jpg{{!}}link={{{1}}}{{!}}220px]]
 
{{!}} colspan="3" {{!}} [[File:{{{1}}}_card.jpg{{!}}link={{{1}}}{{!}}220px]]

Revision as of 00:34, 11 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}}

Personal tools
Namespaces

Variants
Actions
Menu
Game Menu
Card Lists
Trading
External Resources
Toolbox