You are viewing the MafiaScum.net Wiki. To play the game, visit the forum.
Template:Opencat: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
(12 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude>Quick and simple template for Open Game pages that lists game number, thread link, moderator, setup, number of players, end phase, outcome. It adds corresponding categories.[[Category:Templates]] | <noinclude>Quick and simple template for Open Game pages that lists game number, thread link, moderator, setup, number of players, end phase, outcome. It adds corresponding categories.[[Category:Templates|{{PAGENAME}}]] | ||
== Syntax: == | == Syntax: == | ||
Line 28: | Line 28: | ||
|- | |- | ||
| style="background:#EEE;" align="center" | [[Game Moderator|Moderator(s)]]: | | style="background:#EEE;" align="center" | [[Game Moderator|Moderator(s)]]: | ||
| {{U|{{{mod}}}}}{{ #if: {{{mod2}}} | , {{U|{{{mod2}}}}} }}{{ #if: {{{mod3}}} | , {{U|{{{mod3}}}}} }} | | {{ #if: {{{mod}}} | {{U|{{{mod}}}}}{{ #if: {{{mod2}}} | , {{U|{{{mod2}}}}} }}{{ #if: {{{mod3}}} | , {{U|{{{mod3}}}}} }} | ''Unknown'' }} | ||
|- | |- | ||
| style="background:#EEE;" align="center" | Setup: | | style="background:#EEE;" align="center" | Setup: | ||
Line 34: | Line 34: | ||
|- | |- | ||
| style="background:#EEE;" align="center" | Status: | | style="background:#EEE;" align="center" | Status: | ||
| {{{status|''Ongoing'' | | {{ #if: {{{status|}}} | {{{status}}} | ''Ongoing'' }} | ||
|- | |- | ||
| style="background:#EEE;" align="center" | Outcome: | | style="background:#EEE;" align="center" | Outcome: | ||
| {{ #if: {{{winner}}} | {{{winner}}} Win {{{endphase|}}} {{{endnumber|}}} | {{ #if: {{{draw}}} | {{{draw}}} Draw {{{endphase|}}} {{{endnumber|}}} | {{ #if: {{{otheroutcome}}} | {{{otheroutcome}}} {{{endphase|}}} {{{endnumber|}}} | ''no outcome yet'' }} }} }} | | {{ #if: {{{winner}}} | {{{winner}}} Win {{{endphase|}}} {{{endnumber|}}} | {{ #if: {{{draw}}} | {{{draw}}} Draw {{{endphase|}}} {{{endnumber|}}} | {{ #if: {{{otheroutcome}}} | {{{otheroutcome}}} {{{endphase|}}} {{{endnumber|}}} | {{#if: {{{status|}}} | ''{{{status}}}'' | ''no outcome yet''}} }} }} }} | ||
{{ #if: {{{notes|}}}| | {{ #if: {{{notes|}}}| | ||
{{!}}- | {{!}}- | ||
Line 46: | Line 46: | ||
{| style="width:100%; margin-left: auto; margin-right: auto; border:solid #AAA 1px;" | {| style="width:100%; margin-left: auto; margin-right: auto; border:solid #AAA 1px;" | ||
|- align="center" style="height:2.5em;" | |- align="center" style="height:2.5em;" | ||
| width="33%" | '''[[Open {{#expr: {{{number}}} - 1}}]]''' | | width="33%" | {{#ifexist: Open {{#expr: {{{number}}} - 1}} | '''[[Open {{#expr: {{{number}}} - 1}}]]''' | }} | ||
| width="34%" | '''[[List of Open Games]]''' | | width="34%" | '''[[List of Open Games]]''' | ||
| width="33%" | | width="33%" | '''[[Open {{#expr: {{{number}}} + 1}}]]''' | ||
|} | |} | ||
[[Category:Open Games|{{ | [[Category:Open Games|{{padleft:{{{number}}}|3}}]] | ||
[[Category:Games played in Central Park|{{ | [[Category:Games played in Central Park|{{padleft:{{{number}}}|3}}]] | ||
[[Category:Games | {{#if: {{{status}}} | [[Category:{{{status}}} Games]] | [[Category:Ongoing Games]] }} | ||
{{#if: {{{mod2}}} | [[Category:Games modded by {{{mod2}}}|Open {{ | {{#if: {{{mod}}} | [[Category:Games modded by {{{mod}}}|Open {{padleft:{{{number}}}|3}}]]}} | ||
{{#if: {{{mod3}}} | [[Category:Games modded by {{{mod3}}}|Open {{ | {{#if: {{{mod2}}} | [[Category:Games modded by {{{mod2}}}|Open {{padleft:{{{number}}}|3}}]]}} | ||
{{#if: {{{otheroutcome}}} | [[Category:{{{otheroutcome}}} Games|Open {{ | {{#if: {{{mod3}}} | [[Category:Games modded by {{{mod3}}}|Open {{padleft:{{{number}}}|3}}]]}} | ||
{{#if: {{{winner}}} | [[Category:Games with {{{winner}}} Win outcome|Open {{ | {{#if: {{{otheroutcome}}} | [[Category:{{{otheroutcome}}} Games|Open {{padleft:{{{number}}}|3}}]]}} | ||
{{#if: {{{draw}}} | [[Category:Games with {{{draw}}} Draw outcome|Open {{ | {{#if: {{{winner}}} | [[Category:Games with {{{winner}}} Win outcome|Open {{padleft:{{{number}}}|3}}]]}} | ||
[[Category:Games using the {{{setup}}} setup|Open {{ | {{#if: {{{draw}}} | [[Category:Games with {{{draw}}} Draw outcome|Open {{padleft:{{{number}}}|3}}]]}} | ||
[[Category:Games with {{{players}}} players|Open {{ | [[Category:Games using the {{{setup}}} setup|Open {{padleft:{{{number}}}|3}}]] | ||
{{#if: {{{endphase}}} | [[Category:Games that ended during {{{endphase}}}|Open {{ | [[Category:Games with {{{players}}} players|Open {{padleft:{{{number}}}|3}}]] | ||
{{#if: {{{endphase}}} | [[Category:Games that ended {{{endphase}}} {{{endnumber}}}|Open {{ | {{#if: {{{endphase}}} | [[Category:Games that ended during {{{endphase}}}|Open {{padleft:{{{number}}}|3}}]]}} | ||
{{#if: {{{endphase}}} | [[Category:Games that ended {{{endphase}}} {{{endnumber}}}|Open {{padleft:{{{number}}}|3}}]]}}</includeonly> |
Latest revision as of 13:21, 29 August 2012
Quick and simple template for Open Game pages that lists game number, thread link, moderator, setup, number of players, end phase, outcome. It adds corresponding categories.
Syntax:
{{opencat |number= |link= |mod= |mod2= |mod3= |setup= |players= |status=Completed |endphase= |endnumber= |winner= |draw= |otheroutcome= |notes= }}