Template:Main page/Header: Difference between revisions
Jump to navigation
Jump to search
m (Attempt to get rid of empty area in right column) |
|||
Line 19: | Line 19: | ||
{{#if:{{{rightcolumn1|}}}| | {{#if:{{{rightcolumn1|}}}| | ||
{{!}} style="font-size:90%; background:#F2F2F2; border:2px solid #C6E4F2; border-top:0; border-bottom:1px solid #C6E4F2; padding:.5em .5em .5em 23px" valign="top" {{!}} <div style="z-index:3; position:absolute; float:left; margin-left:-46px">{{{rightcolumn1}}}| | {{!}} style="font-size:90%; background:#F2F2F2; border:2px solid #C6E4F2; border-top:0; border-bottom:1px solid #C6E4F2; padding:.5em .5em .5em 23px" valign="top" {{!}} <div style="z-index:3; position:absolute; float:left; margin-left:-46px">{{{rightcolumn1}}}| | ||
}}{{#if:{{{rightcolumn2|}}}| | }} | ||
{{#if:{{{rightcolumn2|}}}| | |||
{{!}}- | {{!}}- | ||
{{!}} style="font-size:90%; background:#F2F2F2; border:2px solid #C6E4F2; border-top:0; border-bottom:1px solid #C6E4F2; padding:.5em .5em .5em 23px" valign="top" {{!}} <div style="z-index:3; position:absolute; float:left; margin-left:-46px">{{{rightcolumn2}}}| | {{!}} style="font-size:90%; background:#F2F2F2; border:2px solid #C6E4F2; border-top:0; border-bottom:1px solid #C6E4F2; padding:.5em .5em .5em 23px" valign="top" {{!}} <div style="z-index:3; position:absolute; float:left; margin-left:-46px">{{{rightcolumn2}}}| | ||
}}{{#if:{{{rightcolumn3|}}}| | }} | ||
{{#if:{{{rightcolumn3|}}}| | |||
{{!}}- | {{!}}- | ||
{{!}} style="font-size:90%; background:#F2F2F2; border:2px solid #C6E4F2; border-top:0; border-bottom:1px solid #C6E4F2; padding:.5em .5em .5em 23px" valign="top" {{!}} <div style="z-index:3; position:absolute; float:left; margin-left:-46px">{{{rightcolumn3}}}| | {{!}} style="font-size:90%; background:#F2F2F2; border:2px solid #C6E4F2; border-top:0; border-bottom:1px solid #C6E4F2; padding:.5em .5em .5em 23px" valign="top" {{!}} <div style="z-index:3; position:absolute; float:left; margin-left:-46px">{{{rightcolumn3}}}| | ||
}}{{#if:{{{rightcolumn4|}}}| | }} | ||
{{#if:{{{rightcolumn4|}}}| | |||
{{!}}- | {{!}}- | ||
{{!}} style="font-size:90%; background:#F2F2F2; border:2px solid #C6E4F2; border-top:0; border-bottom:1px solid #C6E4F2; padding:.5em .5em .5em 23px" valign="top" {{!}} <div style="z-index:3; position:absolute; float:left; margin-left:-46px">{{{rightcolumn4}}}| | {{!}} style="font-size:90%; background:#F2F2F2; border:2px solid #C6E4F2; border-top:0; border-bottom:1px solid #C6E4F2; padding:.5em .5em .5em 23px" valign="top" {{!}} <div style="z-index:3; position:absolute; float:left; margin-left:-46px">{{{rightcolumn4}}}| | ||
}}{{#if:{{{rightcolumn5|}}}| | }} | ||
{{#if:{{{rightcolumn5|}}}| | |||
{{!}}- | {{!}}- | ||
{{!}} style="font-size:90%; background:#F2F2F2; border:2px solid #C6E4F2; border-top:0; border-bottom:1px solid #C6E4F2; padding:.5em .5em .5em 23px" valign="top" {{!}} <div style="z-index:3; position:absolute; float:left; margin-left:-46px">{{{rightcolumn5}}}| | {{!}} style="font-size:90%; background:#F2F2F2; border:2px solid #C6E4F2; border-top:0; border-bottom:1px solid #C6E4F2; padding:.5em .5em .5em 23px" valign="top" {{!}} <div style="z-index:3; position:absolute; float:left; margin-left:-46px">{{{rightcolumn5}}}| | ||
}}{{#if:{{{rightcolumn6|}}}| | }} | ||
{{#if:{{{rightcolumn6|}}}| | |||
{{!}}- | {{!}}- | ||
{{!}} style="font-size:90%; background:#F2F2F2; border:2px solid #C6E4F2; border-top:0; border-bottom:1px solid #C6E4F2; padding:.5em .5em .5em 23px" valign="top" {{!}} <div style="z-index:3; position:absolute; float:left; margin-left:-46px">{{{rightcolumn6}}}| | {{!}} style="font-size:90%; background:#F2F2F2; border:2px solid #C6E4F2; border-top:0; border-bottom:1px solid #C6E4F2; padding:.5em .5em .5em 23px" valign="top" {{!}} <div style="z-index:3; position:absolute; float:left; margin-left:-46px">{{{rightcolumn6}}}| | ||
}}{{#if:{{{rightcolumn7|}}}| | }} | ||
{{#if:{{{rightcolumn7|}}}| | |||
{{!}}- | {{!}}- | ||
{{!}} style="font-size:90%; background:#F2F2F2; border:2px solid #C6E4F2; border-top:0; border-bottom:1px solid #C6E4F2; padding:.5em .5em .5em 23px" valign="top" {{!}} <div style="z-index:3; position:absolute; float:left; margin-left:-46px">{{{rightcolumn7}}}| | {{!}} style="font-size:90%; background:#F2F2F2; border:2px solid #C6E4F2; border-top:0; border-bottom:1px solid #C6E4F2; padding:.5em .5em .5em 23px" valign="top" {{!}} <div style="z-index:3; position:absolute; float:left; margin-left:-46px">{{{rightcolumn7}}}| | ||
}}{{#if:{{{rightcolumn8|}}}| | }} | ||
{{#if:{{{rightcolumn8|}}}| | |||
{{!}}- | {{!}}- | ||
{{!}} style="font-size:90%; background:#F2F2F2; border:2px solid #C6E4F2; border-top:0; border-bottom:1px solid #C6E4F2; padding:.5em .5em .5em 23px" valign="top" {{!}} <div style="z-index:3; position:absolute; float:left; margin-left:-46px">{{{rightcolumn8}}}| | {{!}} style="font-size:90%; background:#F2F2F2; border:2px solid #C6E4F2; border-top:0; border-bottom:1px solid #C6E4F2; padding:.5em .5em .5em 23px" valign="top" {{!}} <div style="z-index:3; position:absolute; float:left; margin-left:-46px">{{{rightcolumn8}}}| | ||
}}{{#if:{{{rightcolumn9|}}}| | }} | ||
{{#if:{{{rightcolumn9|}}}| | |||
{{!}}- | {{!}}- | ||
{{!}} style="font-size:90%; background:#F2F2F2; border:2px solid #C6E4F2; border-top:0; border-bottom:1px solid #C6E4F2; padding:.5em .5em .5em 23px" valign="top" {{!}} <div style="z-index:3; position:absolute; float:left; margin-left:-46px">{{{rightcolumn9}}}| | {{!}} style="font-size:90%; background:#F2F2F2; border:2px solid #C6E4F2; border-top:0; border-bottom:1px solid #C6E4F2; padding:.5em .5em .5em 23px" valign="top" {{!}} <div style="z-index:3; position:absolute; float:left; margin-left:-46px">{{{rightcolumn9}}}| |
Revision as of 12:56, 5 October 2014
b
| ||
Add title |
||
|
The following template description is not displayed when the template is inserted in an article.
Goal
This template is the main template used for the layout of the main page and the portals.
Note: Please as well look at the main page to see how the portal layout templates are used.
Usage
{{Main page/Header | title = | subtitle = | rightbox = | introduction = | rightcolumn1 = ... | rightcolumn8 = | sections = }}
Only the title is mandatory, though the portal would look a bit odd.
- title
- Title of the portal.
- subtitle
- Subtitle to be shown below the title.
- rightbox
- Contents for the right side of the top bar of the layout.
- introduction
- Introductory text to be shown between the top bar and the sections.
- rightcolumn(n)
- Panes in the right column used as sections for the most used pages, up to 8 panes can be used.
- sections
- Sections for the middle of the page using the {{Main page/Leftbox}} template.