Vorlage:Box: Unterschied zwischen den Versionen
Aus BrandWiki
imported>Ahoi (Created page with "<noinclude> 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...") |
imported>Ahoi |
||
Zeile 2: | Zeile 2: | ||
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. | 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. | ||
− | <code><nowiki>{{Box|</nowiki>''Box type | + | <code><nowiki>{{Box|</nowiki>''Box type''<nowiki>|</nowiki>''Text''<nowiki>}}</nowiki></code> |
; Box | ; Box | ||
: This is the template name. Do not change or omit. | : This is the template name. Do not change or omit. | ||
; Box type | ; Box type | ||
− | : You can choose either alert, info. The styling will change accordingly | + | : You can choose either '''alert''', '''info'''. The styling will change accordingly. |
− | |||
− | |||
; Text | ; Text | ||
: Write the information box text. | : Write the information box text. | ||
+ | |||
</noinclude> | </noinclude> | ||
<includeonly> | <includeonly> | ||
− | <div class="alert {{{1|}}}">''' | + | <div class="alert {{{1|}}}">'''{{{1|}}}''': {{{2|}}}</div> |
</includeonly> | </includeonly> |
Version vom 19. April 2019, 19:35 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.