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:
{{documentation subpage}}
 
 
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 8: Line 7:
  
 
{{Rounded info box|Header|Text}}
 
{{Rounded info box|Header|Text}}
 
===Existing shortcuts===
 
See [[:Category:Rounded info box templates]] for a list of existing templates.
 
 
<pre>
 
{{Red rounded info box|Header|Text}}
 
</pre>
 
{{Red rounded info box|Header|Text}}
 
 
<pre>
 
{{Grey rounded info box|Header|Text}}
 
</pre>
 
{{Grey rounded info box|Header|Text}}
 
 
<pre>
 
{{Orange rounded info box|Header|Text}}
 
</pre>
 
{{Orange rounded info box|Header|Text}}
 
 
<pre>
 
{{Green rounded info box|Header|Text}}
 
</pre>
 
{{Green rounded info box|Header|Text}}
 
 
===Custom colors===
 
<pre>
 
{{Rounded info box|Header|Text|bordercolor=red|hbgcolor=yellow|hcolor=#090}}
 
</pre>
 
{{Rounded info box|Header|Text|bordercolor=red|hbgcolor=yellow|hcolor=#090}}
 
 
<pre>
 
{{Rounded info box|Header|Text|hcolor=purple|hbgcolor=red|bgcolor=lime|color=rgb(255,150,10)|bordercolor=hsl(0, 100%, 0%)}}
 
</pre>
 
 
{{Rounded info box|Header|Text|hcolor=purple|hbgcolor=red|bgcolor=lime|color=rgb(255,150,10)|bordercolor=hsl(0, 100%, 0%)}}
 
  
 
==Parameters (optional)==
 
==Parameters (optional)==
Line 48: Line 12:
 
===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 21:
 
{{Color help}}
 
{{Color help}}
  
===Layout===
+
==Technical Notes==
* '''align''': The alignment of the body (defaults to "center")
+
* The rounded corners are produced with ''-webkit-border-radius'' and ''-moz-border-radius'', which don't work on all browsers (only ones that support CSS3)
* '''halign''': The alignment of the header (defaults to "center")
+
* The header comes '''after''' the body in the template. Make sure you don't edit the wrong part by mistake!
 
 
<includeonly>[[Category:Templates]]</includeonly>
 
<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: