Difference between revisions of "Template:Setting"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Qazaaq
(don't use Template:Bc, messes up the example)
imported>DragoonWraith
(more categories)
 
(10 intermediate revisions by 3 users not shown)
Line 4: Line 4:


<pre>{{Setting
<pre>{{Setting
|Name        = fFooSetting
|Default    = 0.75
|Default    = 0.75
|Description = This is just an example.
|Description = This is just an example.
Line 14: Line 15:


{{Setting
{{Setting
|Name        = fFooSetting
|Default    = 0.75
|Default    = 0.75
|Description = This is just an example.
|Description = This is just an example.
Line 21: Line 23:
}}
}}


</noinclude><includeonly><div style="margin: -0.5em 0.5em 0.5em -0.5em;"><small>[[Settings|< back to Settings]]</small>
=== Notes ===


''Due to Wiki software limitations the first letter is capitalized, this is not true for the actual setting.''
If name is not specified, the page title is used with the first character lowercased.


[[Category: Templates|Setting]]
[[Category: Structural Templates|Setting]]
</noinclude><includeonly>
<table cellspacing=0 cellpadding=5 width=100%>
<table cellspacing=0 cellpadding=5 width=100%>


<tr>
<tr>
<td colspan=2 class=header style="text-transform:none;">{{PAGENAME}}</td>
<td colspan=2 class=header style="text-transform:none;">{{#if: {{{Name|}}} | {{{Name}}} | {{lcfirst:{{PAGENAME}}}} }}</td>
</tr>
</tr>


<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)'' [[Category:Articles Needing Attention|{{{Name|{{PAGENAME}}}}}]][[Category:Incomplete Articles|{{{Name|{{PAGENAME}}}}}]][[Category:Settings Needing Default Value|{{{Name|{{PAGENAME}}}}}]] }}</td>
</tr>
</tr>


<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;">{{#if: {{{Description|}}} | {{{Description}}} | ''The value of this setting has an unknown effect on gameplay'' [[Category:Articles Needing Attention|{{{Name|{{PAGENAME}}}}}]][[Category:Incomplete Articles|{{{Name|{{PAGENAME}}}}}]][[Category:Settings Needing Description|{{{Name|{{PAGENAME}}}}}]] }}</td>
</tr>
</tr>


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

Latest revision as of 13:03, 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[edit source]

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