Template:Content Box: Difference between revisions
Jump to navigation
Jump to search
Sixtus-admin (talk | contribs) (Try to hide generated TOC if many boxes are used) Tag: Reverted |
Sixtus-admin (talk | contribs) m (Does not prevent autogeneration of TOC.. Use __NOTOC__ instead!) Tag: Manual revert |
||
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 |
+ | {{#if:{{{title|}}}|<h3>{{{title}}}</h3>|}} |
<div {{#if:{{{title|}}}|class="items"|}}>{{{1|{{{content|}}}}}}</div> |
<div {{#if:{{{title|}}}|class="items"|}}>{{{1|{{{content|}}}}}}</div> |
||
</div> |
</div> |
Revision as of 14:42, 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 |