Vorlage:Box: Unterschied zwischen den Versionen

Aus BrandWiki
Wechseln zu:Navigation, Suche
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''<nowiki>|</nowiki>''Intro''<nowiki>|</nowiki>''Text''<nowiki>}}</nowiki></code>
+
<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.
; Intro
 
: Write a short notice, what this will be about.  
 
 
; Text
 
; Text
 
: Write the information box text.
 
: Write the information box text.
 +
 
</noinclude>
 
</noinclude>
 
<includeonly>
 
<includeonly>
<div class="alert {{{1|}}}">'''{{{2|{{{1|}}}}}}''': {{{3|}}}</div>
+
<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.