Difference between revisions of "Template:Event Newsletter"

From Pirate Party Belgium
Jump to: navigation, search
m (fix bug in time translation)
m (fixes for SMW 3.0)
 
Line 1: Line 1:
  
{{#if: {{{?page|}}}
+
{{#if: {{{page|}}}
| == {{#if: {{{?title|}}}  
+
| == {{#if: {{{title|}}}  
   | [[{{{?page}}}|{{{?title}}}]]
+
   | [[{{{page}}}|{{{title}}}]]
   | [[{{{?page}}}]]
+
   | [[{{{page}}}]]
 
   }} ==
 
   }} ==
  
{{#if: {{{?date|}}}
+
{{#if: {{{date|}}}
 
   | ''{{ucfirst:{{#time:l, j F Y, {{#switch: {{{userparam|}}}
 
   | ''{{ucfirst:{{#time:l, j F Y, {{#switch: {{{userparam|}}}
 
         | fr = G\hi
 
         | fr = G\hi
Line 12: Line 12:
 
         | g:ia
 
         | g:ia
 
         }}
 
         }}
       |{{{?date|}}}
+
       |{{{date|}}}
 
       |{{{userparam|}}}
 
       |{{{userparam|}}}
 
       }}
 
       }}
     }}''{{#if: {{{?location|}}}  
+
     }}''{{#if: {{{location|}}}  
 
     | <br/>
 
     | <br/>
 
     }}
 
     }}
   }}{{#if: {{{?location|}}}  
+
   }}{{#if: {{{location|}}}  
   | ''{{{?location|}}}''
+
   | ''{{{location|}}}''
 
   }}
 
   }}
 
}}
 
}}

Latest revision as of 13:11, 5 March 2019