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
(Created page with "<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 categ...") |
mNo edit summary |
||
(28 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: == | ||
<pre>{{opencat | <pre>{{opencat | ||
|number= | |number= | ||
|link= | |link= | ||
Line 11: | Line 10: | ||
|setup= | |setup= | ||
|players= | |players= | ||
|status= | |status=Completed | ||
|endphase= | |endphase= | ||
|endnumber= | |endnumber= | ||
Line 22: | Line 21: | ||
{| style="background:#EEE; border:#AAA solid 1px; width: 250px; margin: 0px 0px 5px 5px;" | {| style="background:#EEE; border:#AAA solid 1px; width: 250px; margin: 0px 0px 5px 5px;" | ||
|- align="center" style="font-size: 11pt;" | |- align="center" style="font-size: 11pt;" | ||
|'''{{ #if: {{{link| }}} | {{plainlink|t|{{{link}}}|{{{name|{{ | |'''{{ #if: {{{link| }}} | {{#if: {{{name|}}} | {{plainlink|t|{{{link}}}|{{{name}}}}} | {{plainlink|t|{{{link}}}|Open {{{number}}}}} }} | [[Open {{{number}}}]] }}''' | ||
|} | |} | ||
{| cellpadding="2" cellspacing="2" style="border:#AAA solid 1px; width: 250px; text-align: left; font-size: 8pt; margin: 0px 0px 5px 5px;" | {| cellpadding="2" cellspacing="2" style="border:#AAA solid 1px; width: 250px; text-align: left; font-size: 8pt; margin: 0px 0px 5px 5px;" | ||
Line 29: | 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 35: | 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 44: | Line 43: | ||
}} | }} | ||
|} | |} | ||
|} | |} | ||
{| 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;" | ||
|- style="height: | |- align="center" style="height:2.5em;" | ||
| | | width="33%" | {{#ifexist: Open {{#expr: {{{number}}} - 1}} | '''[[Open {{#expr: {{{number}}} - 1}}]]''' | }} | ||
| | | width="34%" | '''[[List of Open Games]]''' | ||
| | | 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: {{{mod3}}} | [[Category:Games modded by {{{mod3}}}|Open {{padleft:{{{number}}}|3}}]]}} | ||
{{#if: {{{winner}}} | [[Category:Games with {{{winner}}} Win|Open {{ | {{#if: {{{otheroutcome}}} | [[Category:{{{otheroutcome}}} Games|Open {{padleft:{{{number}}}|3}}]]}} | ||
{{#if: {{{draw}}} | [[Category:Games with {{{draw}}} Draw|Open {{ | {{#if: {{{winner}}} | [[Category:Games with {{{winner}}} Win outcome|Open {{padleft:{{{number}}}|3}}]]}} | ||
[[Category:Games using the {{{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}}]] | ||
[[Category:Games that ended during {{{endphase}}}|Open {{ | [[Category:Games with {{{players}}} players|Open {{padleft:{{{number}}}|3}}]] | ||
[[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= }}