Difference between revisions of "Template:Infobox"

From Purple's Collection
Jump to navigationJump to search
m (Maybe this will fix it? (God I'm desperate))
Line 8: Line 8:
 
! style="vertical-align:top;" | Specs:
 
! style="vertical-align:top;" | Specs:
 
|{{{specs|Unknown}}}
 
|{{{specs|Unknown}}}
 +
|-
 +
!Date of entry:
 +
|{{{dateofentry|Unknown}}}
 
|-
 
|-
 
!Status:
 
!Status:
|{{{status|Unknown}}}
+
|{{#if: {{{status|}}} |
 +
{{#switch: {{{status|}}} | in = <span style="color:green">In Collection</span> | <span style="color:red">status</span>}}
 +
| <span style="color:orange">Unknown</span> }}
 
|-
 
|-
 
!State:
 
!State:
 
|{{#if: {{{state|}}} |  
 
|{{#if: {{{state|}}} |  
  {{#ifeq: {{{state|}}} | Good | <span style="color:green">Good</span>}}
+
  {{#switch: {{{state|}}} | Good = <span style="color:green">Good</span> | Alright = <span style="color:orange">Alright</span> | Bad = <span style="color:red">Bad</span> | state }}
{{#ifeq: {{{state|}}} | Alright | <span style="color:orange">Alright</span>}}
 
{{#ifeq: {{{state|}}} | Bad | <span style="color:red">Bad</span>}}  
 
 
  | Unknown }}
 
  | Unknown }}
 
|-
 
|-

Revision as of 20:12, 17 September 2020

No image avaliable
Infobox
Specs: Unknown
Date of entry: Unknown
Status: Unknown
State: Unknown
Notes: None