Template:Content Box: Difference between revisions

From dezentrale wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 6: Line 6:
 
</div>
 
</div>
 
</includeonly>
 
</includeonly>
  +
<noinclude>
  +
Generiert einen hübschen Kasten, wahlweise mit Überschrift.
  +
Das [[Template:Content Box/styles.css|Stylesheet]] ist mit Flexbox damit das auch am Handy funktioniert.
  +
  +
Ist nur sinnvoll als <code>content</code> von [[Template:Content Row]].
  +
<templatedata>
  +
{
  +
"params": {
  +
"1": {
  +
"aliases": [
  +
"content"
  +
],
  +
"label": "Inhalt",
  +
"type": "content",
  +
"required": true
  +
},
  +
"title": {
  +
"label": "Überschrift"
  +
},
  +
"content": {
  +
"aliases": [
  +
"1"
  +
],
  +
"label": "Inhalt",
  +
"type": "content",
  +
"required": true
  +
}
  +
},
  +
"description": "Zeichnet einen Kasten"
  +
}
  +
</templatedata>
  +
</noinclude>

Revision as of 19:26, 9 January 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