Difference between revisions of "Template:Box"

From LFS Manual
Jump to navigationJump to search
m
m
Line 1: Line 1:
<div style="border: 1px solid {{#if:{{{2|}}}|{{{2}}}|#c8ccd1}}; background-color: {{#if:{{{3|}}}|{{{3}}}|#FAFAFA}};">{{{1}}}</div><noinclude>
+
<div style="border: 1px solid {{{border|#c8ccd1}}}; background-color: {{{bg|#FAFAFA}}};">{{{1}}}</div><noinclude>
{{box|test}}
+
{{box|box content}}
{{box|test|red}}
+
{{box|border=red|box content}}
{{box|test|red|yellow}}
+
{{box|box content|border=red|bg=yellow}}
  
 
[[Category:Layout templates]]
 
[[Category:Layout templates]]

Revision as of 00:15, 3 December 2023

{{{1}}}
box content
box content
box content