Template:Footerbox
From OpenSimulator
(Difference between revisions)
(New page: {|style="background-color: {{{background}}}; border: 1px solid {{{border}}}; margin: 5px; padding: 5px; font-size:x-small; color:#000; width:99%;" |-style="text-align:center; background-co...) |
(Added some brief documentation) |
||
Line 1: | Line 1: | ||
− | {|style="background-color: {{{background}}}; border: 1px solid {{{border}}}; margin: 5px; padding: 5px; font-size:x-small; color:#000; width:99%;" | + | <includeonly>{|style="background-color: {{{background}}}; border: 1px solid {{{border}}}; margin: 5px; padding: 5px; font-size:x-small; color:#000; width:99%;" |
|-style="text-align:center; background-color: {{{headercolor}}}; color:#ffffff;font-size:small; font-weight:bold;" | |-style="text-align:center; background-color: {{{headercolor}}}; color:#ffffff;font-size:small; font-weight:bold;" | ||
|{{{title}}} | |{{{title}}} | ||
Line 6: | Line 6: | ||
|- | |- | ||
|{{{list}}} | |{{{list}}} | ||
+ | |}</includeonly> | ||
+ | <noinclude> | ||
+ | This template is meant to be included in footer templates, thus simplifying the use and application of these footers. | ||
+ | |||
+ | The format of the footerbox template is as follows: | ||
+ | <nowiki> | ||
+ | {{footerbox | ||
+ | |background = | ||
+ | |border = | ||
+ | |headercolor = | ||
+ | |title= | ||
+ | |word= | ||
+ | |list= | ||
+ | }} | ||
+ | </nowiki> | ||
+ | |||
+ | {|border="1" cellspacing="0" width="80%" | ||
+ | |- style="background-color:#DDDDFF;" | ||
+ | |Property||Description||Required | ||
+ | |- | ||
+ | |background||Table's background color, in hex notation||Yes | ||
+ | |- | ||
+ | |border||Table's border color, in hex notation||Yes | ||
+ | |- | ||
+ | |headercolor||Color of title background in hex notation||Yes | ||
+ | |- | ||
+ | |title||Title of the footerbox]||Yes | ||
+ | |- | ||
+ | |word||Keyword or phrase||Yes | ||
+ | |- | ||
+ | |list||List of articles to be included in the list||Yes | ||
|} | |} | ||
+ | |||
+ | |||
+ | </noinclude> |
Revision as of 22:26, 8 September 2011
This template is meant to be included in footer templates, thus simplifying the use and application of these footers.
The format of the footerbox template is as follows:
{{footerbox |background = |border = |headercolor = |title= |word= |list= }}
Property | Description | Required |
background | Table's background color, in hex notation | Yes |
border | Table's border color, in hex notation | Yes |
headercolor | Color of title background in hex notation | Yes |
title | Title of the footerbox] | Yes |
word | Keyword or phrase | Yes |
list | List of articles to be included in the list | Yes |