Vorlage:Box: Unterschied zwischen den Versionen
Aus BrandWiki
imported>Ahoi |
imported>Ahoi |
||
Zeile 10: | Zeile 10: | ||
; Text | ; Text | ||
: Write the information box text. | : Write the information box text. | ||
+ | |||
+ | <code><nowiki>{{Box|alert|This is an alert.}}</nowiki></code> | ||
+ | |||
+ | {{Box|alert|This is an alert.}} | ||
+ | |||
+ | <code><nowiki>{{Box|info|This is information.}}</nowiki></code> | ||
</noinclude> | </noinclude> |
Version vom 19. April 2019, 19:36 Uhr
To add a box for information, alert in your text, use the following template call on a page, substitute the italic variables with your input. The styling will then be applied automatically.
{{Box|Box type|Text}}
- Box
- This is the template name. Do not change or omit.
- Box type
- You can choose either alert, info. The styling will change accordingly.
- Text
- Write the information box text.
{{Box|alert|This is an alert.}}
alert: This is an alert.
{{Box|info|This is information.}}