Template:Infobox start: Difference between revisions

From Chaosdorf Wiki
Jump to navigation Jump to search
(weniger padding, keine kleineren fonts)
m (defaultbreite erhöht, sodass projekt- und eventboxen gleich groß sind)
(16 intermediate revisions by 2 users not shown)
Line 4: Line 4:
* image (default none)
* image (default none)
* headercolor (default #cccccc)
* headercolor (default #cccccc)
* width (default 300px)
* 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: {{{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={{!-}}
| colspan="2" style="text-align: center" <!--
{{!}} colspan="2" style="text-align: center" <!--
    --> | {{#if:{{{image|}}}|[[File:{{{image|}}}|300px|frameless]]|[[Has no image::true| ]]}}
--> {{!}} [[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|}}}]]
     --> | [[Has description::{{{description|}}}]]
</includeonly>
</includeonly>

Revision as of 19: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