Template:Box

From Citizens Wiki
Jump to: navigation, search
Template Explanation - Box

Usage

{{Box|
 BORDER = #8898bf|
 BACKGROUND = #a8d3ff|
 WIDTH = 100%|
 ICON = [[Image:filename.png|24px]]|
 HEADING = The Heading|
 CONTENT = '''Some Points'''
 * Everybody loves filltexts.
 }}

Arguments

{{#ifexpr: 6 = 0|There are no arguments for this template|{{#ifexpr: 6 >= 1|*BORDER - Hexadecimal code for the border (including leading #)

BORDER=#8898bfTemplate:Pipe}}

{{#ifexpr: 6 >= 2|*BACKGROUND - Background of the top segment of the title cell

BACKGROUND = #a8d3ffTemplate:Pipe}}

{{#ifexpr: 6 >= 3|*WIDTH - Width of the entire box

WIDTH=100%Template:Pipe}}

{{#ifexpr: 6 >= 4|*ICON - Location and size of the file to use as an icon in the top right of the title

ICON= [[File:Image.pngTemplate:Pipe24px]]Template:Pipe}}

{{#ifexpr: 6 >= 5|*HEADING - The heading of the box

HEADING=The HeadingTemplate:Pipe}}

{{#ifexpr: 6 >= 6|*CONTENT - The contents of the box.

CONTENT=Insert Contents HereTemplate:Pipe}}

{{#ifexpr: 6 >= 7|*{{{A7}}} - {{{A7EXP}}}}} {{#ifexpr: 6 >= 8|*{{{A8}}} - {{{A8EXP}}}}} {{#ifexpr: 6 >= 9|*{{{A9}}} - {{{A9EXP}}}}} {{#ifexpr: 6 >= 10|*{{{A10}}} - {{{A10EXP}}}}} {{#ifexpr: 6 >= 11|*{{{A11}}} - {{{A11EXP}}}}} {{#ifexpr: 6 >= 12|*{{{A12}}} - {{{A12EXP}}}}} {{#ifexpr: 6 >= 13|*{{{A13}}} - {{{A13EXP}}}}} {{#ifexpr: 6 >= 14|*{{{A14}}} - {{{A14EXP}}}}} {{#ifexpr: 6 >= 15|*{{{A15}}} - {{{A15EXP}}}}}}}