Template:Infobox start: Difference between revisions

Template page
(Undo revision 24644 by Ytvwld (talk) das hat so nicht funktioniert)
Tag: Undo
(move table outer style css to MediaWiki:Common.css to allow more skin compatibility)
Line 7: Line 7:
* description
* description
</noinclude><includeonly>
</noinclude><includeonly>
{| cellpadding="3" cellspacing="0" style="<!--
{| cellpadding="3" cellspacing="0" class="t-infobox"
    --> width: 308px; float: right; clear: right; <!--
    --> margin-bottom: 0.5em; margin-left: 1em; padding: 0; text-align: left; <!--
    --> 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: {{#ifeq: {{{darkheader|}}} | 1 | white | black}}" <!--
     --> | <big>{{{name}}}</big>
     --> | <big>{{{name}}}</big>

Revision as of 23:24, 28 March 2024

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