Template:CharacterType: Difference between revisions

From Citizens Wiki

(Created page with "<includeonly>{| width=20% style="border: 0; background-color: #ffffff" cellpadding="0" cellspacing="3" | style="width: 20%}; vertical-align: top; border:1px solid {{{BORDER}}}; b...")
 
No edit summary
Line 1: Line 1:
<includeonly>{| width=20% style="border: 0; background-color: #ffffff" cellpadding="0" cellspacing="3"
<includeonly>{| width={{{WIDTH}}} style="border: 0; background-color: #ffffff" cellpadding="0" cellspacing="3"
| style="width: 20%}; vertical-align: top; border:1px solid {{{BORDER}}}; background-color: #ffffff" |
| style="width: {{{WIDTH}}}; vertical-align: top; border:1px solid {{{BORDER}}}; background-color: #ffffff" |
<div style="background-color:{{{BACKGROUND}}}; font-size:1px; height:8px; border-bottom:1px solid {{{BORDER}}};"></div>
<div style="background-color:{{{BACKGROUND}}}; font-size:1px; height:8px; border-bottom:1px solid {{{BORDER}}};"></div>
<div style="float:right; margin:8px; margin-top:5px">{{{ICON}}}</div>
<div style="float:right; margin:8px; margin-top:5px">{{{ICON}}}</div>
Line 10: Line 10:
|}
|}
</div>
</div>
|}</includeonly><noinclude>{{Template|
|}</includeonly><noinclude>
NAME=Box|
DESCRIPTION=|
SAMPLE=<nowiki>{{Box|
BORDER = #8898bf|
BACKGROUND = #a8d3ff|
WIDTH = 100%|
ICON = [[Image:filename.png|24px]]|
HEADING = The Heading|
CONTENT = '''Some Points'''
* Everybody loves filltexts.
}}</nowiki>|
ARGS=6|
PREVIEW=|
A1=BORDER|
A1EXP=Hexadecimal code for the border (including leading #)
BORDER=#8898bf{{Pipe}}|
A2=BACKGROUND|
A2EXP=Background of the top segment of the title cell
BACKGROUND = #a8d3ff{{Pipe}}|
A3=WIDTH|
A3EXP=Width of the entire box
WIDTH=100%{{Pipe}}|
A4=ICON|
A4EXP=Location and size of the file to use as an icon in the top right of the title
ICON= <nowiki>[[File:Image.png</nowiki>{{Pipe}}24px]]{{Pipe}}|
A5=HEADING|
A5EXP=The heading of the box
HEADING=The Heading{{Pipe}}|
A6=CONTENT|
A6EXP=The contents of the box.
CONTENT=Insert Contents Here{{Pipe}}|
}}
</noinclude>
</noinclude>

Revision as of 03:12, 18 February 2012