Modèle:Divbox : Différence entre versions

De CerclesRestauratifs.org
Aller à : navigation, rechercher
m (3 versions)
Ligne 1 : Ligne 1 :
<div class="boilerplate metadata" id="{{{2}}}" style="{{divstyle{{{1}}}}}"><center><b>{{{2}}}</b></center>{{{3}}}</div>
+
<div class="boilerplate metadata" {{#if:{{{2|}}}|id="{{{2}}}"|}} style="{{divbox/style/{{{1}}}}};{{#if:{{{radius|}}}|{{border-radius|{{{radius}}}}}|}} padding: 1em;">{{center|<b>{{{2|}}}</b>}}{{{3|}}}</div>
 
<noinclude>
 
<noinclude>
 
==How to use==
 
==How to use==
  <nowiki>{{divbox|color of box|Headtitle|Message}}</nowiki>
+
  <nowiki>{{divbox|1=style|2=title|3=content|radius=}}</nowiki>
 
==Source==
 
==Source==
 
http://en.wikipedia.org/wiki/Template:Divbox
 
http://en.wikipedia.org/wiki/Template:Divbox

Version du 23 février 2015 à 15:02

How to use

{{divbox|1=style|2=title|3=content|radius=}}

Source

http://en.wikipedia.org/wiki/Template:Divbox

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