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 |
||
(20 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{ #switch: {{{1}}} | <includeonly>{{ #switch: {{{1}}} | ||
|begin=<table cellpadding="4" border="1" style="border-collapse: collapse; border: 1px solid #aaa | |begin=<table cellpadding="4" border="1" style="border-collapse: collapse; border: 1px solid #aaa"><tr style="text-align: center; background-color: #f2f2f2; font-weight: bold"> | ||
<th>Game</th> | |||
{{ #ifeq: {{{mod|n}}} | y |<th>[[Moderator]]</th>}} | {{ #ifeq: {{{mod|n}}} | y |<th>[[Moderator]]</th>}} | ||
{{ #ifeq: {{{role|n}}} | y |<th>[[Role]]</th>}} | {{ #ifeq: {{{role|n}}} | y |<th>[[Role]]</th>}} | ||
Line 8: | Line 7: | ||
</tr> | </tr> | ||
|end=</table> | |end=</table> | ||
|<tr><td> | |<tr> | ||
<td>{{plink|t|{{{plink}}}|{{{id}}}}} {{ #if: {{{name|}}} | — {{{name}}} }}</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>{{Template | |||
|Name=G | |||
|Type=Info Box | |||
|Type2= | |||
|Type3= | |||
|Sub=No | |||
|Designer=Fenhl | |||
|Designer2= | |||
|Designer3= | |||
|Notes= | |||
}} | |||
[[Category:Templates]][[Category:Fenhl | 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== | |||
==={{{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''' | |||
==={{{role}}}=== | |||
Your role. '''Requires the ''role'' column''' | |||
==={{{fate}}}=== | |||
Did you die? If so, how? '''Requires the ''fate'' column''' | |||
[[Category:Templates|{{PAGENAME}}]][[Category:Pimped by Fenhl]] | |||
</noinclude> | </noinclude> |
Latest revision as of 22:14, 21 November 2014
|
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
{{{role}}}
Your role. Requires the role column
{{{fate}}}
Did you die? If so, how? Requires the fate column