Difference between revisions of "Template:GroupTableSlot"

From Lexiconn
Jump to navigation Jump to search
(Created page with "<includeonly>|-{{#if: {{{bg|}}}|style="background-color:<!-- -->{{#switch: {{{bg}}} |proceed |up = rgb(204,255,204) |stayup = rgb(238,255,170) |stay = rgb(255,255,153)...")
 
 
(2 intermediate revisions by the same user not shown)
Line 66: Line 66:
 
|style="width: 32px; white-space: pre; text-align:center;"|'''{{{win_m|0}}}-{{#if:{{{tie_m|}}}|{{{tie_m|}}}-}}{{{lose_m|0}}}''' <!-- always show match scores --><!--
 
|style="width: 32px; white-space: pre; text-align:center;"|'''{{{win_m|0}}}-{{#if:{{{tie_m|}}}|{{{tie_m|}}}-}}{{{lose_m|0}}}''' <!-- always show match scores --><!--
 
-->{{#if: {{{win_g|}}}{{{lose_g|}}} <!-- show games scores if present with win_g= or lose_g=-->
 
-->{{#if: {{{win_g|}}}{{{lose_g|}}} <!-- show games scores if present with win_g= or lose_g=-->
| {{!}}{{!}}style="width: 32px; white-space: pre; text-align:center;"{{!}}{{{win_g|0}}}-{{{lose_g|0}}}}}<!--
+
| {{!}}{{!}}style="width: 32px; white-space: pre; text-align:center;"{{!}}''{{{win_g|0}}}''-''{{{lose_g|0}}}''}}<!--
 
-->{{#if: {{{diff|}}} <!-- if diff= is present, show it as well -->
 
-->{{#if: {{{diff|}}} <!-- if diff= is present, show it as well -->
 
| {{!}}{{!}}style="width: 32px; white-space: pre; text-align: center;"{{!}}''{{{diff|}}}''
 
| {{!}}{{!}}style="width: 32px; white-space: pre; text-align: center;"{{!}}''{{{diff|}}}''
Line 77: Line 77:
 
   -->| '''<i>0p</i>'''<!--
 
   -->| '''<i>0p</i>'''<!--
 
   -->}}<!--
 
   -->}}<!--
-->}}</includeonly><noinclude>[[Category:Template]]</noinclude>
+
-->}}</includeonly><noinclude>To je sredinska vsebina za skupino v skupinskem delu. Začneš s [[Template:GroupTableStart]], končaš pa [[Template:Konec]]
 +
<pre>{{GroupTableSlot| KDO |place=|win_m=|lose_m=|win_g=|lose_g=|bg=}}</pre>
 +
Kopiraš zgornjo kodo. Če rabiš '''DRAW/TIE''' dodaš vmes '''tie_m=''' oz '''tie_g='''. Če pustiš win_g/lose_G prazno ali izbrišeš ne bo sploh izpisan. Pri bg je '''up''' za zeleno, '''down''' za rdečo '''stay''' pa rumeno, [[Category:Template]]</noinclude>

Latest revision as of 12:22, 28 October 2019

To je sredinska vsebina za skupino v skupinskem delu. Začneš s Template:GroupTableStart, končaš pa Template:Konec

{{GroupTableSlot| KDO |place=|win_m=|lose_m=|win_g=|lose_g=|bg=}}

Kopiraš zgornjo kodo. Če rabiš DRAW/TIE dodaš vmes tie_m= oz tie_g=. Če pustiš win_g/lose_G prazno ali izbrišeš ne bo sploh izpisan. Pri bg je up za zeleno, down za rdečo stay pa rumeno,