Difference between revisions of "Template:Main infobox"

From Hymnopedia
Jump to: navigation, search
 
Line 13: Line 13:
 
</noinclude><includeonly>
 
</noinclude><includeonly>
 
<div id='level1' class='main_infobox {{{add_classes|}}} clearfix'>
 
<div id='level1' class='main_infobox {{{add_classes|}}} clearfix'>
<div class='left'>{{{left_content|}}}</div>
+
<div class='left'>
<div class='middle'>{{{center_content|}}}</div>
+
{{{left_content|}}}
 +
</div>
 +
<div class='middle'>
 +
{{{center_content|}}}
 +
</div>
 
{{#if: {{{right_content|}}} |<div class='right'>{{{right_content|}}}</div>|<!-- no right column -->}}
 
{{#if: {{{right_content|}}} |<div class='right'>{{{right_content|}}}</div>|<!-- no right column -->}}
 
</div><!-- /.main_infobox -->
 
</div><!-- /.main_infobox -->
 
</includeonly>
 
</includeonly>

Latest revision as of 03:55, 15 February 2011

This is the "main_infobox" template. It should be called in the following format:

{{main_infobox
|add_classes= 
|left_content=
|center_content=
|right_content=
}}

Edit the page to see the template text.