Difference between revisions of "Template:Boxstyle"

From Wurmpedia
Jump to navigation Jump to search
(New page: style=" margin:2px auto; padding:3px; width:{{{width|60%}}}; background-color:{{{bgcolor|inherit}}}; border:2px solid {{{bordercolor|black}}}; text-align:{{{align|left}}}; " <noinclude> [...)
 
(adding disclaimer)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
style="
+
<includeonly>style="
 
margin:2px auto;
 
margin:2px auto;
 
padding:3px;
 
padding:3px;
Line 6: Line 6:
 
border:2px solid {{{bordercolor|black}}};
 
border:2px solid {{{bordercolor|black}}};
 
text-align:{{{align|left}}};
 
text-align:{{{align|left}}};
"
+
-moz-border-radius:10px;
<noinclude>
+
-webkit-border-radius: 10px;
 +
border-radius: 10px;
 +
-khtml-border-radius: 10px;
 +
clear:both;"</includeonly>
 +
<noinclude>'''This template is being phased out, as its purpose is now fulfilled by the associated stylesheet. Please do not use this template.'''
 +
 
 +
Basic styling for table boxes. Usage:
 +
 
 +
<pre>{{boxstyle
 +
|width=500px (default 60%)
 +
|bgcolor=red (default inherit)
 +
|bordercolor=blue (default black)
 +
|align=right (default left)
 +
}}</pre>
 +
 
 +
All parameters are optional.
 +
 
 
[[Category:Template]]
 
[[Category:Template]]
 
</noinclude>
 
</noinclude>

Latest revision as of 15:10, 24 April 2021

This template is being phased out, as its purpose is now fulfilled by the associated stylesheet. Please do not use this template.

Basic styling for table boxes. Usage:

{{boxstyle
|width=500px (default 60%)
|bgcolor=red (default inherit)
|bordercolor=blue (default black)
|align=right (default left)
}}

All parameters are optional.