Template:Frame/doc

From Pizza Tower Wiki
Description
This template is used to create styled blocks with various content. It usually used by main page templates.
Syntax
Copy the following boilerplate code and fill up its parameter:
{{frame
|style = 
|color = 
|title =
|title_color = 
|title_align = 
|content = 
}}
  • style - additional CSS styling for the main container
  • color - background color for title header, HEX code; grey (#888) by default
  • title_color - text color for title header, HEX code; white (#FFF) by default
  • title_align - alignment of the title header text; left by default


Usage example
Code:
{{frame
|style = width: 50%
|color = #631D5B
|title = This is an example
|title_color = #c69ac3
|title_align = center
|content = [[File:Pep_frown.gif]] What do you expect?}}
Result:
This is an example

What do you expect?