Πρότυπο:Fb r: Διαφορά μεταξύ των αναθεωρήσεων
Εμφάνιση
Περιεχόμενο που διαγράφηκε Περιεχόμενο που προστέθηκε
Αναίρεση έκδοσης 3549826 από τον Xaris333 (Συζήτηση χρήστη:Xaris333) |
μΧωρίς σύνοψη επεξεργασίας Ετικέτες: Επεξεργασία από κινητό Διαδικτυακή επεξεργασία από κινητό |
||
(8 ενδιάμεσες εκδόσεις από 6 χρήστες δεν εμφανίζονται) | |||
Γραμμή 1: | Γραμμή 1: | ||
<!-- |
<!-- |
||
if r equals "null" -->|{{#ifeq:{{{r}}}|null<!-- |
if r equals "null" -->|{{#ifeq:{{{r}}}|null<!-- |
||
then set background color -->|bgcolor=# |
then set background color -->|bgcolor=#BBBBBB{{!}}{{Unicode| }}<!-- |
||
else if gf is not empty (set background color) -->|{{#if:{{{gf|}}}<!-- |
else if gf is not empty (set background color) -->|{{#if:{{{gf|}}}<!-- |
||
if home team wins -->|{{#ifexpr:{{{gf}}}-{{{ga}}}>0<!-- |
if home team wins -->|{{#ifexpr:{{{gf}}}-{{{ga}}}>0<!-- |
||
then if there is an overtime win -->|{{#ifeq:{{{r}}}|ot<!-- |
then if there is an overtime win -->|{{#ifeq:{{{r}}}|ot<!-- |
||
set background color for OT win -->|bgcolor=# |
set background color for OT win -->|bgcolor=#CCF9FF{{!}}<!-- |
||
else set standard background color -->|bgcolor=# |
else set standard background color -->|bgcolor=#BBF3FF{{!}}<!-- |
||
endif -->}}<!-- |
endif -->}}<!-- |
||
else if away team wins -->|{{#ifexpr:{{{gf}}}-{{{ga}}}<0<!-- |
else if away team wins -->|{{#ifexpr:{{{gf}}}-{{{ga}}}<0<!-- |
||
then if there is an overtime win -->|{{#ifeq:{{{r}}}|ot<!-- |
then if there is an overtime win -->|{{#ifeq:{{{r}}}|ot<!-- |
||
set background color for OT loss -->|bgcolor=# |
set background color for OT loss -->|bgcolor=#FFCCCC{{!}}<!-- |
||
else set standard background color -->|bgcolor=# |
else set standard background color -->|bgcolor=#FFBBBB{{!}}<!-- |
||
endif -->}}<!-- |
endif -->}}<!-- |
||
else if there are PK's after the draw -->|{{#ifeq:{{{r}}}|pk<!-- |
else if there are PK's after the draw -->|{{#ifeq:{{{r}}}|pk<!-- |
||
if home team wins on PK's -->|{{#ifexpr:{{{pf}}}-{{{pa}}}>0<!-- |
if home team wins on PK's -->|{{#ifexpr:{{{pf}}}-{{{pa}}}>0<!-- |
||
set background color for PK win -->|bgcolor=# |
set background color for PK win -->|bgcolor=#DDFCFF{{!}}<!-- |
||
else set bg color for PK loss -->|bgcolor=# |
else set bg color for PK loss -->|bgcolor=#FFDDDD{{!}}<!-- |
||
when no PK's happened (endif) -->}}<!-- |
when no PK's happened (endif) -->}}<!-- |
||
set background color for a draw -->|bgcolor=# |
set background color for a draw -->|bgcolor=#FFFFBB{{!}}<!-- |
||
endif -->}}<!-- |
endif -->}}<!-- |
||
endif -->}}<!-- |
endif -->}}<!-- |
||
Γραμμή 27: | Γραμμή 27: | ||
endif -->}}<!-- |
endif -->}}<!-- |
||
if gf is not null -->{{#if:{{{gf|}}}<!-- |
if gf is not null -->{{#if:{{{gf|}}}<!-- |
||
then gf-ga (with less leading in case OT or PK) -->|<span style="line-height: 80%">{{{gf}}}–{{{ga}}}</span><!-- |
then gf-ga (with less leading in case OT or PK) -->|<span style="line-height: 80%; white-space: nowrap;">{{{gf}}}–{{{ga}}}</span><!-- |
||
else if ma is not null: "a" -->|{{#if:{{{ma|}}}| |
else if ma is not null: "a" -->|{{#if:{{{ma|}}}|–}}<!-- |
||
endif -->}}<!-- |
endif -->}}<!-- |
||
if ma is not null then "]]" -->{{#if:{{{ma|}}}|{{close wikilink}}}}<!-- |
if ma is not null then "]]" -->{{#if:{{{ma|}}}|{{close wikilink}}}}<!-- |
||
Γραμμή 39: | Γραμμή 39: | ||
--><noinclude> |
--><noinclude> |
||
{{template doc}} |
|||
{{Τεκμηρίωση προτύπου}} |
|||
<!-- Add categories and interwikis to the /doc subpage, not here! --> |
<!-- Add categories and interwikis to the /doc subpage, not here! --> |
||
</noinclude> |
</noinclude> |
Τρέχουσα έκδοση από την 09:27, 4 Φεβρουαρίου 2024
|
Τεκμηρίωση προτύπου[δημιουργία]
Οι συντάκτες μπορούν να πειραματίζονται στο αμμοδοχείο (δημιουργία | αντίγραφο) και στις δοκιμαστικές σελίδες (δημιουργία) του προτύπου. Παρακαλούμε να προσθέτετε τις κατηγορίες στην υποσελίδα τεκμηρίωσης. Υποσελίδες αυτής της σελίδας. |