Difference between revisions of "Template:Setting"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>DragoonWraith
(lcfirst for the title of the bar, too)
imported>SnakeChomp
(Try to allow the template to be used multiple times on a page)
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 20: Line 22:
*bullet points
*bullet points
}}
}}
=== Notes ===
If name is not specified, the page title is used with the first character lowercased.


[[Category: Templates|Setting]]
[[Category: Templates|Setting]]
[[Category: Structural Templates|Setting]]
[[Category: Structural Templates|Setting]]
</noinclude><includeonly>{{Bc|Settings}}
</noinclude>
{{DISPLAYTITLE:{{lcfirst:{{PAGENAME}}}}}}
 
<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;">{{lcfirst:{{PAGENAME}}}}</td>
<td colspan=2 class=header style="text-transform:none;">{{#if: {{{Name|}}} | {{{Name}}} | {{lcfirst:{{PAGENAME}}}} }}</td>
</tr>
</tr>


Line 41: Line 48:
</tr>
</tr>


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

Revision as of 23:29, 26 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.