Vorlage:Box: Unterschied zwischen den Versionen
Aus BrandWiki
imported>Ahoi |
imported>Ahoi |
||
Zeile 22: | Zeile 22: | ||
</noinclude> | </noinclude> | ||
<includeonly> | <includeonly> | ||
− | <div class="box {{{1|}}}">'''{{#if:{{{1}}}=info|Info|Alert}}''': {{{2|}}}</div> | + | <div class="box {{{1|}}}">'''{{#if:{{{1|}}}=info|Info|Alert}}''': {{{2|}}}</div> |
</includeonly> | </includeonly> |
Version vom 19. April 2019, 19:40 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.}}
Info: This is an alert.
{{Box|info|This is information.}}
Info: This is information.