Wikipedia:WikiProject Keep It Simple/Options
From Wikipedia, the free encyclopedia
Contents |
[edit] Enclosing labels with templates
There are currently three ways to enclose your labels using existing templates. For layouts that do not use templates, please see #Complex themes below.
Note: it is possible to customise the appearance to a certain extent. For details, please see {{User label top}}.
[edit] Default
{{user label top}}
...
{{user label bottom}}
[edit] Lilacbox
{{user label top |theme=lilacbox}}
...
{{user label bottom}}
[edit] Warm
{{user label top |theme=warm}}
...
{{user label bottom}}
[edit] Cool
{{user label top |theme=cool}}
...
{{user label bottom}}
[edit] Label themes
[edit] Simple themes
The following themes use templates to determine the look.
Each label can have it's own theme. To add a theme, simply add "|theme=name" to the labels, as shown in the examples below. The following themes are currently defined.
[edit] Default theme
{{label name}}
[edit] Basic theme
{{label name |theme=basic}}
[edit] Tab theme
{{label name |theme=tab}}
[edit] Tab2 theme
{{label name |theme=tab2}}
[edit] Pink theme
{{label name |theme=pink}}
[edit] Complex themes
These themes haven't yet been implemented as templates.
[edit] Colored table (nested)
Colored table with labels nested inside, and centered. Table width adjusts with increase of boxes. If table begins to wrap, a second row can be added by removing the "hide" tags. Background color can be changed to fit personal preference.
Code:
{| border="1" cellpadding="5"
|align="center" bgcolor="#4682B4" width="80%"|{{User label KIS}}
{{Label WAdministrator|nocat=true}}{{User label en|nocat=true}}
|-
<!-- second row (remove this line if second row is used)
|align="center" bgcolor="#4682B4" width="80%"|Labels go here
(remove this line if second row is used)-->
|}
Will show:
[edit] Invisible table
If you prefer no visible table, use:
Code:
{|<div> border="0" cellpadding="0" width="90%"
Labels go here
</div>
|}
It will show:
[edit] Placed on visible table (card rail)
Labels placed on top of visible border (looking like a library-card rail) with left-alignment:
Code:
{|<div> border="1.0" cellpadding="1" width="90%"
Labels go here
</div>
|}
It will show:
Labels go here
Then just add your labels there and will look something like:

