Difference between revisions of "Template:DRBX"

From Marspedia
Jump to: navigation, search
(Default Rounded Box -- using Grad_Top, Grad_Bottom, and Grad_Fallback for colors)
 
(Adding border color setting support as it's needed for the m ain page.)
Line 1: Line 1:
<includeonly>{{RBX | topcolor={{Grad_Top}} | botcolor={{Grad_Bottom}} | legacy = {{Grad_Fallback}} }}</includeonly><noinclude>
+
<includeonly>{{RBX | topcolor={{Grad_Top}} | botcolor={{Grad_Bottom}} | legacy = {{Grad_Fallback}} | border = {{{border|#3F3F3F}}} }}</includeonly><noinclude>
  
 
CSS styling template.  Place inside a style attribute.
 
CSS styling template.  Place inside a style attribute.
 
__NOTOC__
 
__NOTOC__
 
==Settings==
 
==Settings==
None.  This is the wiki branding default version.  To customize use [[:Template:RBX]] instead.
+
*border: border color
 +
 
 +
This is the wiki branding default version.  To customize bore than just the border color use [[:Template:RBX]] instead.
  
 
To adjust the wiki branding settings adjust the following colors:
 
To adjust the wiki branding settings adjust the following colors:

Revision as of 18:07, 11 November 2017


CSS styling template. Place inside a style attribute.

Settings

  • border: border color

This is the wiki branding default version. To customize bore than just the border color use Template:RBX instead.

To adjust the wiki branding settings adjust the following colors:

Caution: changing these templates will affect all templates using this template, as well as anything else referencing these colors. They should probably be kept protected by an administrator.

Example

L5
in
'95

<DIV style="width: 25em; text-align:center; {{DRBX}}">
'''L5<BR/>in<BR/>'95'''
</DIV>