Vorlage:Box: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
K (<toc> parameter fades __NOTOC__) |
K (added Parameters section) |
||
| Zeile 1: | Zeile 1: | ||
| − | {{#if:{{{toc|}}}||__NOTOC__}}<div class="box" align="center">{{{Boxtext}}}</div> | + | <includeonly>{{#if:{{{toc|}}}||__NOTOC__}}<div class="box" align="center">{{{Boxtext}}}</div></includeonly><noinclude> |
| + | == Parameters == | ||
| + | * '''toc''' | ||
| + | : If '''toc''' is set, the magic word '''<nowiki>__NOTOC__</nowiki>''' is suppressed. | ||
| + | * '''Boxtext''' | ||
| + | : The text content of the box. | ||
| + | |||
| + | == Example == | ||
| + | <nowiki>{{Box|toc=1|Boxtext=This is the text.}}</nowiki> | ||
| + | |||
| + | {{Box|toc=1|Boxtext=This is the text.}} | ||
| + | </noinclude> | ||
Version vom 25. Februar 2022, 18:40 Uhr
Parameters
- toc
- If toc is set, the magic word __NOTOC__ is suppressed.
- Boxtext
- The text content of the box.
Example
{{Box|toc=1|Boxtext=This is the text.}}
This is the text.