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

User:Derangement/Templates/SummaryTable: Difference between revisions

From MafiaWiki
Jump to navigation Jump to search
(Create hardcoded table (no parameters yet))
 
(Updated to supply each row with (icon, faction, won, lost, tied) parameters.)
Line 1: Line 1:
<!--<includeonly>-->{| class="wikitable" style="text-align:center;"
{| class="wikitable" style="text-align:center;"
!colspan=2 rowspan=2|Faction
!colspan=2 rowspan=2|Faction
!width="40em"|Played
!width="40em"|Played
Line 13: Line 13:
!0
!0
{{User:Derangement/Templates/SummaryRow
{{User:Derangement/Templates/SummaryRow
|[[File:Faction_Town.png|15px]]
|icon=[[File:Faction_Town.png|15px]]
|[[Townie|Town]]
|faction=[[Townie|Town]]
|1
|won={{{TownWon|0}}}
|0%
|lost={{{TownLost|0}}}
|0
|tied={{{TownTied|0}}}
|1
}}
|0}}
{{User:Derangement/Templates/SummaryRow
{{User:Derangement/Templates/SummaryRow
|[[File:Faction_Mafia.png|15px]]
|icon=[[File:Faction_Mafia.png|15px]]
|[[Mafia#Summary|Scum]]
|faction=[[Mafia#Summary|Scum]]
|0
|won={{{ScumWon|0}}}
|-
|lost={{{ScumLost|0}}}
|0
|tied={{{ScumTied|0}}}
|0
}}
|0}}
{{User:Derangement/Templates/SummaryRow
{{User:Derangement/Templates/SummaryRow
|[[File:Faction_Self-Aligned.png|15px]]
|icon=[[File:Faction_Self-Aligned.png|15px]]
|[[Third Party]]
|faction=[[Third Party]]
|0
|won={{{ThirdWon|0}}}
|-
|lost={{{ThirdLost|0}}}
|0
|tied={{{ThirdTied|0}}}
|0
}}
|0}}
|}<noinclude>
|}<!--</includeonly>--><noinclude>
This is a template for [[Derangement]]'s games summary table.<br>
This is a template for [[Derangement]]'s games summary table.<br>
<br>
Example:<br>
{{User:Derangement/Templates/SummaryTable}}
[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Revision as of 13:22, 4 February 2015

Faction Played Win% Won Lost Tied
1 0% 0 1 0
Faction Town.png Town 0 - 0 0 0 Faction Town.png Town 0 0 0 0
Faction Mafia.png Scum 0 - 0 0 0 Faction Mafia.png Scum 0 0 0 0
Faction Self-Aligned.png Third Party 0 - 0 0 0 Faction Self-Aligned.png Third Party 0 0 0 0

This is a template for Derangement's games summary table.