Template:Round corners: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<includeonly>{{border-radius|1em}} {{box-shadow|0.1em|0.1em|0.5em|rgba(0,0,0,0.75)}}</includeonly><!-- --><noinclude> === Usage === This template is used to produce rounded corn...") |
Hoof Hearted (talk | contribs) m (Protected "Template:Round corners": High-importance template: templates are crucial to the operation of this wiki, so need appropriate protection ([move=sysop] (indefinite))) |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{{border-radius|1em}} {{box-shadow|0.1em|0.1em|0.5em|rgba(0,0,0,0.75)}}</includeonly><!-- | <includeonly>{{border-radius|1em}} {{box-shadow|0.1em|0.1em|0.5em|rgba(0,0,0,0.75)}}</includeonly><!-- | ||
--><noinclude> | --><noinclude> | ||
;Usage | |||
This [[:Category:Templates|template]] is used to produce rounded corners for tables. Just embed it in any <nowiki><div>, <table>: etc.</nowiki> element. | |||
;Example | |||
<pre><div style="background-color:#ffff66; {{round corners}} padding:0.5em 1em">Text text text</div></pre> | |||
<pre><div style="background-color: #ffff66; {{round corners}} padding: 0.5em 1em | |||
:''which produces:'' | :''which produces:'' | ||
<div style="background-color: #ffff66; {{round corners}} padding: 0.5em 1em | <div style="background-color:#ffff66; {{round corners}} padding:0.5em 1em">Text text text</div> | ||
</noinclude> | </noinclude> | ||
<noinclude> | |||
[[Category:Templates|Round corners]]</noinclude> | |||
Latest revision as of 10:02, 18 September 2012
- Usage
This template is used to produce rounded corners for tables. Just embed it in any <div>, <table>: etc. element.
- Example
<div style="background-color:#ffff66; {{round corners}} padding:0.5em 1em">Text text text</div>
- which produces:
Text text text