Difference between revisions of "Template:LeagueTableStart"

From QWiki
m
m (Padding tweak)
 
(26 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{|class="table table-bordered grouptable" style="{{#if: {{{width|}}}|width: {{{width}}}; |}}margin: 0px; {{#if: {{{height|}}}|line-height: {{{height}}}; |}};"
+
<includeonly>{|class="table table-bordered table-hover grouptable" style="{{#if: {{{width|}}}|width: {{{width}}}; |}}margin: 0px; {{#if: {{{height|}}}|line-height: {{{height}}}; |}};"
!| #
+
!rowspan="2"|#
!style="width:200px;"|Team
+
!style="200px;text-align: left;padding-left:12px;" colspan="2" rowspan="2"|Team
!|Matches won
+
!colspan="3"|Games
!|Maps won
+
!colspan="2"|Maps
 +
!colspan="3"|Frags
 +
!rowspan="2"|Points
 +
|-
 +
!|Tot
 +
!|Won
 +
!|Lost
 +
!|Won
 +
!|Lost
 +
!|For
 +
!|Against
 
!|Diff
 
!|Diff
 
{{#if:{{{date|}}}|
 
{{#if:{{{date|}}}|
 
{{!}}-
 
{{!}}-
 
{{!}}colspan="{{{colspan|7}}}" class="grouptable-start-date" {{!}} '''{{{date}}}'''{{#ifeq:{{{finished|}}}|true||<span class="streamLink">{{{stream|}}}</span><span class="datetime" style="display:none">{{{date|}}}</span><span  class="countdown grouptable-start-countdown">{{#ifeq:{{{live|}}}|true|LIVE!}}</span>}}}}<!--
 
{{!}}colspan="{{{colspan|7}}}" class="grouptable-start-date" {{!}} '''{{{date}}}'''{{#ifeq:{{{finished|}}}|true||<span class="streamLink">{{{stream|}}}</span><span class="datetime" style="display:none">{{{date|}}}</span><span  class="countdown grouptable-start-countdown">{{#ifeq:{{{live|}}}|true|LIVE!}}</span>}}}}<!--
-->{{#vardefine:show_points|{{{show_p|}}}}}{{#vardefine:win_points|{{{win_p|}}}}}{{#vardefine:tie_points|{{{tie_p|}}}}}</includeonly><noinclude>{{documentation}}[[Category:Tournament Page Formatting Templates]]</noinclude>
+
-->{{#vardefine:show_points|{{{show_p|}}}}}{{#vardefine:win_points|{{{win_p|}}}}}{{#vardefine:tie_points|{{{tie_p|}}}}}</includeonly><noinclude>{{documentation}}[[Category:Templates]][[Category:Tournament Page Formatting Templates]]</noinclude>

Latest revision as of 19:34, 4 April 2021

Documentation (view - edit)

Table header row, showing #, team, prefix, W, L, MW, ML, P.


The code:

{{LeagueTableStartNQR}}

Gives us:

# Team Prefix W L MW ML Points

Adapted from Liquipedia