Template:Table event: Difference between revisions

From Pirate Party Belgium
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(32 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><!-- 1 - page; 2 - title; 3 - date; 4 - time; 5 - venue; 6 - link venue; 7 - address; 8 - city; 9 - postal code; 10 - 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: {{{2|}}}  
| style="padding-right:10px; " |{{#if: {{{11|}}}
| [[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}}}|{{{2}}}]]
   | [[{{{1}}}]]  
   | [[{{{1}}}]]  
   }}
   }}
{{#if: {{{workgroup|}}} | {{!}} style="padding:0 10px;" {{!}} {{#arraymap:{{{10}}}|,|x|[[x]]}} }}
{{#if: {{{workgroup|}}} | {{!}} style="padding:0 10px;" {{!}} {{#arraymap:{{{10}}},{{{12}}}|,|x|[[x]]}} }}
| style="padding:0 10px;" data-sort-value="{{{3|}}}" | {{#if: {{{3|}}}  
| style="padding:0 10px; white-space: nowrap;" data-sort-value="{{{3|}}}" | {{#if: {{{3|}}}  
   | {{#ifeq: {{int:language-code}} | fr | Le }} {{#time:l j F Y|{{{3|}}}|{{int:language-code}} }}{{#if: {{{4|}}}  
   | {{#time:D j F Y|{{{3}}}|{{int:language-code}} }}{{#if: {{{4|}}}  
     | , {{#time:{{int:sidebar-time-format}}|{{{4}}} }}  
     | , {{#time:{{int:sidebar-time-format}}|{{{4}}} }}  
     }}  
     }}  
   | ?  
   | ?  
   }}
   }}
| style="padding-left:10px;" | {{#if: {{{5|}}}  
| style="padding-left:10px;" |{{#if: {{{5|}}}  
   | {{#if: {{{6|}}}  
   | {{#if: {{{6|}}}  
     | [{{{6}}} {{{5}}}]  
     | [{{{6}}} {{{5}}}]  
     | {{{5}}}  
     | {{{5}}}  
     }} –  
     }} {{#if: {{{7|}}}
   }} {{#if: {{{7|}}}  
    | <nowiki />
   | {{{7}}},
    | {{#if: {{{8|}}}{{{9|}}} | <br /> }}
   }} {{{9|}}} {{#if: {{{8|}}}  
    }}
  | {{{8}}}  
  | {{#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