Template:Box: Difference between revisions

From Puella Magi Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 19: Line 19:
  |subcontent=I'm secondary content
  |subcontent=I'm secondary content
}}
}}
</pre>


with custom stylings:
with custom stylings:

Revision as of 13:45, 18 March 2012

Usage:

{{Box
 |border_color=#ddd
 |background_color=#f6f6f6
 |content=Hello this is a box
}}

with sub content:

{{Box
 |border_color=#ddd
 |background_color=#f6f6f6
 |secondary_background_color=#efefef
 |content=Hello this is a box
 |subcontent=I'm secondary content
}}

with custom stylings:

{{Box
 |border_color=#ddd
 |background_color=#f6f6f6
 |secondary_background_color=#efefef
 |content_style=padding:5px;
 |subcontent_style=text-align:left;
 |content=Hello this is a box
 |subcontent=I'm secondary content
}}