Template:Content Box: Difference between revisions

From dezentrale wiki
Jump to navigation Jump to search
(Try to hide generated TOC if many boxes are used)
Tag: Reverted
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><span>{{{title}}}</span></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

Template parameters

ParameterDescriptionTypeStatus
Inhalt1 content

no description

Contentrequired
Überschrifttitle

no description

Unknownoptional
Inhaltcontent 1

no description

Contentrequired