Template:CalendarEvent: Difference between revisions

From Pirate Party Belgium
Jump to navigation Jump to search
(space between address and tags)
(icon location + no time => no space)
Line 1: Line 1:
<includeonly><div style="overflow:hidden;">{{CalendarDate|{{{?Has date}}}|{{{?Has time|}}}}}
<includeonly><div style="overflow:hidden;">{{CalendarDate|{{{?Has date}}}|{{{?Has time|}}}}}
<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>{{#if: {{{?Has location|}}}
  <div style="font-size:small;">{{{?Has location|}}}</div>{{#if: {{{?Organized by|}}}{{{?In topic|}}}
| <div style="font-size:small;">[[File:Simpleicons Places placeholder-tool.svg|x15px|link=]] {{{?Has location}}}</div>
| <br /><div style="font-size:small;>Tags: {{#arraymap:{{{?Organized by|}}},{{{?In topic|}}}|,|x|[[x|{{ShowTitle|x}}]]}}</div>  
}}{{#if: {{{?Organized by|}}}{{{?In topic|}}}
| {{#if: {{{?Has time|}}} | <br /> }}<div style="font-size:small;>Tags: {{#arraymap:{{{?Organized by|}}},{{{?In topic|}}}|,|x|[[x|{{ShowTitle|x}}]]}}</div>  
}}
}}
</div></div></includeonly><noinclude>== Usage ==
</div></div></includeonly><noinclude>== Usage ==

Revision as of 16:41, 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}}}]]