Difference between revisions of "Template:Infobox"
From Purple's Collection
Jump to navigationJump to search (Very simple infobox) |
m (Fix defaults of #switch operation) |
||
(29 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <div | + | <div style="clear:right; float:right; max-width:27em; margin-left:2em"> |
− | {| | + | {| class="wikitable" |
|- | |- | ||
− | |colspan=2 align=center|{{ #if: {{{image| }}} | [[Image:{{{image|{{PAGENAME}}}} | + | |colspan=2 align=center|{{#if: {{{image|}}} | {{#ifexist: Image:{{{image}}} | [[Image:{{{image}}}|250px]] | No image avaliable [[Category:NeedsImage]] }} | {{#ifexist: Image:{{PAGENAME}}.jpg | [[Image:{{PAGENAME}}.jpg|250px]] | No image avaliable <includeonly>[[Category:NeedsImage]]</includeonly>}} }} |
|- | |- | ||
!colspan=2 class="title"|{{PAGENAME}} | !colspan=2 class="title"|{{PAGENAME}} | ||
|- | |- | ||
− | !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> | #default = {{{status}}}}} | ||
+ | | <span style="color:orange">Unknown</span> }} | ||
|- | |- | ||
− | ! | + | !Condition: |
− | |{{{state|Unknown}}} | + | |{{#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> | #default = {{{state}}} }} | ||
+ | | Unknown }} | ||
+ | |- | ||
+ | !Identifier: | ||
+ | |{{{identifier|Not Available}}} | ||
|- | |- | ||
!Notes: | !Notes: | ||
− | |{{{ | + | |{{{notes|None}}} |
+ | |- | ||
+ | !Location: | ||
+ | |{{{location|<span style="color:orange">Unknown</span>}}} | ||
|} | |} | ||
</div> | </div> |
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 |