Template:Content Row: Difference between revisions

From dezentrale wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
<div style="clear: both;"></div>
 
<div style="clear: both;"></div>
 
<div class="content_row">
 
<div class="content_row">
{{{1}}}
+
{{{1|{{{content}}}}}}
 
</div>
 
</div>
 
</includeonly>
 
</includeonly>
 
<noinclude>
 
<noinclude>
  +
Erstellt eine neue Reihe und fügt [[Template:Content Row/styles.css|ein passendes Stylesheet]] hinzu. Mit Flexbox damit das auch am Handy funktioniert.
  +
  +
Ist natürlich nur sinnvoll, wenn als <code>content</code> z.B. ein (oder mehrere) [[Template:Content Box]] genutzt wird.
  +
  +
[[Category:Templates]]
 
<templatedata>
 
<templatedata>
 
{
 
{
Line 13: Line 18:
 
"label": "Inhalt",
 
"label": "Inhalt",
 
"type": "content",
 
"type": "content",
"required": true
+
"required": true,
  +
"aliases": [
  +
"content"
  +
],
  +
"description": "(der eigentliche Inhalt - wer hätte es gedacht)"
 
}
 
}
 
},
 
},
"format": "inline"
+
"format": "block",
  +
"description": "Flexbox Container erzeugen"
 
}
 
}
 
</templatedata>
 
</templatedata>

Latest revision as of 18:46, 5 February 2022


Erstellt eine neue Reihe und fügt ein passendes Stylesheet hinzu. Mit Flexbox damit das auch am Handy funktioniert.

Ist natürlich nur sinnvoll, wenn als content z.B. ein (oder mehrere) Template:Content Box genutzt wird.

Flexbox Container erzeugen

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Inhalt1 content

(der eigentliche Inhalt - wer hätte es gedacht)

Contentrequired