Difference between revisions of "Template:Main Page Box"
Jump to navigation
Jump to search
m (doc) |
(added category) |
||
Line 96: | Line 96: | ||
|} | |} | ||
__NOTOC__ __NOEDITSECTION__ | __NOTOC__ __NOEDITSECTION__ | ||
+ | [[Category:Template]] | ||
</noinclude> | </noinclude> |
Latest revision as of 23:51, 25 January 2011
This is a shiny Template for creating the Main Page Boxes.
There are exactly four parameters:
Parameter | possible Values | Results |
---|---|---|
position = |
left, right, full |
|
h = |
1, 3 |
|
hline = |
one line of text |
|
content = |
some more text |
|
This is how it works:
sample code | Result |
---|---|
{{Main Page Box | position = left | h = 3 | hline = Title: | content = some lines<br />of text }} |
Title:some lines
|
{{Main Page Box | position = full | h = 1 | hline = Big Title: | content = compare: * the margin to the table border * the position and size of the title }} |
Big Title:compare:
|
{{Main Page Box | position = right | h = 3 | hline = Title: | content = some lines<br />of text * "left" box results in right margin }} |
Title:some lines
|