Difference between revisions of "Template:Richieste LOD"

From Project Management
Jump to: navigation, search
Line 20: Line 20:
 
Data e ora fine: {{#if: {{{data_fine|}}} |[[Richiesta LOD data ora fine::{{{data_fine|}}}]]|}}
 
Data e ora fine: {{#if: {{{data_fine|}}} |[[Richiesta LOD data ora fine::{{{data_fine|}}}]]|}}
  
{{#ifexpr: {{#time: Y-m-d | now }} {{#time: Y-m-d | {{{data_inizio}}} -7 days }} |now minore|now maggiore}}
+
{{#ifexpr: {{#time: Y-m-d | now }} < {{#time: Y-m-d | {{{data_inizio}}} -7 days }} |now minore|now maggiore}}
  
 
{{#ifeq:{{{utente|}}}|Nessuno|*'''[[Speciale:EditData/Richieste LOD singolo/{{PAGENAME}}|Prenota questa data individualmente]]'''
 
{{#ifeq:{{{utente|}}}|Nessuno|*'''[[Speciale:EditData/Richieste LOD singolo/{{PAGENAME}}|Prenota questa data individualmente]]'''

Revision as of 12:16, 11 January 2011

This is the 'Richieste LOD' template. It should be called in the following format:

{{Richieste LOD
|data_inizio=
|data_fine=
|data_prenotazione=
|utente=
|gruppo=
|temi=
}}