Difference between revisions of "Template:Setting"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>SnakeChomp
(Provide a default value for description if omitted)
imported>DragoonWraith
(adding settings without descriptions and/or defaults to categories for settings without these things)
Line 38: 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}}} | ''unknown (please fill this in)'' }}</td>
<td style="background-color:#ebe9ed;">{{#if: {{{Default|}}} | {{{Default}}} | ''unknown (please fill this in)'' [[Category:Settings Needing Default Value|{{{Name|{{PAGENAME}}}}}]] }}</td>
</tr>
</tr>


Line 44: Line 44:
<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;">{{#if: {{{Description|}}} | {{{Description}}} | ''The value of this setting has an unknown effect on gameplay'' }}</td>
<td style="background-color:#ebe9ed;">{{#if: {{{Description|}}} | {{{Description}}} | ''The value of this setting has an unknown effect on gameplay'' [[Category:Settings Needing Description|{{Name|{{PAGENAME}}}}}]] }}</td>
</tr>
</tr>




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

Revision as of 12:52, 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.