You are viewing the MafiaScum.net Wiki. To play the game, visit the forum.
Template:G: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 10: | Line 10: | ||
<td>Name</td> | <td>Name</td> | ||
{{ #if: {{{mod|}}} |<td>{{U|{{{mod}}}}}</td>}} | {{ #if: {{{mod|}}} |<td>{{U|{{{mod}}}}}</td>}} | ||
{{ #if: {{{role|}}} |<td>[[{{{role}}}]]</td>}} | |||
{{ #if: {{{fate|}}} |<td>{{ #if: {{{fatelink|}}} |{{plink|p|{{{fatelink}}}|{{{fate}}}}}|{{{fate}}}}}</td>}} | |||
</tr>}}</includeonly><noinclude> | </tr>}}</includeonly><noinclude> | ||
''In the | This template creates a custom table with your record of played games. | ||
The table must begin with an instance of this template that has {{{1}}} set to ''begin''. In this instance, you specify the columns of your table. | |||
To include the colums ''Game'', ''foo'', ''bar'' and ''baz'', Use this: | |||
<pre> | |||
{{G|begin|foo=y|bar=y|baz=y}} | |||
</pre> | |||
The column ''Game'' is included by default. | |||
The table must end with the following: | |||
<pre> | |||
{{G|end}} | |||
</pre> | |||
Between the begin and end instances, add one instance of this template for each of your games. | |||
==Arguments== | ==Arguments== | ||
==={{{1}}}=== | |||
*Leave empty for a standard game entry. | |||
*Set to ''begin'' for the table header. | |||
*Ser to end for the table footer. | |||
==={{{mod}}}=== | ==={{{mod}}}=== | ||
The game's moderator. '''''Requires the | The game's moderator. '''''Requires the mod column''''' | ||
[[Category:Templates]][[Category:Fenhl's Templates]] | [[Category:Templates]][[Category:Fenhl's Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 00:00, 19 November 2010
This template creates a custom table with your record of played games.
The table must begin with an instance of this template that has {{{1}}} set to begin. In this instance, you specify the columns of your table.
To include the colums Game, foo, bar and baz, Use this:
{{G|begin|foo=y|bar=y|baz=y}}
The column Game is included by default.
The table must end with the following:
{{G|end}}
Between the begin and end instances, add one instance of this template for each of your games.
Arguments
{{{1}}}
- Leave empty for a standard game entry.
- Set to begin for the table header.
- Ser to end for the table footer.
{{{mod}}}
The game's moderator. Requires the mod column