Μετάβαση στο περιεχόμενο

Πρότυπο:Fb r: Διαφορά μεταξύ των αναθεωρήσεων

Από τη Βικιπαίδεια, την ελεύθερη εγκυκλοπαίδεια
Περιεχόμενο που διαγράφηκε Περιεχόμενο που προστέθηκε
Xaris333 (συζήτηση | συνεισφορές)
Χωρίς σύνοψη επεξεργασίας
-σχ78-70 (συζήτηση | συνεισφορές)
μΧωρίς σύνοψη επεξεργασίας
Ετικέτες: Επεξεργασία από κινητό Διαδικτυακή επεξεργασία από κινητό
 
(16 ενδιάμεσες εκδόσεις από 6 χρήστες δεν εμφανίζονται)
Γραμμή 1: Γραμμή 1:
<!--
<!--
if r equals "null" -->|{{#ifeq:{{{r}}}|null<!--
if r equals "null" -->|{{#ifeq:{{{r}}}|null<!--
then set background color -->|bgcolor=#97DEFF{{!}}{{Unicode| }}<!--
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=#E8EDFF{{!}}<!--
set background color for OT win -->|bgcolor=#CCF9FF{{!}}<!--
else set standard background color -->|bgcolor=#ffc0cb{{!}}<!--
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=#FFE8E8{{!}}<!--
set background color for OT loss -->|bgcolor=#FFCCCC{{!}}<!--
else set standard background color -->|bgcolor=#D0F0C0{{!}}<!--
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=#E8EDFF{{!}}<!--
set background color for PK win -->|bgcolor=#DDFCFF{{!}}<!--
else set bg color for PK loss -->|bgcolor=#FFE8E8{{!}}<!--
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=#FFFF88{{!}}<!--
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}}}&ndash;{{{ga}}}</span><!--
then gf-ga (with less leading in case OT or PK) -->|<span style="line-height: 80%; white-space: nowrap;">{{{gf}}}&ndash;{{{ga}}}</span><!--
else if ma is not null: "a" -->|{{#if:{{{ma|}}}|a}}<!--
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>

[[en:Template:Fb r]]

Τρέχουσα έκδοση από την 09:27, 4 Φεβρουαρίου 2024

|

Documentation icon Τεκμηρίωση προτύπου[δημιουργία]