Template:Infobox start: Difference between revisions

Template page
m (kommentar)
m (defaultbreite erhöht, sodass projekt- und eventboxen gleich groß sind)
(8 intermediate revisions by 2 users not shown)
Line 4: Line 4:
* image (default none)
* image (default none)
* headercolor (default #cccccc)
* headercolor (default #cccccc)
* darkheader (set to 1 if the background is dark. header text will be white. default 0)
* description
* description
</noinclude><includeonly>
</noinclude><includeonly>
{| cellpadding="3" cellspacing="0" style="<!--
{| cellpadding="3" cellspacing="0" style="<!--
     --> width: 300px; float: right; clear: right; <!--
     --> width: 308px; float: right; clear: right; <!--
     --> margin-bottom: 0.5em; margin-left: 1em; padding: 0; text-align: left; <!--
     --> margin-bottom: 0.5em; margin-left: 1em; padding: 0; text-align: left; <!--
     --> 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}}}" <!--
! 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>
 
{{ifnotempty|1={{{image|}}}|2={{!-}}
-->{{#if:{{{image|}}} | {{!-}} }}<!--
{{!}} colspan="2" style="text-align: center" <!--
-->{{#if:{{{image|}}} | {{!}} colspan="2" style="text-align: center" <!--
--> {{!}} [[File:{{{image}}}|300x300px|frameless]]<!--
-->{{!}} [[File:{{{image}}}|300x300px|frameless]] }}<!--
-->|3=}}
-->{{#if:{{{image|}}} || [[Has no image::true| ]] }}
|-
|-
| 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|}}}]]
     --> | [[Has description::{{{description|}}}]]
</includeonly>
</includeonly>

Revision as of 20:01, 20 December 2012

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