Template:Sidebar: Difference between revisions
Jump to navigation
Jump to search
>Sardanaphalus (+conditionals to add sectdividers if heading but no content) |
>Sardanaphalus (simplifying default padding) |
||
Line 31: | Line 31: | ||
------------------------------ section 1 -------------------------------- | ------------------------------ section 1 -------------------------------- | ||
-->{{#if:{{{heading1<includeonly>|</includeonly>}}} |<tr><td style=" | -->{{#if:{{{heading1<includeonly>|</includeonly>}}} |<tr><td style="font-weight:bold; {{{headingstyle|}}} {{{heading1style|}}}">{{{heading1}}}<!--end#if:-->}}<!-- | ||
--><tr><td style=" | --><tr><td style="padding-bottom:0.4em; {{{contentstyle|}}} {{{content1style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content1<includeonly>|</includeonly>}}}<!-- | ||
------------------------------ section 2 -------------------------------- | ------------------------------ section 2 -------------------------------- | ||
-->{{#if:{{{heading2<includeonly>|</includeonly>}}} | -->{{#if:{{{heading2<includeonly>|</includeonly>}}} | ||
|<tr><td style=" | |<tr><td style="font-weight:bold; {{#if:{{{content2<includeonly>|</includeonly>}}} | |{{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}<!--end#if:-->}} {{{headingstyle|}}} {{{heading2style|}}}">{{{heading2}}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->{{#if:{{{content2<includeonly>|</includeonly>}}} | -->{{#if:{{{content2<includeonly>|</includeonly>}}} | ||
|<tr><td style=" | |<tr><td style="padding-bottom:0.4em; {{{contentstyle|}}} {{{content2style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content2<includeonly>|</includeonly>}}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
------------------------------ section 3 -------------------------------- | ------------------------------ section 3 -------------------------------- | ||
-->{{#if:{{{heading3<includeonly>|</includeonly>}}} | -->{{#if:{{{heading3<includeonly>|</includeonly>}}} | ||
|<tr><td style=" | |<tr><td style="font-weight:bold; {{#if:{{{content3<includeonly>|</includeonly>}}} | |{{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}<!--end#if:-->}} {{{headingstyle|}}} {{{heading3style|}}}">{{{heading3}}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->{{#if:{{{content3<includeonly>|</includeonly>}}} | -->{{#if:{{{content3<includeonly>|</includeonly>}}} | ||
|<tr><td style=" | |<tr><td style="padding-bottom:0.4em; {{{contentstyle|}}} {{{content3style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content3<includeonly>|</includeonly>}}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
------------------------------ section 4 -------------------------------- | ------------------------------ section 4 -------------------------------- | ||
-->{{#if:{{{heading4|}}} | -->{{#if:{{{heading4|}}} | ||
|<tr><td style=" | |<tr><td style="font-weight:bold; {{#if:{{{content4|}}} | |{{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}<!--end#if:-->}} {{{headingstyle|}}} {{{heading4style|}}}">{{{heading4}}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->{{#if:{{{content4<includeonly>|</includeonly>}}} | -->{{#if:{{{content4<includeonly>|</includeonly>}}} | ||
|<tr><td style=" | |<tr><td style="padding-bottom:0.4em; {{{contentstyle|}}} {{{content4style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content4<noinclude>|''(......etc......)''</noinclude>}}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
------------------------------ section 5 -------------------------------- | ------------------------------ section 5 -------------------------------- | ||
-->{{#if:{{{heading5|}}} | -->{{#if:{{{heading5|}}} | ||
|<tr><td style=" | |<tr><td style="font-weight:bold; {{#if:{{{content5|}}} | |{{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}<!--end#if:-->}} {{{headingstyle|}}} {{{heading5style|}}}">{{{heading5}}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->{{#if:{{{content5|}}} | -->{{#if:{{{content5|}}} | ||
|<tr><td style=" | |<tr><td style="padding-bottom:0.4em; {{{contentstyle|}}} {{{content5style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content5}}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
------------------------------ section 6 -------------------------------- | ------------------------------ section 6 -------------------------------- | ||
-->{{#if:{{{heading6|}}} | -->{{#if:{{{heading6|}}} | ||
|<tr><td style=" | |<tr><td style="font-weight:bold; {{#if:{{{content6|}}} | |{{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}<!--end#if:-->}} {{{headingstyle|}}} {{{heading6style|}}}">{{{heading6}}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->{{#if:{{{content6|}}} | -->{{#if:{{{content6|}}} | ||
|<tr><td style=" | |<tr><td style="padding-bottom:0.4em; {{{contentstyle|}}} {{{content6style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content6}}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
------------------------------ section 7 -------------------------------- | ------------------------------ section 7 -------------------------------- | ||
-->{{#if:{{{heading7|}}} | -->{{#if:{{{heading7|}}} | ||
|<tr><td style=" | |<tr><td style="font-weight:bold; {{#if:{{{content7|}}} | |{{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}<!--end#if:-->}} {{{headingstyle|}}} {{{heading7style|}}}">{{{heading7}}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->{{#if:{{{content7|}}} | -->{{#if:{{{content7|}}} | ||
|<tr><td style=" | |<tr><td style="padding-bottom:0.4em; {{{contentstyle|}}} {{{content7style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content7}}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
------------------------------ section 8 -------------------------------- | ------------------------------ section 8 -------------------------------- | ||
-->{{#if:{{{heading8|}}} | -->{{#if:{{{heading8|}}} | ||
|<tr><td style=" | |<tr><td style="font-weight:bold; {{#if:{{{content8|}}} | |{{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}<!--end#if:-->}} {{{headingstyle|}}} {{{heading8style|}}}">{{{heading8}}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->{{#if:{{{content8|}}} | -->{{#if:{{{content8|}}} | ||
|<tr><td style=" | |<tr><td style="padding-bottom:0.4em; {{{contentstyle|}}} {{{content8style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content8}}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
------------------------------ section 9 -------------------------------- | ------------------------------ section 9 -------------------------------- | ||
-->{{#if:{{{heading9|}}} | -->{{#if:{{{heading9|}}} | ||
|<tr><td style=" | |<tr><td style="font-weight:bold; {{#if:{{{content9|}}} | |{{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}<!--end#if:-->}} {{{headingstyle|}}} {{{heading9style|}}}">{{{heading9}}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->{{#if:{{{content9|}}} | -->{{#if:{{{content9|}}} | ||
|<tr><td style=" | |<tr><td style="padding-bottom:0.4em; {{{contentstyle|}}} {{{content9style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content9}}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
------------------------------ section 10 ------------------------------- | ------------------------------ section 10 ------------------------------- | ||
-->{{#if:{{{heading10|}}} | -->{{#if:{{{heading10|}}} | ||
|<tr><td style=" | |<tr><td style="font-weight:bold; {{#if:{{{content10|}}} | |{{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}<!--end#if:-->}} {{{headingstyle|}}} {{{heading10style|}}}">{{{heading10}}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->{{#if:{{{content10|}}} | -->{{#if:{{{content10|}}} | ||
|<tr><td style=" | |<tr><td style="padding-bottom:0.4em; {{{contentstyle|}}} {{{content10style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content10}}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
------------------------------ section 11 ------------------------------- | ------------------------------ section 11 ------------------------------- | ||
-->{{#if:{{{heading11|}}} | -->{{#if:{{{heading11|}}} | ||
|<tr><td style=" | |<tr><td style="font-weight:bold; {{#if:{{{content11|}}} | |{{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}<!--end#if:-->}} {{{headingstyle|}}} {{{heading11style|}}}">{{{heading5}}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->{{#if:{{{content11|}}} | -->{{#if:{{{content11|}}} | ||
|<tr><td style=" | |<tr><td style="padding-bottom:0.4em; {{{contentstyle|}}} {{{content11style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content11}}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
------------------------------ section 12 ------------------------------- | ------------------------------ section 12 ------------------------------- | ||
-->{{#if:{{{heading12|}}} | -->{{#if:{{{heading12|}}} | ||
|<tr><td style=" | |<tr><td style="font-weight:bold; {{#if:{{{content12|}}} | |{{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}<!--end#if:-->}} {{{headingstyle|}}} {{{heading12style|}}}">{{{heading12}}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->{{#if:{{{content12|}}} | -->{{#if:{{{content12|}}} | ||
|<tr><td style=" | |<tr><td style="padding-bottom:0.4em; {{{contentstyle|}}} {{{content12style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content12}}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
------------------------------ section 13 ------------------------------- | ------------------------------ section 13 ------------------------------- | ||
-->{{#if:{{{heading13|}}} | -->{{#if:{{{heading13|}}} | ||
|<tr><td style=" | |<tr><td style="font-weight:bold; {{#if:{{{content13|}}} | |{{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}<!--end#if:-->}} {{{headingstyle|}}} {{{heading13style|}}}">{{{heading13}}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->{{#if:{{{content13|}}} | -->{{#if:{{{content13|}}} | ||
|<tr><td style=" | |<tr><td style="padding-bottom:0.4em; {{{contentstyle|}}} {{{content13style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content13}}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
------------------------------ section 14 ------------------------------- | ------------------------------ section 14 ------------------------------- | ||
-->{{#if:{{{heading14|}}} | -->{{#if:{{{heading14|}}} | ||
|<tr><td style=" | |<tr><td style="font-weight:bold; {{#if:{{{content14|}}} | |{{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}<!--end#if:-->}} {{{headingstyle|}}} {{{heading14style|}}}">{{{heading14}}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->{{#if:{{{content14|}}} | -->{{#if:{{{content14|}}} | ||
|<tr><td style=" | |<tr><td style="padding-bottom:0.4em; {{{contentstyle|}}} {{{content14style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content14}}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
------------------------------ section 15 ------------------------------- | ------------------------------ section 15 ------------------------------- | ||
-->{{#if:{{{heading15|}}} | -->{{#if:{{{heading15|}}} | ||
|<tr><td style=" | |<tr><td style="font-weight:bold; {{#if:{{{content15|}}} | |{{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}<!--end#if:-->}} {{{headingstyle|}}} {{{heading15style|}}}">{{{heading15}}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->{{#if:{{{content15|}}} | -->{{#if:{{{content15|}}} | ||
|<tr><td style=" | |<tr><td style="padding-bottom:0.4em; {{{contentstyle|}}} {{{content15style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content15}}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
------------------------------ section 16 ------------------------------- | ------------------------------ section 16 ------------------------------- | ||
-->{{#if:{{{heading16|}}} | -->{{#if:{{{heading16|}}} | ||
|<tr><td style=" | |<tr><td style="font-weight:bold; {{#if:{{{content16|}}} | |{{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}<!--end#if:-->}} {{{headingstyle|}}} {{{heading5style|}}}">{{{heading16}}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->{{#if:{{{content16|}}} | -->{{#if:{{{content16|}}} | ||
|<tr><td style=" | |<tr><td style="padding-bottom:0.4em; {{{contentstyle|}}} {{{content16style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content16}}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
------------------------------ section 17 ------------------------------- | ------------------------------ section 17 ------------------------------- | ||
-->{{#if:{{{heading17|}}} | -->{{#if:{{{heading17|}}} | ||
|<tr><td style=" | |<tr><td style="font-weight:bold; {{#if:{{{content17|}}} | |{{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}<!--end#if:-->}} {{{headingstyle|}}} {{{heading17style|}}}">{{{heading5}}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->{{#if:{{{content17|}}} | -->{{#if:{{{content17|}}} | ||
|<tr><td style=" | |<tr><td style="padding-bottom:0.4em; {{{contentstyle|}}} {{{content17style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content17}}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
------------------------------ section 18 ------------------------------- | ------------------------------ section 18 ------------------------------- | ||
-->{{#if:{{{heading18|}}} | -->{{#if:{{{heading18|}}} | ||
|<tr><td style=" | |<tr><td style="font-weight:bold; {{#if:{{{content18|}}} | |{{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}<!--end#if:-->}} {{{headingstyle|}}} {{{heading18style|}}}">{{{heading18}}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->{{#if:{{{content18|}}} | -->{{#if:{{{content18|}}} | ||
|<tr><td style=" | |<tr><td style="padding-bottom:0.4em; {{{contentstyle|}}} {{{content18style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content18}}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
------------------------------ section 19 ------------------------------- | ------------------------------ section 19 ------------------------------- | ||
-->{{#if:{{{heading19|}}} | -->{{#if:{{{heading19|}}} | ||
|<tr><td style=" | |<tr><td style="font-weight:bold; {{#if:{{{content19|}}} | |{{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}<!--end#if:-->}} {{{headingstyle|}}} {{{heading19style|}}}">{{{heading19}}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->{{#if:{{{content19|}}} | -->{{#if:{{{content19|}}} | ||
|<tr><td style=" | |<tr><td style="padding-bottom:0.4em; {{{contentstyle|}}} {{{content19style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content19}}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
------------------------------ section 20 ------------------------------- | ------------------------------ section 20 ------------------------------- | ||
-->{{#if:{{{heading20<includeonly>|</includeonly>}}} | -->{{#if:{{{heading20<includeonly>|</includeonly>}}} | ||
|<tr><td style=" | |<tr><td style="font-weight:bold; {{#if:{{{content20<includeonly>|</includeonly>}}} | |{{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}<!--end#if:-->}} {{{headingstyle|}}} {{{heading20style|}}}">{{{heading20}}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->{{#if:{{{content20<includeonly>|</includeonly>}}} | -->{{#if:{{{content20<includeonly>|</includeonly>}}} | ||
|<tr><td style=" | |<tr><td style="padding-bottom:0.4em; {{{contentstyle|}}} {{{content20style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content20}}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
-------------------------------- Tnavbar -------------------------------- | -------------------------------- Tnavbar -------------------------------- | ||
-->{{#ifeq:{{{tnavbar<includeonly>|</includeonly>}}}|{{{none|off}}} | -->{{#ifeq:{{{tnavbar<includeonly>|</includeonly>}}}|{{{none|off}}} | ||
| |<tr><td style=" | | |<tr><td style="{{{contentstyle|}}}">{{Tnavbar |{{{name|{{PAGENAME}}}}} |mini=1 |{{{tnavbaroptions|}}} }}<!-- | ||
-->}} | -->}} | ||
</table><noinclude> | </table><noinclude> |
Revision as of 00:47, 8 September 2008
{{{topimage}}} {{{topcaption}}} |
{{{title}}} |
{{{image}}} {{{caption}}} |
{{{heading1}}} |
{{{content1}}} |
{{{heading2}}} |
{{{content2}}} |
{{{heading3}}} |
{{{content3}}} |
(......etc......) |
{{{heading20}}} |
{{{content20}}} |
Template:Tnavbar |