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 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(s):'''||'''[[{{{2}}}]]'''{{#ifexist:{{{3}}}|, '''[[{{{3}}}]]'''|}}
|width="90"|'''Moderator(s):'''||'''[[{{{2}}}]]'''{{#ifexist:{{{3}}}|, '''[[{{{3}}}]]'''|}}{{#ifexist:{{{4}}}|, & '''[[{{{4}}}]]'''|}}
|-
|-
|'''Status:'''||'''<span style="color:#bf0000;">Ongoing</span>, {{{1}}}'''
|'''Status:'''||'''<span style="color:#bf0000;">Ongoing</span>, {{#switch:{{{1}}}|N0=on Night 0|D1=on Day 1|N1=on Night 1|D2=on Day 2|N2=on Night 2|D3=on Day 3|N3=on Night 3|D4=on Day 4|N4=on Night 4|D5=on Day 5|N5=on Night 5|D6=on Day 6|N6=on Night 6|D7=on Day 7|N7=on Night 7|D8=on Day 8|N8=on Night 8|D9=on Day 9|N9=on Night 9|D10=on Day 10|N10=on Night 10|D11=on Day 11|N11=on Night 11|D12=on Day 12|N12=on Night 12|D13=on Day 13|N13=on Night 13|D14=on Day 14|N14=on Night 14|D15=on Day 15|N15=on Night 15|{{{1}}}}}'''
|}</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]].''


Line 13: Line 13:
==Parameters List==
==Parameters List==
<br />
<br />
:<pre style='font-size:130%;margin:5px;'>{{RCongoing|Current Phase|Moderator|Backup Moderator}}</pre>
:<pre style='font-size:130%;margin:5px;'>{{RCongoing|CurrentPhase|Moderator|BackupMod1|BackupMod2}}</pre>
<br />
<br />
==Parameter Explanations==
==Parameter Explanations==
Line 20: Line 20:
! width="100"|Field||Explanation
! width="100"|Field||Explanation
|-
|-
| height="28"|&nbsp;'''Current Phase'''|| &nbsp;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.
| height="28"|&nbsp;'''CurrentPhase'''|| &nbsp;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.
|-
|-
| height="28"|&nbsp;'''Moderator(s)'''|| &nbsp;The game's moderator(s). They need not 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"|&nbsp;'''Moderator(s)'''|| &nbsp;The game's moderator(s). They need not have a MafiaWiki page for this link to work, as this field uses {{u|Fenhl}}'s [[Template:U|<nowiki>{{u}}</nowiki>]] template.{{space|20}}
Line 27: Line 27:
{{multicol}}
{{multicol}}
==What you type==
==What you type==
<pre style='font-size:130%;margin:15px 10px;'>{{RCongoing|D1|SpyreX}}</pre>
<pre style='font-size:130%;margin:15px 10px;'>{{RCongoing|D1|SpyreX|Mr. Flay}}</pre>
<pre style='font-size:130%;margin:15px 10px;'>{{RCongoing|N3|Vi|HackerHuck}}</pre>
<pre style='font-size:130%;margin:15px 10px;'>{{RCongoing|N3|Vi|Percy|EGL}}</pre>
<pre style='font-size:130%;margin:15px 10px;'>{{RCongoing|D14|ReaperCharlie}}</pre>
<pre style='font-size:130%;margin:15px 10px;'>{{RCongoing|D14|ReaperCharlie}}</pre>
{{multicol-break}}
{{multicol-break}}


==What it looks like==
==What it looks like==
{{RCongoing|D1|SpyreX}}
{{RCongoing|D1|SpyreX|Mr. Flay}}
{{RCongoing|N3|Vi|HackerHuck}}
{{RCongoing|N3|Percy|Vi|EGL}}
{{RCongoing|D14|ReaperCharlie}}
{{RCongoing|D14|ReaperCharlie}}
{{multicol-end}}
{{multicol-end}}

Revision as of 20:40, 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 need not 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|Vi|Percy|EGL}}
{{RCongoing|D14|ReaperCharlie}}

What it looks like

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