Difference between revisions of "Template:Divbox"

From Grid Sage Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
<includeonly><div>{{{content| {{{1}}} }}}</div></includeonly><noinclude>
+
<includeonly><div style="color:{{{color|inherit}}}; background-color:{{{background-color|transparent}}}; padding:{{{padding|0em}}}">{{{content| {{{1}}} }}}</div></includeonly><noinclude>
 +
{{divbox
 +
|color=white
 +
|background-color=green
 +
|padding=0.25em 1em
 +
|content=test}}
 
<pre>
 
<pre>
{{divbox|content=test}}
+
{{divbox
{{divbox|test}}
+
|color=white
 +
|background-color=green
 +
|padding=0.25em 1em
 +
|content=test}}
 
</pre>
 
</pre>
{{divbox|content=test}}
 
{{divbox|test}}
 
 
[[Category:Templates]]
 
[[Category:Templates]]

Latest revision as of 01:02, 23 January 2020

test
{{divbox
|color=white
|background-color=green
|padding=0.25em 1em
|content=test}}