Difference between revisions of "Template:Setting"
Jump to navigation
Jump to search
imported>DragoonWraith (adding settings without descriptions and/or defaults to categories for settings without these things) |
imported>DragoonWraith (more categories) |
||
(One intermediate revision by the same user not shown) | |||
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)'' [[Category:Settings Needing Default Value|{{{Name|{{PAGENAME}}}}}]] }}</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> | ||
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'' [[Category:Settings Needing Description|{{Name|{{PAGENAME}}}}}]] }}</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.
|
Notes[edit source]
If name is not specified, the page title is used with the first character lowercased.