Difference between revisions of "Template:Table event"

From Pirate Party Belgium
Jump to: navigation, search
m
 
(36 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><!-- 1 - page; 2 - language; 3 - title; 4 - date; 5 - time; 6 - venue; 7 - link venue; 8 - address; 9 - city; 10 - postal code; 11 - organized by; workgroup = true|false -->
+
<includeonly><!-- 1 - page; 2 - title; 3 - date; 4 - time; 5 - venue; 6 - link venue; 7 - address; 8 - city; 9 - postal code; 10 - organized by; 11 - event type; 12 - topics; workgroup = true|false -->
 
|-
 
|-
| style="padding-right:10px;" | {{#if: {{{3|}}}  
+
| style="padding-right:10px; " |{{#if: {{{11|}}}
   | [[{{{1}}}|{{{3}}}]]
+
| [[File:{{#switch: {{{11}}}
 +
  | Meeting = Toicon-icon-avocado-discuss.svg
 +
  | PirateDrink = Toicon-icon-avocado-cheer.svg
 +
  | External = Toicon-icon-avocado-schedule.svg
 +
  }}|link=Category:{{#switch: {{{11}}}
 +
  | External = External Event
 +
  | {{{11}}}
 +
  }}|class=icon]] <nowiki />
 +
}}{{#if: {{{2|}}}  
 +
   | [[{{{1}}}|{{{2}}}]]
 
   | [[{{{1}}}]]  
 
   | [[{{{1}}}]]  
 
   }}
 
   }}
{{#if: {{{workgroup|}}} | {{!}} style="padding:0 10px;" {{!}} [[{{{11}}}]] }}
+
{{#if: {{{workgroup|}}} | {{!}} style="padding:0 10px;" {{!}} {{#arraymap:{{{10}}},{{{12}}}|,|x|[[x]]}} }}
| style="padding:0 10px;" data-sort-value="{{{4|}}}" | {{#if: {{{4|}}}  
+
| style="padding:0 10px; white-space: nowrap;" data-sort-value="{{{3|}}}" | {{#if: {{{3|}}}  
   | {{#switch: {{{2|}}} | fr = Le }} {{#time:l j F Y|{{{4|}}}|{{{2|en}}} }}{{#if: {{{5|}}}  
+
   | {{#time:D j F Y|{{{3}}}|{{int:language-code}} }}{{#if: {{{4|}}}  
     | , {{#time:  
+
     | , {{#time:{{int:sidebar-time-format}}|{{{4}}} }}  
        {{#switch: {{{2|}}}
 
        | fr = H\hi
 
        | nl = H\ui
 
        | g:ia
 
        }}|{{{5}}}  
 
      }}  
 
 
     }}  
 
     }}  
 
   | ?  
 
   | ?  
 
   }}
 
   }}
| style="padding-left:10px;" | {{#if: {{{6|}}}  
+
| style="padding-left:10px;" |{{#if: {{{5|}}}  
   | {{#if: {{{7|}}}  
+
   | {{#if: {{{6|}}}  
     | [{{{7}}} {{{6}}}]  
+
     | [{{{6}}} {{{5}}}]  
     | {{{6}}}  
+
     | {{{5}}}  
     }} –  
+
     }} {{#if: {{{7|}}}
  }} {{#if: {{{8|}}}  
+
    | <nowiki />
   | {{{8}}},
+
    | {{#if: {{{8|}}}{{{9|}}} | <br /> }}
   }} {{{10|}}} {{#if: {{{9|}}}  
+
    }}
   | {{{9}}}  
+
   | {{#if: {{{7|}}}{{{8|}}}{{{9|}}} | | ? }}
  | ?  
+
   }}{{#if: {{{7|}}}
  }}</includeonly>
+
  | {{{7}}}{{#if: {{{8|}}}{{{9|}}} | <br /> }}
 +
   }}{{#if: {{{9|}}} | {{{9}}} <nowiki /> }}{{#if: {{{8|}}} | {{{8}}} }}</includeonly><noinclude>== Example ==
 +
 
 +
{{#ask: [[Has page::Crew_BW/Event/02_10_2017/1]] [[Has date::+]]
 +
| ?Has page
 +
| ?Has title
 +
| ?Has date
 +
| ?Has time
 +
| ?In venue
 +
| ?Has link venue
 +
| ?Has address
 +
| ?In city
 +
| ?In postal code#
 +
| ?Organized by
 +
| ?Has event type
 +
| link = none
 +
| introtemplate = Table event intro
 +
| format = template
 +
| template = Table event
 +
| outrotemplate = Table outro
 +
| mainlabel = -
 +
}}</noinclude>

Latest revision as of 23:02, 2 March 2019

Example

Event Date Venue
Toicon-icon-avocado-schedule.svg Débat sans conférence: Comment casser les lobbies ? Mon 2 October 2017, 8:00pm Maison du Développement Durable – pl. Agora 2
1348 Louvain-la-Neuve