No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<noinclude>This code is unfinished. The template will not work yet. Currently waiting for Extension:Variables to be installed.</noinclude> | <noinclude> | ||
<p>This code is unfinished. The template will not work yet. Currently waiting for Extension:Variables to be installed.</p> | |||
<p>When finished, this code will allow for the generation of a new infobox with unlimited customization.</p> | |||
==Usage== | |||
<p>Using this template will be as simple as defining the fields in number order</p> | |||
<p>Example:</p> | |||
<div style="width:300px;float:right;clear:right;margin:1em 0 1em 1em;border:2px solid #336699;background:#FFFFFF;-moz-border-radius:15px;border-radius:15px;padding:10px 10px 10px 10px;"> | |||
{{NewInfoBox/Header|''Name Here''|#6699CC}} | |||
{{NewInfoBox/Image|Wiki-background|''Image Caption here''|200px}} | |||
{{NewInfoBox/Header|header1|#6699CC}} | |||
{{NewInfoBox/Field|title1|content1|#336699}} | |||
{{NewInfoBox/Field|title2|content2|#336699}} | |||
{{NewInfoBox/Field|title3|content3|#336699}} | |||
{{NewInfoBox/Field|title4|content4|#336699}} | |||
{{NewInfoBox/Header|header5|#6699CC}} | |||
{{NewInfoBox/Field|title5|content5|#336699}} | |||
{{NewInfoBox/Field|title6|content6|#336699}} | |||
</div> | |||
</noinclude> | |||
{{ #vardefine: i | 0 }} | {{ #vardefine: i | 0 }} | ||
{{ | {{ |
Revision as of 17:09, 29 July 2012
This code is unfinished. The template will not work yet. Currently waiting for Extension:Variables to be installed.
When finished, this code will allow for the generation of a new infobox with unlimited customization.
Usage
Using this template will be as simple as defining the fields in number order
Example:
Name Here
Image Caption here
header1
title1
content1
title2
content2
title3
content3
title4
content4
header5
title5
content5
title6
content6