Template:Event/doc2: Difference between revisions

From tango.info wiki
Jump to navigation Jump to search
Line 37: Line 37:
{{#if:{{{event_name|}}} |  
{{#if:{{{event_name|}}} |  
<tr>
<tr>
  <td> '''Name''' </td>
  <td>'''Name'''</td>
  <td>'''{{{event_name}}}'''</td>
  <td>'''{{{event_name}}}'''</td>
</tr>
</tr>
Line 55: Line 55:
  </td>
  </td>
</tr>
</tr>
{{#if:{{{venue_name|}}} |
<tr>
<tr>
  <td>
  <td>'''Venue name'''</td>
{{#if:{{{venue_name|}}} | '''Venue name''' }}
<td>'''[[{{{venue_name}}}]]'''</td>
</td><td>
{{#if:{{{venue_name|}}} | '''[[{{{venue_name}}}]]''' }}
</td>
</tr>
</tr>
}}
{{#if:{{{address|}}} |
<tr>
<tr>
  <td>
  <td>'''Address'''</td>
{{#if:{{{address|}}} | '''Address''' }}
<td>'''[http://maps.google.com/?q={{urlencode:{{{address}}}} {{{address}}}]'''</td>
</td><td>
{{#if:{{{address|}}} | '''[http://maps.google.com/?q={{urlencode:{{{address}}}}} {{{address}}}]''' }}
</td>
</tr>
</tr>
}}
<tr>
<tr>
  <td>
  <td>
Line 76: Line 79:
  </td>
  </td>
</tr>
</tr>
{{#if:{{{price|}}} |
<tr>
<tr>
  <td>
  <td>'''Price'''</td>
{{#if:{{{price|}}} | '''Price''' }}
<td>'''{{{price}}}'''</td>
</td><td>
{{#if:{{{price|}}} | '''{{{price}}}''' }}
</td>
</tr>
</tr>
}}
<tr>
<tr>
  <td>
  <td>

Revision as of 2009-04-02T22:55:56


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)

{{#if: |

Time

Address [http://maps.google.com/?q=%7B%7B%7Baddress%7D%7D%7D%7D+%7B%7B%7Baddress%7D%7D%7D%5D%27%27%27%3C%2Ftd%3E%0A%3C%2Ftr%3E