Difference between revisions of "Template:Sales 4"
From Unofficial Fantasica Wiki
m (I think it's finally done now) |
(Added ability to use red border in both "Price" and "Notes" sections) |
||
(9 intermediate revisions by one user not shown) | |||
Line 6: | Line 6: | ||
− | Usage: <nowiki>{{Sales_4|CardName|Level| | + | Usage: <nowiki>{{Sales_4|CardName|Level|Ascension|Price|Notes}}</nowiki></noinclude><includeonly> |
{{#get_db_data: | {{#get_db_data: | ||
db=fantawiki | db=fantawiki | ||
Line 17: | Line 17: | ||
{{!}} colspan="3" {{!}} [[File:unknown_card.jpg{{!}}link={{!}}220px]] | {{!}} colspan="3" {{!}} [[File:unknown_card.jpg{{!}}link={{!}}220px]] | ||
{{!}}- | {{!}}- | ||
− | + | {{!}} Lv{{{2}}} {{!!}} {{{3}}} {{!!}} {{{4}}} | |
{{!}}- | {{!}}- | ||
{{!}} colspan="3" {{!}} {{{5}}} | {{!}} colspan="3" {{!}} {{{5}}} | ||
− | {{!}}} | {{#ifexpr: {{#ifeq:{{{5}}}|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" {{!}} [[File:{{{1}}}_card.jpg{{!}}link={{{1}}}{{!}}220px]] | ||
{{!}}- | {{!}}- | ||
− | + | {{!}} Lv{{{2}}} {{!!}} {{{3}}} {{!!}} {{{4}}} | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
{{!}}- | {{!}}- | ||
{{!}} 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 | + | {{{!}} style="border:2px solid limegreen; background: #e3efe3" |
{{!}} colspan="3" {{!}} [[File:{{{1}}}_card.jpg{{!}}link={{{1}}}{{!}}220px]] | {{!}} colspan="3" {{!}} [[File:{{{1}}}_card.jpg{{!}}link={{{1}}}{{!}}220px]] | ||
{{!}}- | {{!}}- | ||
− | + | {{!}} Lv{{{2}}} {{!!}} {{{3}}} {{!!}} {{{4}}} | |
{{!}}- | {{!}}- | ||
{{!}} 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 | + | {{{!}} style="border:2px solid limegreen; background: #e3efe3" |
{{!}} colspan="3" {{!}} [[File:{{{1}}}_card.jpg{{!}}link={{{1}}}{{!}}220px]] | {{!}} colspan="3" {{!}} [[File:{{{1}}}_card.jpg{{!}}link={{{1}}}{{!}}220px]] | ||
{{!}}- | {{!}}- | ||
− | + | {{!}} Lv{{{2}}} {{!!}} {{{3}}} {{!!}} {{{4}}} | |
{{!}}- | {{!}}- | ||
{{!}} colspan="3" {{!}} {{{5}}} | {{!}} colspan="3" {{!}} {{{5}}} | ||
Line 80: | Line 45: | ||
{{!}} colspan="3" {{!}} [[File:{{{1}}}_card.jpg{{!}}link={{{1}}}{{!}}220px]] | {{!}} colspan="3" {{!}} [[File:{{{1}}}_card.jpg{{!}}link={{{1}}}{{!}}220px]] | ||
{{!}}- | {{!}}- | ||
− | + | {{!}} Lv{{{2}}} {{!!}} {{{3}}} {{!!}} {{{4}}} | |
{{!}}- | {{!}}- | ||
{{!}} colspan="3" {{!}} {{{5}}} | {{!}} colspan="3" {{!}} {{{5}}} | ||
Line 87: | Line 52: | ||
{{!}} colspan="3" {{!}} [[File:{{{1}}}_card.jpg{{!}}link={{{1}}}{{!}}220px]] | {{!}} colspan="3" {{!}} [[File:{{{1}}}_card.jpg{{!}}link={{{1}}}{{!}}220px]] | ||
{{!}}- | {{!}}- | ||
− | + | {{!}} Lv{{{2}}} {{!!}} {{{3}}} {{!!}} {{{4}}} | |
{{!}}- | {{!}}- | ||
{{!}} colspan="3" {{!}} {{{5}}} | {{!}} colspan="3" {{!}} {{{5}}} | ||
Line 94: | Line 59: | ||
{{!}} colspan="3" {{!}} [[File:{{{1}}}_card.jpg{{!}}link={{{1}}}{{!}}220px]] | {{!}} colspan="3" {{!}} [[File:{{{1}}}_card.jpg{{!}}link={{{1}}}{{!}}220px]] | ||
{{!}}- | {{!}}- | ||
− | + | {{!}} Lv{{{2}}} {{!!}} {{{3}}} {{!!}} {{{4}}} | |
{{!}}- | {{!}}- | ||
{{!}} colspan="3" {{!}} {{{5}}} | {{!}} colspan="3" {{!}} {{{5}}} | ||
− | {{!}}} | | + | {{!}}} | }} }} }} }} }} }} }}{{#clear_external_data:}}</includeonly> |
Latest revision as of 23:38, 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}}