Template:Content Box: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Sixtus-admin (talk | contribs) (Try to hide generated TOC if many boxes are used) Tag: Reverted |
||
Line 2: | Line 2: | ||
<templatestyles src="Template:Content_Box/styles.css" /> |
<templatestyles src="Template:Content_Box/styles.css" /> |
||
<div class="content_box"> |
<div class="content_box"> |
||
− | {{#if:{{{title|}}}|<h3>{{{title}}}</h3>|}} |
+ | {{#if:{{{title|}}}|<h3><span>{{{title}}}</span></h3>|}} |
<div {{#if:{{{title|}}}|class="items"|}}>{{{1|{{{content|}}}}}}</div> |
<div {{#if:{{{title|}}}|class="items"|}}>{{{1|{{{content|}}}}}}</div> |
||
</div> |
</div> |
Revision as of 14:40, 5 February 2022
Generiert einen hübschen Kasten, wahlweise mit Überschrift.
Das Stylesheet ist mit Flexbox damit das auch am Handy funktioniert.
Ist nur sinnvoll als content
von Template:Content Row.
Zeichnet einen Kasten
Parameter | Description | Type | Status | |
---|---|---|---|---|
Inhalt | 1 content | no description | Content | required |
Überschrift | title | no description | Unknown | optional |
Inhalt | content 1 | no description | Content | required |