Template:Infobox start: Difference between revisions

From Milliways
(created the infobox start template)
 
m (description formatting)
 
(3 intermediate revisions by the same user not shown)
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: black" <!--
     --> | <big>{{{name}}}</big>
     --> | <big>{{{name}}}</big>
{{ifnotempty|1={{{image|}}}|2={{!-}}
{{!}} colspan="2" style="text-align: center" <!--
--> {{!}} [[File:{{{image}}}|300x300px|frameless]]<!--
-->|3=}}
|-
|-
| colspan="2" style="text-align: center; border-bottom: 1px solid #aaaaaa" <!--
| colspan="2" style="text-align: center; border-bottom: 1px solid #aaaaaa" <!--
     --> | [[Has description::{{{description|}}}]]
     --> | {{{description|}}}
</includeonly>
</includeonly>

Latest revision as of 11:30, 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