Difference between revisions of "Template:SettingGroupHeader"
Jump to navigation
Jump to search
imported>SnakeChomp m (Hopefully unbreak the group name header row) |
imported>SnakeChomp (Example and results) |
||
Line 2: | Line 2: | ||
This template is used in conjunction with [[Template:SettingGroupFooter]] and [[Template:SettingGroupMember]] to document groups of relating settings using a single table. | This template is used in conjunction with [[Template:SettingGroupFooter]] and [[Template:SettingGroupMember]] to document groups of relating settings using a single table. | ||
'''Example:''' | |||
<pre>{{SettingGroupHeader | |||
|Name = Foo Settings | |||
}} | |||
{{SettingGroupSetting | |||
|Name = fFoo1 | |||
|Default = 0 | |||
|Description = foo | |||
}} | |||
{{SettingGroupSetting | |||
|Name = fFoo2 | |||
|Default = 0.2 | |||
|Description = foo | |||
}} | |||
{{SettingGroupFooter}}</pre> | |||
'''Result:''' | |||
{{SettingGroupHeader | |||
|Name = Foo Settings | |||
}} | |||
{{SettingGroupSetting | |||
|Name = fFoo1 | |||
|Default = 0 | |||
|Description = foo | |||
}} | |||
{{SettingGroupSetting | |||
|Name = fFoo2 | |||
|Default = 0.2 | |||
|Description = foo | |||
}} | |||
{{SettingGroupFooter}} | |||
[[Category: Templates|Setting]] | [[Category: Templates|Setting]] |
Revision as of 00:14, 27 December 2008
This template is used in conjunction with Template:SettingGroupFooter and Template: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 |