Template:Event/doc2: Difference between revisions

From tango.info wiki
Jump to navigation Jump to search
No edit summary
Line 34: Line 34:
[[category:canceled]]
[[category:canceled]]
<tr>
<tr>
  <td>'''STATUS'''</td>
  <th>STATUS</th>
  <td>'''CLOSED'''</td>
  <td>'''CLOSED'''</td>
</tr>
</tr>
}}
}}
{{#if:{{{event_name|}}} |  
{{#if:{{{event_name|}}} |  
<tr>
<tr>
  <td>'''Name'''</td>
  <th>Name</th>
  <td>'''{{{event_name}}}'''</td>
  <td>'''{{{event_name}}}'''</td>
</tr>
</tr>
}}
}}
{{#if:{{{un_locode|}}} |
{{#if:{{{un_locode|}}} |
<tr>
<tr>
  <td> '''[[UN/LOCODE|City code]]'''</td>
  <th>[[UN/LOCODE|City code]]</th>
  <td>[[:category:{{{un_locode}}}|{{{un_locode}}}]]</td>
  <td>[[:category:{{{un_locode}}}|{{{un_locode}}}]]</td>
</tr>
</tr>
}}
}}
<tr>
<tr>
  <td style="width:100px;">'''Time'''</td>
  <th style="width:100px;">Time</th>
  <td>{{#if:{{{time_start|}}} | From '''{{{time_start}}}''' }} {{#if:{{{time_end|}}} | Until '''{{{time_end}}}''' }}</td>
  <td>{{#if:{{{time_start|}}} | From '''{{{time_start}}}''' }} {{#if:{{{time_end|}}} | Until '''{{{time_end}}}''' }}</td>
</tr>
</tr>
{{#if:{{{venue_name|}}} |  
{{#if:{{{venue_name|}}} |  
<tr>
<tr>
  <td>'''Venue name'''</td>
  <th>Venue name</th>
  <td>'''[[{{{venue_name}}}]]'''</td>
  <td>'''[[{{{venue_name}}}]]'''</td>
</tr>
</tr>
Line 70: Line 64:
{{#if:{{{address|}}} |
{{#if:{{{address|}}} |
<tr>
<tr>
  <td>'''Address'''</td>
  <th>Address</th>
  <td>'''[http://maps.google.com/?q={{urlencode:{{{address}}}}} {{{address}}}]'''</td>
  <td>'''[http://maps.google.com/?q={{urlencode:{{{address}}}}} {{{address}}}]'''</td>
</tr>
</tr>
Line 78: Line 72:
{{#if:{{{music_by|}}} |  
{{#if:{{{music_by|}}} |  
<tr>
<tr>
  <td>'''Music by'''</td>
  <th>Music by</th>
  <td>'''{{{music_by}}}'''</td>
  <td>'''{{{music_by}}}'''</td>
</tr>
</tr>
Line 85: Line 79:
{{#if:{{{price|}}} |
{{#if:{{{price|}}} |
<tr>
<tr>
  <td>'''Price'''</td>
  <th>Price</th>
  <td>'''{{{price}}}'''</td>
  <td>'''{{{price}}}'''</td>
</tr>
</tr>
Line 92: Line 86:
{{#if:{{{event_phone|}}} |  
{{#if:{{{event_phone|}}} |  
<tr>
<tr>
  <td>'''Contact Phone'''</td>
  <th>Contact Phone</th>
  <td>'''{{{event_phone}}}'''</td>
  <td>'''{{{event_phone}}}'''</td>
</tr>
</tr>
}}
}}
{{#if:{{{event_email|}}} |
{{#if:{{{event_email|}}} |
<tr>
<tr>
  <td>'''Email'''</td>
  <th>Email</th>
  <td>'''mailto:{{{event_email}}}'''</td>
  <td>'''mailto:{{{event_email}}}'''</td>
</tr>
</tr>
}}
}}
{{#if:{{{event_link|}}} |
{{#if:{{{event_link|}}} |
<tr>
<tr>
  <td>'''Link'''</td>
  <th>Link</th>
  <td>'''{{{event_link}}}'''</td>
  <td>'''{{{event_link}}}'''</td>
</tr>
</tr>
}}
}}
</table></div>
</table></div>

Revision as of 2009-04-11T17:35:19


This is under construction

See also http://wiki.tango.info/w/mul/index.php?title=Special:WhatLinksHere/Template:milonga&hideredirs=1&hidelinks=1

Usage

  • Copy and paste the {{milonga ...}} block in your milonga page, then fill in the requested fields in your milonga page.
{{milonga
|event_name =
|time_start =
|time_end   =
|un_locode  =
|venue_name =
|music_by   =
|price      =
|address    =
|event_phone=
|event_email=
|event_link =
}}

Presentation

The information contained in the {{milonga ...}} block will be presented by this template as follows:

Info displayed by Template:milonga (under construction)
Time