Difference between revisions of "Template:Infobox building"

From Jurassic Outpost Encyclopedia
Jump to navigation Jump to search
 
Line 3: Line 3:
  
 
|above        = {{ifempty|{{{name|}}}|<includeonly>{{PAGENAME}}</includeonly>}}
 
|above        = {{ifempty|{{{name|}}}|<includeonly>{{PAGENAME}}</includeonly>}}
|abovestyle  = background: {{ifempty|{{{color|}}}|{{{colour|}}}|#DEDEE2}}; {{#if:{{{color|}}}{{{colour|}}}|color: {{Greater color contrast ratio|{{ifempty|{{{color|}}}|{{{colour|}}}}}}};}}
+
|abovestyle  = background: {{ifempty|{{{color|}}}|{{{colour|}}}|#3d3d3d}}; {{#if:{{{color|}}}{{{colour|}}}|color: {{Greater color contrast ratio|{{ifempty|{{{color|}}}|{{{colour|}}}}}}};}}
  
 
| title      = {{#ifeq:{{{embed|}}}|yes|'''Building details'''}}
 
| title      = {{#ifeq:{{{embed|}}}|yes|'''Building details'''}}
 
| subheader  = {{#if:{{{native_building_name|{{{native_name|}}}}}}|<span class="nickname" {{#if:{{{native_name_lang|}}}| lang="{{{native_name_lang}}}"}}>{{{native_building_name|{{{native_name}}}}}}</span>}}
 
| subheader  = {{#if:{{{native_building_name|{{{native_name|}}}}}}|<span class="nickname" {{#if:{{{native_name_lang|}}}| lang="{{{native_name_lang}}}"}}>{{{native_building_name|{{{native_name}}}}}}</span>}}
  
|headerstyle  = background: {{ifempty|{{{color|}}}|{{{colour|}}}|#DEDEE2}}; {{#if:{{{color|}}}{{{colour|}}}|color: {{Greater color contrast ratio|{{ifempty|{{{color|}}}|{{{colour|}}}}}}};}}
+
|headerstyle  = background: {{ifempty|{{{color|}}}|{{{colour|}}}|#3d3d3d}}; {{#if:{{{color|}}}{{{colour|}}}|color: {{Greater color contrast ratio|{{ifempty|{{{color|}}}|{{{colour|}}}}}}};}}
 
|labelstyle  = {{{lbl-style|}}}
 
|labelstyle  = {{{lbl-style|}}}
 
|datastyle    = {{{data-style|}}}
 
|datastyle    = {{{data-style|}}}

Latest revision as of 18:12, 29 August 2020

Script error: The function "doc" does not exist.