Difference between revisions of "Template:Sales 5"

From Unofficial Fantasica Wiki
Jump to: navigation, search
(Note: This used to be Sales Template 4 until I reverted it to an older revision. This is the newest revision.)
 
m (Maybe it will look less bad)
 
(5 intermediate revisions by one user not shown)
Line 6: Line 6:
  
  
Usage: <nowiki>{{Sales_4|CardName|Level|Artist|Notes|Price}}</nowiki></noinclude><includeonly>{{#get_db_data:
+
Usage: <nowiki>{{Sales_5|CardName|Level|Artist|Notes|Price}}</nowiki></noinclude><includeonly>{{#get_db_data:
 
db=fantawiki
 
db=fantawiki
 
|from=units
 
|from=units
Line 14: Line 14:
 
}}{{#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"
 
{{{!}} style="border:2px solid black; background: #e0e0e0"
{{!}} colspan="3" {{!}} [[File:unknown_card.jpg{{!}}link={{!}}220px]]
+
{{!}} colspan="3" {{!}} '''<u>{{{1}}}</u>'''<br>[[File:unknown_card.jpg{{!}}link={{!}}220px]]
 
{{!}}-
 
{{!}}-
 
{{!}} style="width:40px"{{!}} Lv{{{2}}} {{!!}} style="width:10px" colspan="2"{{!}} [[:Category:Artist:{{{3}}}{{!}}{{{3}}}]]
 
{{!}} style="width:40px"{{!}} Lv{{{2}}} {{!!}} style="width:10px" colspan="2"{{!}} [[:Category:Artist:{{{3}}}{{!}}{{{3}}}]]
 
{{!}}-
 
{{!}}-
 
{{!}} style="width:10px" colspan="2"{{!}} {{{4}}} {{!!}} style="width:40px"{{!}} '''{{{5}}}'''
 
{{!}} style="width:10px" colspan="2"{{!}} {{{4}}} {{!!}} style="width:40px"{{!}} '''{{{5}}}'''
{{!}}} | {{#ifexpr: {{#ifeq:{{{4}}}|RESERVED|1|0}}=1| {{!}}
+
{{!}}} | {{#ifexpr: {{#ifeq:{{{5}}}|RESERVED|1|0}}=1 or {{#ifeq:{{{4}}}|RESERVED|1|0}}=1 or {{#ifeq:{{{5}}}|Reserved|1|0}}=1 or {{#ifeq:{{{4}}}|Reserved|1|0}}=1 or {{#ifeq:{{{5}}}|reserved|1|0}}=1 or {{#ifeq:{{{4}}}|reserved|1|0}}=1 or {{#ifeq:{{{5}}}|SOLD|1|0}}=1 or {{#ifeq:{{{4}}}|SOLD|1|0}}=1 or {{#ifeq:{{{5}}}|Sold|1|0}}=1 or {{#ifeq:{{{4}}}|Sold|1|0}}=1 or {{#ifeq:{{{5}}}|sold|1|0}}=1 or {{#ifeq:{{{4}}}|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" {{!}} '''<u>{{{1}}}</u>'''<br>[[File:{{{1}}}_card.jpg{{!}}link={{{1}}}{{!}}220px]]
{{!}}-
+
{{!}} style="width:40px"{{!}} Lv{{{2}}} {{!!}} style="width:10px" colspan="2"{{!}} [[:Category:Artist:{{{3}}}{{!}}{{{3}}}]]
+
{{!}}-
+
{{!}} style="width:10px" colspan="2"{{!}} {{{4}}} {{!!}} style="width:40px"{{!}} '''{{{5}}}'''
+
{{!}}} | {{#ifexpr: {{#ifeq:{{{4}}}|Reserved|1|0}}=1| {{!}}
+
{{{!}} style="border:2px solid red; background: #f9bbbb"
+
{{!}} colspan="3" {{!}} [[File:{{{1}}}_card.jpg{{!}}link={{{1}}}{{!}}220px]]
+
{{!}}-
+
{{!}} style="width:40px"{{!}} Lv{{{2}}} {{!!}} style="width:10px" colspan="2"{{!}} [[:Category:Artist:{{{3}}}{{!}}{{{3}}}]]
+
{{!}}-
+
{{!}} style="width:10px" colspan="2"{{!}} {{{4}}} {{!!}} style="width:40px"{{!}} '''{{{5}}}'''
+
{{!}}} | {{#ifexpr: {{#ifeq:{{{4}}}|reserved|1|0}}=1| {{!}}
+
{{{!}} style="border:2px solid red; background: #f9bbbb"
+
{{!}} colspan="3" {{!}} [[File:{{{1}}}_card.jpg{{!}}link={{{1}}}{{!}}220px]]
+
{{!}}-
+
{{!}} style="width:40px"{{!}} Lv{{{2}}} {{!!}} style="width:10px" colspan="2"{{!}} [[:Category:Artist:{{{3}}}{{!}}{{{3}}}]]
+
{{!}}-
+
{{!}} style="width:10px" colspan="2"{{!}} {{{4}}} {{!!}} style="width:40px"{{!}} '''{{{5}}}'''
+
{{!}}} | {{#ifexpr: {{#ifeq:{{{4}}}|SOLD|1|0}}=1| {{!}}
+
{{{!}} style="border:2px solid red; background: #f9bbbb"
+
{{!}} colspan="3" {{!}} [[File:{{{1}}}_card.jpg{{!}}link={{{1}}}{{!}}220px]]
+
{{!}}-
+
{{!}} style="width:40px"{{!}} Lv{{{2}}} {{!!}} style="width:10px" colspan="2"{{!}} [[:Category:Artist:{{{3}}}{{!}}{{{3}}}]]
+
{{!}}-
+
{{!}} style="width:10px" colspan="2"{{!}} {{{4}}} {{!!}} style="width:40px"{{!}} '''{{{5}}}'''
+
{{!}}} | {{#ifexpr: {{#ifeq:{{{4}}}|Sold|1|0}}=1| {{!}}
+
{{{!}} style="border:2px solid red; background: #f9bbbb"
+
{{!}} colspan="3" {{!}} [[File:{{{1}}}_card.jpg{{!}}link={{{1}}}{{!}}220px]]
+
{{!}}-
+
{{!}} style="width:40px"{{!}} Lv{{{2}}} {{!!}} style="width:10px" colspan="2"{{!}} [[:Category:Artist:{{{3}}}{{!}}{{{3}}}]]
+
{{!}}-
+
{{!}} style="width:10px" colspan="2"{{!}} {{{4}}} {{!!}} style="width:40px"{{!}} '''{{{5}}}'''
+
{{!}}} | {{#ifexpr: {{#ifeq:{{{4}}}|sold|1|0}}=1| {{!}}
+
{{{!}} style="border:2px solid red; background: #f9bbbb"
+
{{!}} colspan="3" {{!}} [[File:{{{1}}}_card.jpg{{!}}link={{{1}}}{{!}}220px]]
+
 
{{!}}-
 
{{!}}-
 
{{!}} style="width:40px"{{!}} Lv{{{2}}} {{!!}} style="width:10px" colspan="2"{{!}} [[:Category:Artist:{{{3}}}{{!}}{{{3}}}]]
 
{{!}} style="width:40px"{{!}} Lv{{{2}}} {{!!}} style="width:10px" colspan="2"{{!}} [[:Category:Artist:{{{3}}}{{!}}{{{3}}}]]
Line 62: Line 27:
 
{{!}} style="width:10px" colspan="2"{{!}} {{{4}}} {{!!}} style="width:40px"{{!}} '''{{{5}}}'''
 
{{!}} style="width:10px" colspan="2"{{!}} {{{4}}} {{!!}} style="width:40px"{{!}} '''{{{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 limegreen; background: #e3efe3"
{{!}} colspan="3" {{!}} [[File:{{{1}}}_card.jpg{{!}}link={{{1}}}{{!}}220px]]
+
{{!}} colspan="3" {{!}} '''<u>{{{1}}}</u>'''<br>[[File:{{{1}}}_card.jpg{{!}}link={{{1}}}{{!}}220px]]
 
{{!}}-
 
{{!}}-
 
{{!}} style="width:40px"{{!}} Lv{{{2}}} {{!!}} style="width:10px" colspan="2"{{!}} [[:Category:Artist:{{{3}}}{{!}}{{{3}}}]]
 
{{!}} style="width:40px"{{!}} Lv{{{2}}} {{!!}} style="width:10px" colspan="2"{{!}} [[:Category:Artist:{{{3}}}{{!}}{{{3}}}]]
Line 69: Line 34:
 
{{!}} style="width:10px" colspan="2"{{!}} {{{4}}} {{!!}} style="width:40px"{{!}} '''{{{5}}}'''
 
{{!}} style="width:10px" colspan="2"{{!}} {{{4}}} {{!!}} style="width:40px"{{!}} '''{{{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 limegreen; background: #e3efe3"
{{!}} colspan="3" {{!}} [[File:{{{1}}}_card.jpg{{!}}link={{{1}}}{{!}}220px]]
+
{{!}} colspan="3" {{!}} '''<u>{{{1}}}</u>'''<br>[[File:{{{1}}}_card.jpg{{!}}link={{{1}}}{{!}}220px]]
 
{{!}}-
 
{{!}}-
 
{{!}} style="width:40px"{{!}} Lv{{{2}}} {{!!}} style="width:10px" colspan="2"{{!}} [[:Category:Artist:{{{3}}}{{!}}{{{3}}}]]
 
{{!}} style="width:40px"{{!}} Lv{{{2}}} {{!!}} style="width:10px" colspan="2"{{!}} [[:Category:Artist:{{{3}}}{{!}}{{{3}}}]]
Line 77: Line 42:
 
{{!}}} | {{#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" {{!}} '''<u>{{{1}}}</u>'''<br>[[File:{{{1}}}_card.jpg{{!}}link={{{1}}}{{!}}220px]]
 
{{!}}-
 
{{!}}-
 
{{!}} style="width:40px"{{!}} Lv{{{2}}} {{!!}} style="width:10px" colspan="2"{{!}} [[:Category:Artist:{{{3}}}{{!}}{{{3}}}]]
 
{{!}} style="width:40px"{{!}} Lv{{{2}}} {{!!}} style="width:10px" colspan="2"{{!}} [[:Category:Artist:{{{3}}}{{!}}{{{3}}}]]
Line 84: Line 49:
 
{{!}}} | {{#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" {{!}} '''<u>{{{1}}}</u>'''<br>[[File:{{{1}}}_card.jpg{{!}}link={{{1}}}{{!}}220px]]
 
{{!}}-
 
{{!}}-
 
{{!}} style="width:40px"{{!}} Lv{{{2}}} {{!!}} style="width:10px" colspan="2"{{!}} [[:Category:Artist:{{{3}}}{{!}}{{{3}}}]]
 
{{!}} style="width:40px"{{!}} Lv{{{2}}} {{!!}} style="width:10px" colspan="2"{{!}} [[:Category:Artist:{{{3}}}{{!}}{{{3}}}]]
Line 91: Line 56:
 
{{!}}} | {{#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" {{!}} '''<u>{{{1}}}</u>'''<br>[[File:{{{1}}}_card.jpg{{!}}link={{{1}}}{{!}}220px]]
 
{{!}}-
 
{{!}}-
 
{{!}} style="width:40px"{{!}} Lv{{{2}}} {{!!}} style="width:10px" colspan="2"{{!}} [[:Category:Artist:{{{3}}}{{!}}{{{3}}}]]
 
{{!}} style="width:40px"{{!}} Lv{{{2}}} {{!!}} style="width:10px" colspan="2"{{!}} [[:Category:Artist:{{{3}}}{{!}}{{{3}}}]]
 
{{!}}-
 
{{!}}-
 
{{!}} style="width:10px" colspan="2"{{!}} {{{4}}} {{!!}} style="width:40px"{{!}} '''{{{5}}}'''
 
{{!}} style="width:10px" colspan="2"{{!}} {{{4}}} {{!!}} style="width:40px"{{!}} '''{{{5}}}'''
{{!}}} | }} }} }} }} }} }} }} }} }} }} }} }}{{#clear_external_data:}}</includeonly>
+
{{!}}} | }} }} }} }} }} }} }}{{#clear_external_data:}}</includeonly>

Latest revision as of 01:45, 9 January 2019

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_5


Usage: {{Sales_5|CardName|Level|Artist|Notes|Price}}

Personal tools
Namespaces

Variants
Actions
Menu
Game Menu
Card Lists
Trading
External Resources
Toolbox