Difference between revisions of "Template:Infobox"
From Purple's Collection
Jump to navigationJump to searchm (Fix #switch) |
m (Fix defaults of #switch operation) |
||
| (One intermediate revision by the same user not shown) | |||
| Line 14: | Line 14: | ||
!Status: | !Status: | ||
|{{#if: {{{status|}}} | | |{{#if: {{{status|}}} | | ||
| − | {{#switch: {{{status}}} | in = <span style="color:green">In Collection</span> | | + | {{#switch: {{{status}}} | in = <span style="color:green">In Collection</span> | #default = {{{status}}}}} |
| <span style="color:orange">Unknown</span> }} | | <span style="color:orange">Unknown</span> }} | ||
|- | |- | ||
!Condition: | !Condition: | ||
|{{#if: {{{state|}}} | | |{{#if: {{{state|}}} | | ||
| − | {{#switch: {{{state}}} | Good = <span style="color:green">Good</span> | Alright = <span style="color:orange">Alright</span> | Bad = <span style="color:red">Bad</span> | state }} | + | {{#switch: {{{state}}} | Good = <span style="color:green">Good</span> | Alright = <span style="color:orange">Alright</span> | Bad = <span style="color:red">Bad</span> | #default = {{{state}}} }} |
| Unknown }} | | Unknown }} | ||
|- | |- | ||
Latest revision as of 15:39, 18 October 2020
| No image avaliable | |
| Infobox | |
|---|---|
| Specs: | Unknown |
| Date of entry: | Unknown |
| Status: | Unknown |
| Condition: | Unknown |
| Identifier: | Not Available |
| Notes: | None |
| Location: | Unknown |