v50 Steam/Premium information for editors
- v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
- Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.
Editing Template:Rounded info box/doc
Jump to navigation
Jump to search
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | |||
This template is used on the [[Main page]]. Be careful when editing (test on your user page first!) | This template is used on the [[Main page]]. Be careful when editing (test on your user page first!) | ||
Line 38: | Line 37: | ||
{{Rounded info box|Header|Text|bordercolor=red|hbgcolor=yellow|hcolor=#090}} | {{Rounded info box|Header|Text|bordercolor=red|hbgcolor=yellow|hcolor=#090}} | ||
+ | '''Bad''' example: | ||
<pre> | <pre> | ||
{{Rounded info box|Header|Text|hcolor=purple|hbgcolor=red|bgcolor=lime|color=rgb(255,150,10)|bordercolor=hsl(0, 100%, 0%)}} | {{Rounded info box|Header|Text|hcolor=purple|hbgcolor=red|bgcolor=lime|color=rgb(255,150,10)|bordercolor=hsl(0, 100%, 0%)}} | ||
Line 48: | Line 48: | ||
===Colors=== | ===Colors=== | ||
− | * '''color''': The text color of the body | + | * '''color''': The text color of the body (named after the CSS property) |
* '''hcolor''': The text color of the header | * '''hcolor''': The text color of the header | ||
− | * '''bordercolor''': Border color of the infobox | + | * '''bordercolor''': Border color of the infobox (hard to see) |
* '''bgcolor''': Background color of the body | * '''bgcolor''': Background color of the body | ||
* '''hbgcolor''': Background color of the header | * '''hbgcolor''': Background color of the header | ||
Line 57: | Line 57: | ||
{{Color help}} | {{Color help}} | ||
− | == | + | ==Creating a new color scheme (shortcut to this template)== |
− | + | #Create a new page with the text from [[Template:Red rounded info box]] (or another similar template). | |
− | + | #Change the colors, preferably to something else. | |
+ | #Save the page. | ||
− | + | '''Do not delete the <noinclude> section!''' It includes a link to this page so documentation is easy to find, and it won't show up when you use the template. | |
− | + | ||
+ | ==Technical Notes== | ||
+ | * The rounded corners are produced with ''border-radius'', ''-webkit-border-radius'' and ''-moz-border-radius'', which don't work on all browsers (only ones that support CSS3) | ||
+ | * The header comes '''after''' the body in the template. Make sure you don't edit the wrong part by mistake! |