Difference between revisions of "Template:Infobox"

From Purple's Collection
Jump to navigationJump to search
m (typo)
Line 2: Line 2:
 
{|  
 
{|  
 
|-
 
|-
|colspan=2 align=center|{{ #if: {{{image| }}} | [[Image:{{{image|{{PAGENAME}}}}}|100px]] | }}
+
|colspan=2 align=center|{{#ifexist: Image:{{PAGENAME}} | [[Image:{{PAGENAME}}|100px]] | }}
 
|-
 
|-
 
!colspan=2 class="title"|{{PAGENAME}}
 
!colspan=2 class="title"|{{PAGENAME}}
Line 13: Line 13:
 
|-
 
|-
 
!State:
 
!State:
|{{{state|Unknown}}}
+
|{{#if: {{{state|}}} |
 +
{{#ifeq: state | "good" | <span style="color:green">Good</span>}}
 +
{{#ifeq: state | "alright" | <span style="color:orange">Alright</span>}}
 +
{{#ifeq: state | "bad" | <span style="color:red">Bad</span>}}
 +
| Unknown }}
 
|-
 
|-
 
!Notes:
 
!Notes:

Revision as of 16:48, 17 September 2020

Infobox
Specs: Unknown
Status: Unknown
State: Unknown
Notes: None