Difference between revisions of "Template:CardBoxBackground"

From 100% Orange Juice Wiki
Jump to: navigation, search
m
 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{#switch:{{{1|}}}
 
{{#switch:{{{1|}}}
|1={{#switch:{{{type|}}}
+
|1={{#switch:{{{cardtype|}}}
 
|Battle = border: 2px solid #ffdc83;
 
|Boost = border: 2px solid #95FF9C;
 
|Boost = border: 2px solid #95FF9C;
|Battle = border: 1px solid #FFDC83;
+
|Event = border: 2px solid #93C0FF;
|Event = border: 1px solid #FFDC83;
+
|Gift = border: 2px solid #FC8BC6;
|Gift = border: 1px solid #FFDC83;
+
|Trap = border: 2px solid #E28FFF;
|Trap = border: 1px solid #93C0FF;
 
 
}}
 
}}
|2={{#switch:{{{type|}}}
+
|2={{#switch:{{{cardtype|}}}
|Boost = background-color: #C6FFCB;
+
|Battle = background-color: #ffdc83;
|Battle = background-color: #FFDC83;
+
|Boost = background-color: #95FF9C;
|Event = background-color: #FFDC83;
+
|Event = background-color: #93C0FF;
|Gift = background-color: #FFDC83;
+
|Gift = background-color: #FC8BC6;
|Trap = background-color: #FFDC83;
+
|Trap = background-color: #E28FFF;
 
}}
 
}}
|3={{#switch:{{{type|}}}
+
|3={{#switch:{{{cardtype|}}}
|Boost = font color: #009F00;
+
|Battle = background-color: #fff5d2;
|Battle = background-color: #FFDC83;
+
|Boost = background-color: #C6FFCB;
|Event = background-color: #FFDC83;
+
|Event = background-color: #CAE2FF;
|Gift = background-color: #FFDC83;
+
|Gift = background-color: #FED9EC;
|Trap = background-color: #FFDC83;
+
|Trap = background-color: #F1D0FF;
 
}}
 
}}
  +
|4={{#switch:{{{cardtype|}}}
  +
|Battle =
  +
|Boost = color: #009F00;
  +
|Event = color: #0B6FFF;
  +
|Gift = color: #DA0974;
  +
|Trap = color: #800080;
 
}}
 
}}
  +
}}<noinclude>{{Icons}}[[Category:Formatting templates]]</noinclude>

Latest revision as of 08:27, 1 May 2021

 This page is protected. Only logged in users can edit this page.