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
 
(12 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(s):'''||'''[[{{{2}}}]]'''{{#ifexist:{{{3}}}|, '''[[{{{3}}}]]'''|}}{{#ifexist:{{{4}}}|, & '''[[{{{4}}}]]'''|}}
|width="90"|'''Moderator{{#ifexist:{{{3}}}|s|}}:'''||'''[[{{{2}}}]]'''{{#ifexist:{{{3}}}|, '''[[{{{3}}}]]'''|}}{{#ifexist:{{{4}}}|, {{#ifexist:{{{5}}}||&}} '''[[{{{4}}}]]'''|}}{{#ifexist:{{{5}}}|, & '''[[{{{5}}}]]'''|}}
|-
|-
|'''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}}}}}'''
|'''Status:'''||'''<span style="color:#bf0000;">In Progress &ndash; {{#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!
<div style='text-align:right;padding-right:50px;'>'''&mdash; [[ReaperCharlie]]'''</div>


==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 20: Line 18:
! width="100"|Field||Explanation
! width="100"|Field||Explanation
|-
|-
| 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;'''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.{{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}}
| height="28"|&nbsp;'''Moderator(s)'''|| &nbsp;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"|&nbsp;'''BackupMod1'''|| &nbsp;The game's co/backup mod, if applicable.{{space|20}}
|- style="color:#777;"
| height="28"|&nbsp;'''BackupMod2'''|| &nbsp;The game's second co/backup mod, if applicable...{{space|20}}
|- style="color:#ccc;"
| height="28"|&nbsp;'''BackupMod3'''|| &nbsp;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|D1|SpyreX|Mr. Flay}}</pre>
<pre style='font-size:130%;margin:15px 10px;'>{{RCongoing|D4|ReaperCharlie}}</pre>
<pre style='font-size:130%;margin:15px 10px;'>{{RCongoing|N3|Vi|Percy|EGL}}</pre>
<pre style='font-size:130%;margin:15px 10px;'>{{RCongoing|N10|Percy|Vi|Flameaxe}}</pre>
<pre style='font-size:130%;margin:15px 10px;'>{{RCongoing|D14|ReaperCharlie}}</pre>
<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|D1|SpyreX|Mr. Flay}}
{{RCongoing|D4|ReaperCharlie}}
{{RCongoing|N3|Percy|Vi|EGL}}
{{RCongoing|N10|Percy|Vi|Flameaxe}}
{{RCongoing|D14|ReaperCharlie}}
{{RCongoing|D3|SpyreX|Mr. Flay}}
{{multicol-end}}
{{multicol-end}}
<div>
<div>


[[Category:Templates]]
[[Category:Templates|{{PAGENAME}}]]
[[Category:Pimped by ReaperCharlie]]
__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}}

What it looks like

Moderator: ReaperCharlie
Status: In Progress – Day 4
Moderators: Percy, Vi, & Flameaxe
Status: In Progress – Night 10
Moderators: SpyreX, Mr. Flay
Status: In Progress – Day 3