Difference between revisions of "Template:Setting"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>SnakeChomp
(Another test (changing the template and looking at it with a preview doesnt seem to work...))
imported>SnakeChomp
(Provide a default value for description if omitted)
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 34: Line 38:
<tr>
<tr>
<td style="width:100px;border-right:1px solid #7b806b;background-color:#b6b493">Default value</td>
<td style="width:100px;border-right:1px solid #7b806b;background-color:#b6b493">Default value</td>
<td style="background-color:#ebe9ed;">{{#if: {{{Default|}}} | {{{Default}}} | ''unavailable (please fill this in)'' }}</td>
<td style="background-color:#ebe9ed;">{{#if: {{{Default|}}} | {{{Default}}} | ''unknown (please fill this in)'' }}</td>
</tr>
</tr>



Revision as of 02:24, 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
Description This is just an example.
  • And these
  • are a few
  • bullet points

Notes

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