You are viewing the MafiaScum.net Wiki. To play the game, visit the forum.

Template:RCongoing: Difference between revisions

From MafiaWiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 3: Line 3:
|width="90"|'''Moderator(s):'''||'''[[{{{2}}}]]'''{{#ifexist:{{{3}}}|, '''[[{{{3}}}]]'''|}}{{#ifexist:{{{4}}}|, & '''[[{{{4}}}]]'''|}}
|width="90"|'''Moderator(s):'''||'''[[{{{2}}}]]'''{{#ifexist:{{{3}}}|, '''[[{{{3}}}]]'''|}}{{#ifexist:{{{4}}}|, & '''[[{{{4}}}]]'''|}}
|-
|-
|'''Status:'''||'''<span style="color:#bf0000;">Ongoing</span>,  {{#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}}}}}'''
|'''Status:'''||'''<span style="color:#bf0000;">Ongoing,  {{#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]].''



Revision as of 20:46, 15 March 2011

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!

ReaperCharlie

Parameters List


{{RCongoing|CurrentPhase|Moderator|BackupMod1|BackupMod2}}


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.           

What you type

{{RCongoing|D1|SpyreX|Mr. Flay}}
{{RCongoing|N3|Percy|Vi|Flameaxe}}
{{RCongoing|D14|ReaperCharlie}}

What it looks like

Moderator(s): SpyreX, Mr. Flay
Status: Ongoing, Day 1
Moderator(s): Percy, Vi, & Flameaxe
Status: Ongoing, Night 3
Moderator(s): ReaperCharlie
Status: Ongoing, Day 14