Template:Infobox start: Difference between revisions

Template page
(keine leere zeile, wenn kein bild)
m (typo)
 
(22 intermediate revisions by 4 users not shown)
Line 3: Line 3:
* name
* name
* image (default none)
* image (default none)
* headercolor (default #cccccc)
* description
* description
</noinclude><includeonly>
</noinclude><includeonly>
{| cellpadding="3" cellspacing="0" style="<!--
{| cellpadding="3" cellspacing="0" class="t-infobox"
    --> width: 300px; float: right; clear: right; <!--
! colspan="2" style="text-align: center; border-bottom: 1px solid #b0b0b0; background-color: rgba({{{headershade|127, 127, 127}}}, .1);" <!--
    --> 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}}}" <!--
     --> | <big>{{{name}}}</big>
     --> | <big>{{{name}}}</big>
{{ifnotempty|{{{image|}}}|{{!-}}
{{ifnotempty|1={{{image|}}}|2={{!-}}
{{!-}}
{{!}} colspan="2" style="text-align: center" <!--
{{!}} colspan="2" style="text-align: center" <!--
--> {{!}} [[File:{{{image|}}}|300x300px|frameless]]<!--
--> {{!}} [[File:{{{image}}}|300x300px|frameless]]<!--
-->|[[Has no image::true| ]] }}
-->|3=}}
|-
|-
| colspan="2" style="text-align: center; border-bottom: 1px solid #aaaaaa" <!--
| colspan="2" style="text-align: center; border-bottom: 1px solid #b0b0b0;" <!--
     --> | [[Has description::{{{description|}}}]]
     --> | [[Has description::{{{description|}}}]]
</includeonly>
</includeonly>

Latest revision as of 08:30, 20 April 2024

parameters:

  • name
  • image (default none)
  • description