Template:Infobox start: Difference between revisions

From Milliways
(created the infobox start template)
 
m (removed the conditional, as it is an extension which is not installed yet)
Line 12: Line 12:
     --> border: 1px solid #aaaaaa; background-color: #eee; color: black;"
     --> border: 1px solid #aaaaaa; background-color: #eee; color: black;"


! colspan="2" style="text-align: center; border-bottom: 1px solid #aaaaaa; background-color: {{{headercolor|#cccccc}}}; color: {{#ifeq: {{{darkheader|}}} | 1 | white | black}}" <!--
! colspan="2" style="text-align: center; border-bottom: 1px solid #aaaaaa; background-color: {{{headercolor|#cccccc}}}; color: white" <!--
     --> | <big>{{{name}}}</big>
     --> | <big>{{{name}}}</big>
{{ifnotempty|1={{{image|}}}|2={{!-}}
{{ifnotempty|1={{{image|}}}|2={{!-}}

Revision as of 11:13, 16 June 2022

parameters:

  • name
  • image (default none)
  • headercolor (default #cccccc)
  • darkheader (set to 1 if the background is dark. header text will be white. default 0)
  • description