Difference between revisions of "Template:SettingGroupHeader"
Jump to navigation
Jump to search
imported>DragoonWraith (template link formatting) |
imported>SnakeChomp (Test border and column width restriction) |
||
Line 47: | Line 47: | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
<table cellspacing=0 cellpadding=5 width=100%> | <table cellspacing=0 cellpadding=5 width=100% border=1> | ||
<tr> | <tr> | ||
Line 55: | Line 55: | ||
<tr style="background-color: #979c86; color: #eee4cc; font-weight: bold;"> | <tr style="background-color: #979c86; color: #eee4cc; font-weight: bold;"> | ||
<td>Setting</td> | <td>Setting</td> | ||
<td>Default</td> | <td width="20%">Default</td> | ||
<td>Description</td> | <td>Description</td> | ||
</tr> | </tr> | ||
</includeonly> | </includeonly> |
Revision as of 20:00, 29 December 2008
This template is used in conjunction with {{SettingGroupFooter}} and {{SettingGroupMember}} to document groups of relating settings using a single table.
Example:
{{SettingGroupHeader |Name = Foo Settings }} {{SettingGroupSetting |Name = fFoo1 |Default = 0 |Description = foo }} {{SettingGroupSetting |Name = fFoo2 |Default = 0.2 |Description = foo }} {{SettingGroupFooter}}
Result:
Foo Settings | ||
Setting | Default | Description |
fFoo1 | 0 | foo |
fFoo2 | 0.2 | foo |