Vorlage:Divbox

Aus 9/11 Wiki

(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
(Die Seite wurde neu angelegt: „background-color: #FFFFCC; border: 1px solid #663300; margin: 0.5em; padding: 0.5em;“)
 
Zeile 1: Zeile 1:
-
background-color: #FFFFCC; border: 1px solid #663300; margin: 0.5em; padding: 0.5em;
+
<div class="boilerplate metadata" id="{{{2}}}" style="{{divstyle{{{1}}}}}"><center><b>{{{2}}}</b></center>{{{3}}}</div>
 +
 
 +
<noinclude>
 +
==How to use==
 +
<nowiki>{{divbox|color of box|Headtitle|Message}}</nowiki>
 +
==Example==
 +
<nowiki>{{divbox|green|An example|This is only an example of how this template works.}}</nowiki>
 +
 
 +
Writing this code will give you...
 +
 
 +
{{divbox|green|An example|This is only an example of how this template works.}}
 +
 
 +
==Available colors==
 +
<div style="{{divstyleamber}}; width:5em; float:left; margin:.3em">amber</div>
 +
<div style="{{divstyleblack}}; width:5em; float:left; margin:.3em">black</div>
 +
<div style="{{divstylebloodred}}; width:5em; float:left; margin:.3em">bloodred</div>
 +
<div style="{{divstyleblue}}; width:5em; float:left; margin:.3em">blue</div>
 +
<div style="{{divstylebrown}}; width:5em; float:left; margin:.3em">brown</div>
 +
<div style="{{divstyleforest}}; width:5em; float:left; margin:.3em">forest</div>
 +
<div style="{{divstylegold}}; width:5em; float:left; margin:.3em">gold</div>
 +
<div style="{{divstylegray}}; width:5em; float:left; margin:.3em">gray</div>
 +
<div style="{{divstylegreen}}; width:5em; float:left; margin:.3em">green</div>
 +
<div style="{{divstylenavy}}; width:5em; float:left; margin:.3em">navy</div>
 +
<div style="{{divstylenone}}; width:5em; float:left; margin:.3em">none</div>
 +
<div style="{{divstyleorange}}; width:5em; float:left; margin:.3em">orange</div>
 +
<div style="{{divstyleplain}}; width:5em; float:left; margin:.3em">plain</div>
 +
<div style="{{divstylepurple}}; width:5em; float:left; margin:.3em">purple</div>
 +
<div style="{{divstylered}}; width:5em; float:left; margin:.3em">red</div>
 +
<div style="{{divstylewhite}}; width:5em; float:left; margin:.3em">white</div>
 +
<div style="{{divstyleyellow}}; width:5em; float:left; margin:.3em">yellow</div>
 +
[[Category:Formatting templates|Divbox]]
 +
</noinclude>

Aktuelle Version vom 26. September 2010, 15:25 Uhr


How to use

{{divbox|color of box|Headtitle|Message}}

Example

{{divbox|green|An example|This is only an example of how this template works.}}

Writing this code will give you...


Available colors

amber
black
bloodred
blue
brown
forest
gold
gray
green
navy
none
orange
plain
purple
red
white
yellow
Persönliche Werkzeuge