Vorlage:Box: Unterschied zwischen den Versionen

Aus BrandWiki
Wechseln zu:Navigation, Suche
imported>Ahoi
imported>Ahoi
Zeile 16: Zeile 16:
  
 
<code><nowiki>{{Box|info|This is information.}}</nowiki></code>
 
<code><nowiki>{{Box|info|This is information.}}</nowiki></code>
 +
 +
{{Box|info|This is information.}}
 +
  
 
</noinclude>
 
</noinclude>
 
<includeonly>
 
<includeonly>
<div class="alert {{{1|}}}">'''{{{1|}}}''': {{{2|}}}</div>
+
<div class="box {{{1|}}}">'''{{{1|}}}''': {{{2|}}}</div>
 
</includeonly>
 
</includeonly>

Version vom 19. April 2019, 19:37 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.}}


info: This is information.