Šablona:Otevírací doba SK Profi-2

Z Multimediaexpo.cz

(Rozdíly mezi verzemi)
(+ Nová šablona)
(+ Aktualizace, Hidden Structure)
 
(Nejsou zobrazeny 2 mezilehlé verze.)
Řádka 1: Řádka 1:
{|  class="wikitable"
{|  class="wikitable"
| style="background: {{{farba}}};" colspan="3"  align=center |    {{{titulka}}}   
| style="background: {{{farba}}};" colspan="3"  align=center |    {{{titulka}}}   
-
|- align="center"
+
|- align="center"; class="hiddenStructure{{#if:{{{pondelok1|}}}|Visible}}"
-
| '''Pondelok'''  
+
|  '''Pondelok''' 
-
| {{{pondelok1|}}}
+
| {{#ifeq: {{CURRENTDOW}} | 1 | <span style="color: #0000FF; font-size: 110%;">&nbsp;{{{pondelok1|}}}&nbsp;</span> | &nbsp;{{{pondelok1|}}}&nbsp;}}
-
| {{{pondelok2|}}}
+
| {{#ifeq: {{CURRENTDOW}} | 1 | <span style="color: #0000FF; font-size: 110%;">&nbsp;{{{pondelok2|}}}&nbsp;</span> | &nbsp;{{{pondelok2|}}}&nbsp;}}
-
|- align="center"
+
|- align="center"; class="hiddenStructure{{#if:{{{utorok1|}}}|Visible}}"
-
| '''Utorok'''&nbsp;&nbsp;
+
| &nbsp;'''Utorok'''&nbsp;
-
| {{{utorok1|}}}
+
| {{#ifeq: {{CURRENTDOW}} | 2 | <span style="color: #0000FF; font-size: 110%;">&nbsp;{{{utorok1|}}}&nbsp;</span> | &nbsp;{{{utorok1|}}}&nbsp;}}
-
| {{{utorok2|}}}
+
| {{#ifeq: {{CURRENTDOW}} | 2 | <span style="color: #0000FF; font-size: 110%;">&nbsp;{{{utorok2|}}}&nbsp;</span> | &nbsp;{{{utorok2|}}}&nbsp;}}
-
|- align="center"
+
|- align="center"; class="hiddenStructure{{#if:{{{streda1|}}}|Visible}}"
-
| '''Streda'''&nbsp;&nbsp;
+
| &nbsp;'''Streda'''&nbsp;
-
| {{{streda1|}}}
+
| {{#ifeq: {{CURRENTDOW}} | 3 | <span style="color: #0000FF; font-size: 110%;">&nbsp;{{{streda1|}}}&nbsp;</span> | &nbsp;{{{streda1|}}}&nbsp;}}
-
| {{{streda2|}}}
+
| {{#ifeq: {{CURRENTDOW}} | 3 | <span style="color: #0000FF; font-size: 110%;">&nbsp;{{{streda2|}}}&nbsp;</span> | &nbsp;{{{streda2|}}}&nbsp;}}
-
|- align="center"
+
|- align="center"; class="hiddenStructure{{#if:{{{stvrtok1|}}}|Visible}}"
-
| '''Štvrtok'''&nbsp;&nbsp;
+
| &nbsp;'''Štvrtok'''&nbsp;
-
| {{{stvrtok1|}}}
+
| {{#ifeq: {{CURRENTDOW}} | 4 | <span style="color: #0000FF; font-size: 110%;">&nbsp;{{{stvrtok1|}}}&nbsp;</span> | &nbsp;{{{stvrtok1|}}}&nbsp;}}
-
| {{{stvrtok2|}}}
+
| {{#ifeq: {{CURRENTDOW}} | 4 | <span style="color: #0000FF; font-size: 110%;">&nbsp;{{{stvrtok2|}}}&nbsp;</span> | &nbsp;{{{stvrtok2|}}}&nbsp;}}
-
|- align="center"
+
|- align="center"; class="hiddenStructure{{#if:{{{piatok1|}}}|Visible}}"
-
| '''Piatok'''&nbsp;&nbsp;
+
| &nbsp;'''Piatok'''&nbsp;
-
| {{{piatok1|}}}
+
| {{#ifeq: {{CURRENTDOW}} | 5 | <span style="color: #0000FF; font-size: 110%;">&nbsp;{{{piatok1|}}}&nbsp;</span> | &nbsp;{{{piatok1|}}}&nbsp;}}
-
| {{{piatok2|}}}
+
| {{#ifeq: {{CURRENTDOW}} | 5 | <span style="color: #0000FF; font-size: 110%;">&nbsp;{{{piatok2|}}}&nbsp;</span> | &nbsp;{{{piatok2|}}}&nbsp;}}
|-
|-
-
! style="background: {{{farba}}};" colspan="3"  align="center" | &nbsp;
+
|- align="center"; class="hiddenStructure{{#if:{{{sobota1|}}}|Visible}}"
-
|- align="center"
+
| &nbsp;'''Sobota'''&nbsp;
-
| '''Sobota'''&nbsp;&nbsp;
+
| {{#ifeq: {{CURRENTDOW}} | 6 | <span style="color: #0000FF; font-size: 110%;">&nbsp;{{{sobota1|}}}&nbsp;</span> | &nbsp;{{{sobota1|}}}&nbsp;}}
-
| {{{sobota1|}}}
+
| {{#ifeq: {{CURRENTDOW}} | 6 | <span style="color: #0000FF; font-size: 110%;">&nbsp;{{{sobota2|}}}&nbsp;</span> | &nbsp;{{{sobota2|}}}&nbsp;}}
-
| {{{sobota2|}}}
+
|- align="center"; class="hiddenStructure{{#if:{{{nedela1|}}}|Visible}}"
-
|- align="center"
+
| &nbsp;'''Nedeľa'''&nbsp;
-
| '''Nedeľa'''&nbsp;&nbsp;
+
| {{#ifeq: {{CURRENTDOW}} | 0 | <span style="color: #0000FF; font-size: 110%;">&nbsp;{{{nedela1|}}}&nbsp;</span> | &nbsp;{{{nedela1|}}}&nbsp;}}
-
| {{{nedela1|}}}
+
| {{#ifeq: {{CURRENTDOW}} | 0 | <span style="color: #0000FF; font-size: 110%;">&nbsp;{{{nedela2|}}}&nbsp;</span> | &nbsp;{{{nedela2|}}}&nbsp;}}
-
| {{{nedela2|}}}
+
|-
|-
! style="background: {{{farba}}};" colspan="3"  align="center" | &nbsp;
! style="background: {{{farba}}};" colspan="3"  align="center" | &nbsp;
|}
|}
<noinclude>[[Kategorie:Šablony pro Katalog firem|Otevírací doba P2]]</noinclude>
<noinclude>[[Kategorie:Šablony pro Katalog firem|Otevírací doba P2]]</noinclude>

Aktuální verze z 17. 4. 2024, 10:57

   {{{titulka}}}   
 Pondelok       
 Utorok       
 Streda       
 Štvrtok       
 Piatok       
 Sobota       
 Nedeľa