Template:CalendarEvent: Difference between revisions

From Pirate Party Belgium
Jump to navigation Jump to search
(Created page with "<includeonly><div style="overflow:hidden;">{{CalendarDate|{{{?Has date}}}|{{{?Has time|}}}}} <div style="margin:0 .75em 6.5px 0; padding: 0 .6em;"> <div style="font-weight:b...")
 
No edit summary
Line 2: Line 2:
<div style="margin:0 .75em 6.5px 0; padding: 0 .6em;">
<div style="margin:0 .75em 6.5px 0; padding: 0 .6em;">
   <div style="font-weight:bold;">{{NamedLink|{{{?Has page}}}|{{{?Has title|}}}}}</div>
   <div style="font-weight:bold;">{{NamedLink|{{{?Has page}}}|{{{?Has title|}}}}}</div>
   <div style="font-size:small;">{{{?Has location|}}}</div>{{#if: {{{?Organized by|}}}  
   <div style="font-size:small;">{{{?Has location|}}}</div>{{#if: {{{?Organized by|}}}{{{?In topic|}}}
| <div style="font-size:small;>Organized by {{#arraymap:{{{?Organized by}}}|,|x|[[x|{{ShowTitle|x}}]]}}</div>
| <div style="font-size:small;>Tags: {{#arraymap:{{{?Organized by|}}},{{{?In topic|}}}|,|x|[[x|{{ShowTitle|x}}]]}}</div>  
}}{{#if: {{{topics|}}}
| <div style="font-size:small; font-style:italic;">In {{#arraymap:{{{?In topic|}}}|,|x|[[x|{{ShowTitle|x}}]]}}</div>
}}
}}
</div></div></includeonly><noinclude>== Usage ==
</div></div></includeonly><noinclude>== Usage ==
Line 21: Line 19:
== Example ==
== Example ==


{{#ask: [[WikiSquad/Meeting/23 09 2017]]
{{#ask: [[Has event type::External]] [[Organized by::Crew BW]] [[Has date::~2017/10/01]]
| ?Has page
| ?Has page
| ?Has date
| ?Has date

Revision as of 16:07, 28 September 2017

Usage

{{CalendarEvent
| ?Has page = <!-- mandatory -->
| ?Has title =
| ?Has date =  <!-- mandatory -->
| ?Has time =
| ?Organized by =
| ?Has location =
| ?In topic = 
}}

Example

<time datetime="Error: Invalid time." class="date">
Error: Invalid time.
Error: Invalid time.
Error: Invalid time.
 
[[{{{?Has page}}}]]