Difference between revisions of "Template:Setting"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>SnakeChomp
m (Apparently whitespace after </noinclude> breaks the template)
imported>SnakeChomp
(Test)
Line 17: Line 17:
|Name        = fFooSetting
|Name        = fFooSetting
|Default    = 0.75
|Default    = 0.75
|Description = This is just an example.
 
*And these
*are a few
*bullet points
}}
}}


Line 41: Line 38:
</tr>
</tr>


{{#if: {{{Description|}}} |
<tr>
<tr>
<td style="width:100px;border-right:1px solid #7b806b;background-color:#b6b493;vertical-align:top;">Description</td>
<td style="width:100px;border-right:1px solid #7b806b;background-color:#b6b493;vertical-align:top;">Description</td>
<td style="background-color:#ebe9ed;">{{{Description}}}</td>
<td style="background-color:#ebe9ed;">{{{Description}}}</td>
</tr>
</tr>
| }}


</table></includeonly>
</table></includeonly>

Revision as of 02:21, 27 December 2008

This template is used for Settings.

Example:

{{Setting
|Name        = fFooSetting
|Default     = 0.75
|Description = This is just an example.
*And these
*are a few
*bullet points
}}

Result:


fFooSetting
Default value 0.75

Notes

If name is not specified, the page title is used with the first character lowercased.