Difference between revisions of "Template:Template sandbox"

From Unofficial Fantasica Wiki
Jump to: navigation, search
(Still in progress)
Line 6: Line 6:
  
  
<pre>
 
 
 
{{#ifeq: {{#external_value:rarity}}| 12 | [[Image:{{{1}}}_card.jpg|375px|link={{{1}}}]] |
 
{{#ifeq: {{#external_value:rarity}}| 11 | [[Image:{{{1}}}_card.jpg|350px|link={{{1}}}]] |
 
{{#ifeq: {{#external_value:rarity}}| 10 | [[Image:{{{1}}}_card.jpg|325px|link={{{1}}}]] |
 
{{#ifeq: {{#external_value:rarity}}| 9 | [[Image:{{{1}}}_card.jpg|300px|link={{{1}}}]] |
 
{{#ifeq: {{#external_value:rarity}}| 8 | [[Image:{{{1}}}_card.jpg|275px|link={{{1}}}]] |
 
{{#ifeq: {{#external_value:rarity}}| 7 | [[Image:{{{1}}}_card.jpg|250px|link={{{1}}}]] |
 
{{#ifeq: {{#external_value:rarity}}| 6 | [[Image:{{{1}}}_card.jpg|225px|link={{{1}}}]] |
 
{{#ifeq: {{#external_value:rarity}}| 5 | [[Image:{{{1}}}_card.jpg|200px|link={{{1}}}]] |
 
{{#ifeq: {{#external_value:rarity}}| 4 | [[Image:{{{1}}}_card.jpg|175px|link={{{1}}}]] |
 
{{#ifeq: {{#external_value:rarity}}| 3 | [[Image:{{{1}}}_card.jpg|150px|link={{{1}}}]] |
 
{{#ifeq: {{#external_value:rarity}}| 2 | [[Image:{{{1}}}_card.jpg|125px|link={{{1}}}]] |
 
{{#ifeq: {{#external_value:rarity}}| 1 | [[Image:{{{1}}}_card.jpg|100px|link={{{1}}}]] | }} }} }} }} }} }} }} }} }} }} }} }} {{#clear_external_data:}}</includeonly>
 
 
 
 
</pre>
 
 
<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 42: Line 21:
 
| colspan="3" | {{{5}}}
 
| colspan="3" | {{{5}}}
 
|} |
 
|} |
{{#ifexpr: {{#external_value:rarity}}=10 and {{2}}=240 | {| style="border:2px solid green; background: #e3efe3"
+
{{#ifexpr: {{#external_value:rarity}}=10 and {{{2}}}=240 | {| style="border:2px solid green; background: #e3efe3"
 
| colspan="3" | [[File:{{{1}}}_mlb_card.jpg|link={{{1}}}|220px]]
 
| colspan="3" | [[File:{{{1}}}_mlb_card.jpg|link={{{1}}}|220px]]
 
|-
 
|-
Line 49: Line 28:
 
| colspan="3" | {{{5}}}
 
| colspan="3" | {{{5}}}
 
|} |
 
|} |
{{#ifexpr: {{#external_value:rarity}}=9 and {{2}}=200 | {| style="border:2px solid green; background: #e3efe3"
+
{{#ifexpr: {{#external_value:rarity}}=9 and {{{2}}}=200 | {| style="border:2px solid green; background: #e3efe3"
 
| colspan="3" | [[File:{{{1}}}_mlb_card.jpg|link={{{1}}}|220px]]
 
| colspan="3" | [[File:{{{1}}}_mlb_card.jpg|link={{{1}}}|220px]]
 
|-
 
|-
Line 56: Line 35:
 
| colspan="3" | {{{5}}}
 
| colspan="3" | {{{5}}}
 
|} |
 
|} |
{{#ifexpr: {{#external_value:rarity}}=8 and {{2}}=180 | {| style="border:2px solid green; background: #e3efe3"
+
{{#ifexpr: {{#external_value:rarity}}=8 and {{{2}}}=180 | {| style="border:2px solid green; background: #e3efe3"
 
| colspan="3" | [[File:{{{1}}}_mlb_card.jpg|link={{{1}}}|220px]]
 
| colspan="3" | [[File:{{{1}}}_mlb_card.jpg|link={{{1}}}|220px]]
 
|-
 
|-
Line 63: Line 42:
 
| colspan="3" | {{{5}}}
 
| colspan="3" | {{{5}}}
 
|} |
 
|} |
{{#ifexpr: {{#external_value:rarity}}=7 and {{2}}=160 | {| style="border:2px solid green; background: #e3efe3"
+
{{#ifexpr: {{#external_value:rarity}}=7 and {{{2}}}=160 | {| style="border:2px solid green; background: #e3efe3"
 
| colspan="3" | [[File:{{{1}}}_mlb_card.jpg|link={{{1}}}|220px]]
 
| colspan="3" | [[File:{{{1}}}_mlb_card.jpg|link={{{1}}}|220px]]
 
|-
 
|-
Line 70: Line 49:
 
| colspan="3" | {{{5}}}
 
| colspan="3" | {{{5}}}
 
|} |
 
|} |
{{#ifexpr: {{#external_value:rarity}}=6 and {{2}}=140 | {| style="border:2px solid green; background: #e3efe3"
+
{{#ifexpr: {{#external_value:rarity}}=6 and {{{2}}}=140 | {| style="border:2px solid green; background: #e3efe3"
 
| colspan="3" | [[File:{{{1}}}_mlb_card.jpg|link={{{1}}}|220px]]
 
| colspan="3" | [[File:{{{1}}}_mlb_card.jpg|link={{{1}}}|220px]]
 
|-
 
|-
Line 77: Line 56:
 
| colspan="3" | {{{5}}}
 
| colspan="3" | {{{5}}}
 
|} |
 
|} |
{{#ifexpr: {{#external_value:rarity}}=5 and {{2}}=120 | {| style="border:2px solid green; background: #e3efe3"
+
{{#ifexpr: {{#external_value:rarity}}=5 and {{{2}}}=120 | {| style="border:2px solid green; background: #e3efe3"
 
| colspan="3" | [[File:{{{1}}}_mlb_card.jpg|link={{{1}}}|220px]]
 
| colspan="3" | [[File:{{{1}}}_mlb_card.jpg|link={{{1}}}|220px]]
 
|-
 
|-
Line 84: Line 63:
 
| colspan="3" | {{{5}}}
 
| colspan="3" | {{{5}}}
 
|} |
 
|} |
{{#ifexpr: {{#external_value:rarity}}=4 and {{2}}=100 | {| style="border:2px solid green; background: #e3efe3"
+
{{#ifexpr: {{#external_value:rarity}}=4 and {{{2}}}=100 | {| style="border:2px solid green; background: #e3efe3"
 
| colspan="3" | [[File:{{{1}}}_mlb_card.jpg|link={{{1}}}|220px]]
 
| colspan="3" | [[File:{{{1}}}_mlb_card.jpg|link={{{1}}}|220px]]
 
|-
 
|-
Line 91: Line 70:
 
| colspan="3" | {{{5}}}
 
| colspan="3" | {{{5}}}
 
|} |
 
|} |
{{#ifexpr: {{#external_value:rarity}}=3 and {{2}}=80 | {| style="border:2px solid green; background: #e3efe3"
+
{{#ifexpr: {{#external_value:rarity}}=3 and {{{2}}}=80 | {| style="border:2px solid green; background: #e3efe3"
 
| colspan="3" | [[File:{{{1}}}_mlb_card.jpg|link={{{1}}}|220px]]
 
| colspan="3" | [[File:{{{1}}}_mlb_card.jpg|link={{{1}}}|220px]]
 
|-
 
|-
Line 98: Line 77:
 
| colspan="3" | {{{5}}}
 
| colspan="3" | {{{5}}}
 
|} |
 
|} |
{{#ifexpr: {{#external_value:rarity}}=2 and {{2}}=60 | {| style="border:2px solid green; background: #e3efe3"
+
{{#ifexpr: {{#external_value:rarity}}=2 and {{{2}}}=60 | {| style="border:2px solid green; background: #e3efe3"
 
| colspan="3" | [[File:{{{1}}}_mlb_card.jpg|link={{{1}}}|220px]]
 
| colspan="3" | [[File:{{{1}}}_mlb_card.jpg|link={{{1}}}|220px]]
 
|-
 
|-
Line 105: Line 84:
 
| colspan="3" | {{{5}}}
 
| colspan="3" | {{{5}}}
 
|} |
 
|} |
{{#ifexpr: {{#external_value:rarity}}=1 and {{2}}=40 | {| style="border:2px solid green; background: #e3efe3"
+
{{#ifexpr: {{#external_value:rarity}}=1 and {{{2}}}=40 | {| style="border:2px solid green; background: #e3efe3"
 
| colspan="3" | [[File:{{{1}}}_mlb_card.jpg|link={{{1}}}|220px]]
 
| colspan="3" | [[File:{{{1}}}_mlb_card.jpg|link={{{1}}}|220px]]
 
|-
 
|-
Line 112: Line 91:
 
| colspan="3" | {{{5}}}
 
| colspan="3" | {{{5}}}
 
|} |
 
|} |
{{#ifexpr: {{#external_value:rarity}}=10 and {{2}}=200 | {| style="border:2px solid blue; background: #e3e5ef"
+
{{#ifexpr: {{#external_value:rarity}}=10 and {{{2}}}=200 | {| style="border:2px solid blue; background: #e3e5ef"
 
| colspan="3" | [[File:{{{1}}}_mlb_card.jpg|link={{{1}}}|220px]]
 
| colspan="3" | [[File:{{{1}}}_mlb_card.jpg|link={{{1}}}|220px]]
 
|-
 
|-
Line 119: Line 98:
 
| colspan="3" | {{{5}}}
 
| colspan="3" | {{{5}}}
 
|} |
 
|} |
{{#ifexpr: {{#external_value:rarity}}=9 and {{2}}=180 | {| style="border:2px solid blue; background: #e3e5ef"
+
{{#ifexpr: {{#external_value:rarity}}=9 and {{{2}}}=180 | {| style="border:2px solid blue; background: #e3e5ef"
 
| colspan="3" | [[File:{{{1}}}_mlb_card.jpg|link={{{1}}}|220px]]
 
| colspan="3" | [[File:{{{1}}}_mlb_card.jpg|link={{{1}}}|220px]]
 
|-
 
|-
Line 126: Line 105:
 
| colspan="3" | {{{5}}}
 
| colspan="3" | {{{5}}}
 
|} |
 
|} |
{{#ifexpr: {{#external_value:rarity}}=8 and {{2}}=160 | {| style="border:2px solid blue; background: #e3e5ef"
+
{{#ifexpr: {{#external_value:rarity}}=8 and {{{2}}}=160 | {| style="border:2px solid blue; background: #e3e5ef"
 
| colspan="3" | [[File:{{{1}}}_mlb_card.jpg|link={{{1}}}|220px]]
 
| colspan="3" | [[File:{{{1}}}_mlb_card.jpg|link={{{1}}}|220px]]
 
|-
 
|-
Line 133: Line 112:
 
| colspan="3" | {{{5}}}
 
| colspan="3" | {{{5}}}
 
|} |
 
|} |
{{#ifexpr: {{#external_value:rarity}}=7 and {{2}}=140 | {| style="border:2px solid blue; background: #e3e5ef"
+
{{#ifexpr: {{#external_value:rarity}}=7 and {{{2}}}=140 | {| style="border:2px solid blue; background: #e3e5ef"
 
| colspan="3" | [[File:{{{1}}}_mlb_card.jpg|link={{{1}}}|220px]]
 
| colspan="3" | [[File:{{{1}}}_mlb_card.jpg|link={{{1}}}|220px]]
 
|-
 
|-
Line 140: Line 119:
 
| colspan="3" | {{{5}}}
 
| colspan="3" | {{{5}}}
 
|} |
 
|} |
{{#ifexpr: {{#external_value:rarity}}=6 and {{2}}=120 | {| style="border:2px solid blue; background: #e3e5ef"
+
{{#ifexpr: {{#external_value:rarity}}=6 and {{{2}}}=120 | {| style="border:2px solid blue; background: #e3e5ef"
 
| colspan="3" | [[File:{{{1}}}_mlb_card.jpg|link={{{1}}}|220px]]
 
| colspan="3" | [[File:{{{1}}}_mlb_card.jpg|link={{{1}}}|220px]]
 
|-
 
|-
Line 147: Line 126:
 
| colspan="3" | {{{5}}}
 
| colspan="3" | {{{5}}}
 
|} |
 
|} |
 
+
{{#ifexpr: {{#external_value:rarity}}=5 and {{{2}}}=100 | {| style="border:2px solid blue; background: #e3e5ef"
 
+
| colspan="3" | [[File:{{{1}}}_mlb_card.jpg|link={{{1}}}|220px]]
 
+
|-
 
+
| Lv{{{2}}} || {{{3}}} || {{{4}}}
 
+
|-
{{#ifeq: {{#external_value:rarity}}| 11 | [[Image:{{{1}}}_card.jpg|350px|link={{{1}}}]] |  
+
| colspan="3" | {{{5}}}
{{#ifeq: {{#external_value:rarity}}| 10 | [[Image:{{{1}}}_card.jpg|325px|link={{{1}}}]] |  
+
|} |
{{#ifeq: {{#external_value:rarity}}| 9 | [[Image:{{{1}}}_card.jpg|300px|link={{{1}}}]] |  
+
{{#ifexpr: {{#external_value:rarity}}=4 and {{{2}}}=80 | {| style="border:2px solid blue; background: #e3e5ef"
 
+
| colspan="3" | [[File:{{{1}}}_mlb_card.jpg|link={{{1}}}|220px]]
}} }} }} }} {{#clear_external_data:}}</includeonly>
+
|-
 +
| Lv{{{2}}} || {{{3}}} || {{{4}}}
 +
|-
 +
| colspan="3" | {{{5}}}
 +
|} |
 +
{{#ifexpr: {{#external_value:rarity}}=3 and {{{2}}}=60 | {| style="border:2px solid blue; background: #e3e5ef"
 +
| colspan="3" | [[File:{{{1}}}_mlb_card.jpg|link={{{1}}}|220px]]
 +
|-
 +
| Lv{{{2}}} || {{{3}}} || {{{4}}}
 +
|-
 +
| colspan="3" | {{{5}}}
 +
|} |
 +
{{#ifexpr: {{#external_value:rarity}}=2 and {{{2}}}=40 | {| style="border:2px solid blue; background: #e3e5ef"
 +
| colspan="3" | [[File:{{{1}}}_mlb_card.jpg|link={{{1}}}|220px]]
 +
|-
 +
| Lv{{{2}}} || {{{3}}} || {{{4}}}
 +
|-
 +
| colspan="3" | {{{5}}}
 +
|} |
 +
{{#ifexpr: {{#external_value:rarity}}=1 and {{{2}}}=20 | {| style="border:2px solid blue; background: #e3e5ef"
 +
| colspan="3" | [[File:{{{1}}}_mlb_card.jpg|link={{{1}}}|220px]]
 +
|-
 +
| Lv{{{2}}} || {{{3}}} || {{{4}}}
 +
|-
 +
| colspan="3" | {{{5}}}
 +
|} |
 +
{{#ifexpr: {{#external_value:rarity}}=10 and {{{2}}}>1 and {{{2}}}<200 | {| style="border:2px solid purple; background: #ede3ef"
 +
| colspan="3" | [[File:{{{1}}}_mlb_card.jpg|link={{{1}}}|220px]]
 +
|-
 +
| Lv{{{2}}} || {{{3}}} || {{{4}}}
 +
|-
 +
| colspan="3" | {{{5}}}
 +
|} |
 +
{{#ifexpr: {{#external_value:rarity}}=9 and {{{2}}}>1 and {{{2}}}<180 | {| style="border:2px solid purple; background: #ede3ef"
 +
| colspan="3" | [[File:{{{1}}}_mlb_card.jpg|link={{{1}}}|220px]]
 +
|-
 +
| Lv{{{2}}} || {{{3}}} || {{{4}}}
 +
|-
 +
| colspan="3" | {{{5}}}
 +
|} |
 +
{{#ifexpr: {{#external_value:rarity}}=8 and {{{2}}}>1 and {{{2}}}<160 | {| style="border:2px solid purple; background: #ede3ef"
 +
| colspan="3" | [[File:{{{1}}}_mlb_card.jpg|link={{{1}}}|220px]]
 +
|-
 +
| Lv{{{2}}} || {{{3}}} || {{{4}}}
 +
|-
 +
| colspan="3" | {{{5}}}
 +
|} |
 +
{{#ifexpr: {{#external_value:rarity}}=7 and {{{2}}}>1 and {{{2}}}<140 | {| style="border:2px solid purple; background: #ede3ef"
 +
| colspan="3" | [[File:{{{1}}}_mlb_card.jpg|link={{{1}}}|220px]]
 +
|-
 +
| Lv{{{2}}} || {{{3}}} || {{{4}}}
 +
|-
 +
| colspan="3" | {{{5}}}
 +
|} |
 +
{{#ifexpr: {{#external_value:rarity}}=6 and {{{2}}}>1 and {{{2}}}<120 | {| style="border:2px solid purple; background: #ede3ef"
 +
| colspan="3" | [[File:{{{1}}}_mlb_card.jpg|link={{{1}}}|220px]]
 +
|-
 +
| Lv{{{2}}} || {{{3}}} || {{{4}}}
 +
|-
 +
| colspan="3" | {{{5}}}
 +
|} |
 +
{{#ifexpr: {{#external_value:rarity}}=5 and {{{2}}}>1 and {{{2}}}<100 | {| style="border:2px solid purple; background: #ede3ef"
 +
| colspan="3" | [[File:{{{1}}}_mlb_card.jpg|link={{{1}}}|220px]]
 +
|-
 +
| Lv{{{2}}} || {{{3}}} || {{{4}}}
 +
|-
 +
| colspan="3" | {{{5}}}
 +
|} |
 +
{{#ifexpr: {{#external_value:rarity}}=4 and {{{2}}}>1 and {{{2}}}<80 | {| style="border:2px solid purple; background: #ede3ef"
 +
| colspan="3" | [[File:{{{1}}}_mlb_card.jpg|link={{{1}}}|220px]]
 +
|-
 +
| Lv{{{2}}} || {{{3}}} || {{{4}}}
 +
|-
 +
| colspan="3" | {{{5}}}
 +
|} |
 +
{{#ifexpr: {{#external_value:rarity}}=3 and {{{2}}}>1 and {{{2}}}<60 | {| style="border:2px solid purple; background: #ede3ef"
 +
| colspan="3" | [[File:{{{1}}}_mlb_card.jpg|link={{{1}}}|220px]]
 +
|-
 +
| Lv{{{2}}} || {{{3}}} || {{{4}}}
 +
|-
 +
| colspan="3" | {{{5}}}
 +
|} |
 +
{{#ifexpr: {{#external_value:rarity}}=2 and {{{2}}}>1 and {{{2}}}<40 | {| style="border:2px solid purple; background: #ede3ef"
 +
| colspan="3" | [[File:{{{1}}}_mlb_card.jpg|link={{{1}}}|220px]]
 +
|-
 +
| Lv{{{2}}} || {{{3}}} || {{{4}}}
 +
|-
 +
| colspan="3" | {{{5}}}
 +
|} |
 +
{{#ifexpr: {{#external_value:rarity}}=1 and {{{2}}}>1 and {{{2}}}<20 | {| style="border:2px solid purple; background: #ede3ef"
 +
| colspan="3" | [[File:{{{1}}}_mlb_card.jpg|link={{{1}}}|220px]]
 +
|-
 +
| Lv{{{2}}} || {{{3}}} || {{{4}}}
 +
|-
 +
| colspan="3" | {{{5}}}
 +
|} |
 +
{{#ifexpr: {{{2}}}=1 | {| style="border:2px solid black; background: #e0e0e0"
 +
| colspan="3" | [[File:{{{1}}}_mlb_card.jpg|link={{{1}}}|220px]]
 +
|-
 +
| Lv{{{2}}} || {{{3}}} || {{{4}}}
 +
|-
 +
| colspan="3" | {{{5}}}
 +
|} | }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} {{#clear_external_data:}}</includeonly>

Revision as of 05:15, 9 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