Difference between revisions of "Template:CardBoxBackground"

From 100% Orange Juice Wiki
Jump to: navigation, search
m
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{#switch:{{{1|}}}
 
{{#switch:{{{1|}}}
|1={{#switch:{{{type|}}}
+
|1={{#switch:{{{cardtype|}}}
|boost = border: 2px solid #95FF9C;
+
|Battle = border: 2px solid #ffdc83;
|battle = border: 1px solid #FFDC83;
+
|Boost = border: 2px solid #95FF9C;
|event = border: 1px solid #FFDC83;
+
|Event = border: 2px solid #93C0FF;
|gift = border: 1px solid #FFDC83;
+
|Gift = border: 2px solid #FC8BC6;
|trap = border: 1px solid #93C0FF;
+
|Trap = border: 2px solid #E28FFF;
 
}}
 
}}
|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.