You are viewing the MafiaScum.net Wiki. To play the game, visit the forum.
Template:RCongoing: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
(10 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>:{| border="0" style="border:0px !important;border-color:white !important;margin:5px 5px 10px 5px;padding:0px !important;" | <includeonly>:{| border="0" style="border:0px !important;border-color:white !important;margin:5px 5px 10px 5px;padding:0px !important;" | ||
|- | |- | ||
|width="90"|'''Moderator | |width="90"|'''Moderator{{#ifexist:{{{3}}}|s|}}:'''||'''[[{{{2}}}]]'''{{#ifexist:{{{3}}}|, '''[[{{{3}}}]]'''|}}{{#ifexist:{{{4}}}|, {{#ifexist:{{{5}}}||&}} '''[[{{{4}}}]]'''|}}{{#ifexist:{{{5}}}|, & '''[[{{{5}}}]]'''|}} | ||
|- | |- | ||
|'''Status:'''||'''<span style="color:#bf0000;"> | |'''Status:'''||'''<span style="color:#bf0000;">In Progress – {{#switch:{{{1}}}|N0=Night 0|D1=Day 1|N1=Night 1|D2=Day 2|N2=Night 2|D3=Day 3|N3=Night 3|D4=Day 4|N4=Night 4|D5=Day 5|N5=Night 5|D6=Day 6|N6=Night 6|D7=Day 7|N7=Night 7|D8=Day 8|N8=Night 8|D9=Day 9|N9=Night 9|D10=Day 10|N10=Night 10|D11=Day 11|N11=Night 11|D12=Day 12|N12=Night 12|D13=Day 13|N13=Night 13|D14=Day 14|N14=Night 14|D15=Day 15|N15=Night 15|{{{1}}}}}</span>''' | ||
|}</includeonly><noinclude>'''''Note:''' This template is used for ongoing games. For completed games, see my [[Template:RCgame|completed games template]].'' | |}</includeonly><noinclude>'''''Note:''' This template is used for ongoing games. For completed games, see my [[Template:RCgame|completed games template]].'' | ||
==Summary== | ==Summary== | ||
I made this for myself to use each time I want to write a new summary of an ongoing game in [[ReaperCharlie/Game Record|my game record]]. Mostly because I didn't want to code a whole bunch of new if statements into the [[RCgame]] template, so I just made a separate template for ongoing games. Also, it makes it easier to search my code and find the things that haven't been updated yet! | I made this for myself to use each time I want to write a new summary of an ongoing game in [[ReaperCharlie/Game Record|my game record]]. Mostly because I didn't want to code a whole bunch of new if statements into the [[RCgame]] template, so I just made a separate template for ongoing games. Also, it makes it easier to search my code and find the things that haven't been updated yet! | ||
==Parameters List== | ==Parameters List== | ||
<br /> | <br /> | ||
:<pre style='font-size:130%;margin:5px;'>{{RCongoing|CurrentPhase|Moderator|BackupMod1|BackupMod2}}</pre> | :<pre style='font-size:130%;margin:5px;'>{{RCongoing|CurrentPhase|Moderator|BackupMod1|BackupMod2|BackupMod3}}</pre> | ||
<br /> | <br /> | ||
==Parameter Explanations== | ==Parameter Explanations== | ||
Line 23: | Line 21: | ||
|- | |- | ||
| height="28"| '''Moderator(s)'''|| The game's moderator(s). They do not necessarily need to have a MafiaWiki page for this link to work, as this field uses {{u|Fenhl}}'s [[Template:U|<nowiki>{{u}}</nowiki>]] template.{{space|20}} | | height="28"| '''Moderator(s)'''|| The game's moderator(s). They do not necessarily need to have a MafiaWiki page for this link to work, as this field uses {{u|Fenhl}}'s [[Template:U|<nowiki>{{u}}</nowiki>]] template.{{space|20}} | ||
|- | |||
| height="28"| '''BackupMod1'''|| The game's co/backup mod, if applicable.{{space|20}} | |||
|- style="color:#777;" | |||
| height="28"| '''BackupMod2'''|| The game's second co/backup mod, if applicable...{{space|20}} | |||
|- style="color:#ccc;" | |||
| height="28"| '''BackupMod3'''|| The game's third co/backup mod, if applicable...{{space|20}} | |||
|} | |} | ||
{{multicol}} | {{multicol}} | ||
==What you type== | ==What you type== | ||
<pre style='font-size:130%;margin:15px 10px;'>{{RCongoing| | <pre style='font-size:130%;margin:15px 10px;'>{{RCongoing|D4|ReaperCharlie}}</pre> | ||
<pre style='font-size:130%;margin:15px 10px;'>{{RCongoing| | <pre style='font-size:130%;margin:15px 10px;'>{{RCongoing|N10|Percy|Vi|Flameaxe}}</pre> | ||
<pre style='font-size:130%;margin:15px 10px;'>{{RCongoing| | <pre style='font-size:130%;margin:15px 10px;'>{{RCongoing|D3|SpyreX|Mr. Flay}}</pre> | ||
{{multicol-break}} | {{multicol-break}} | ||
==What it looks like== | ==What it looks like== | ||
{{RCongoing| | {{RCongoing|D4|ReaperCharlie}} | ||
{{RCongoing| | {{RCongoing|N10|Percy|Vi|Flameaxe}} | ||
{{RCongoing| | {{RCongoing|D3|SpyreX|Mr. Flay}} | ||
{{multicol-end}} | {{multicol-end}} | ||
<div> | <div> | ||
[[Category:Templates | [[Category:Templates|{{PAGENAME}}]] | ||
__NOTOC__ | __NOTOC__ | ||
__NOEDITSECTION__</noinclude> | __NOEDITSECTION__</noinclude> |
Latest revision as of 13:23, 29 August 2012
Note: This template is used for ongoing games. For completed games, see my completed games template.
Summary
I made this for myself to use each time I want to write a new summary of an ongoing game in my game record. Mostly because I didn't want to code a whole bunch of new if statements into the RCgame template, so I just made a separate template for ongoing games. Also, it makes it easier to search my code and find the things that haven't been updated yet!
Parameters List
{{RCongoing|CurrentPhase|Moderator|BackupMod1|BackupMod2|BackupMod3}}
Parameter Explanations
Field | Explanation |
---|---|
CurrentPhase | The phase and phase number that the game is currently in. For instance: Day 1, Night 2, etc. You may also use abbreviations like D1, N2, etc. |
Moderator(s) | The game's moderator(s). They do not necessarily need to have a MafiaWiki page for this link to work, as this field uses Fenhl's {{u}} template. |
BackupMod1 | The game's co/backup mod, if applicable. |
BackupMod2 | The game's second co/backup mod, if applicable... |
BackupMod3 | The game's third co/backup mod, if applicable... |
What you type{{RCongoing|D4|ReaperCharlie}} {{RCongoing|N10|Percy|Vi|Flameaxe}} {{RCongoing|D3|SpyreX|Mr. Flay}} |