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 38: Line 38:
 
{{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 60: Line 61:
 
* '''align''': The alignment of the body (defaults to "center")
 
* '''align''': The alignment of the body (defaults to "center")
 
* '''halign''': The alignment of the header (defaults to "center")
 
* '''halign''': The alignment of the header (defaults to "center")
 +
 +
==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 &lt;noinclude&gt; 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!
  
 
<includeonly>[[Category:Templates]]</includeonly>
 
<includeonly>[[Category:Templates]]</includeonly>
 
<noinclude>[[Category:Template Documentation]]</noinclude>
 
<noinclude>[[Category:Template Documentation]]</noinclude>

Please note that all contributions to Dwarf Fortress Wiki are considered to be released under the GFDL & MIT (see Dwarf Fortress Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel Editing help (opens in new window)

This page is a member of 1 hidden category: