Template:Event/doc2: Difference between revisions

From tango.info wiki
Jump to navigation Jump to search
Line 34: Line 34:
<small>Info displayed by [[Template:milonga]] (under construction)</small>
<small>Info displayed by [[Template:milonga]] (under construction)</small>
{{#if: {{{un_locode|}}}|[[category:{{{un_locode}}}]]}}
{{#if: {{{un_locode|}}}|[[category:{{{un_locode}}}]]}}
{| class="wikitable"
<table class="wikitable">
<tr>
<tr>
  <td>
  <td>
Line 43: Line 43:
</tr>
</tr>
<tr>
<tr>
| {{#if:{{{un_locode|}}} | '''[[UN/LOCODE|City code]]''' }}
<td>
| {{#if:{{{un_locode|}}} | [[:category:{{{un_locode}}}|{{{un_locode}}}]] }}
{{#if:{{{un_locode|}}} | '''[[UN/LOCODE|City code]]''' }}
</td><td>
{{#if:{{{un_locode|}}} | [[:category:{{{un_locode}}}|{{{un_locode}}}]] }}
</td>
</tr>
</tr>
<tr>
<tr>
| '''Time'''
<td>
| {{#if:{{{time_start|}}} | From '''{{{time_start}}}''' }} {{#if:{{{time_end|}}} | Until '''{{{time_end}}}''' }}  
'''Time'''
</td><td>
{{#if:{{{time_start|}}} | From '''{{{time_start}}}''' }} {{#if:{{{time_end|}}} | Until '''{{{time_end}}}''' }}  
</td>
</tr>
</tr>
<tr>
<tr>
| {{#if:{{{venue_name|}}} | '''Venue name''' }}
<td>
| {{#if:{{{venue_name|}}} | '''[[{{{venue_name}}}]]''' }}
{{#if:{{{venue_name|}}} | '''Venue name''' }}
</td><td>
{{#if:{{{venue_name|}}} | '''[[{{{venue_name}}}]]''' }}
</td>
</tr>
</tr>
<tr>
<tr>
| {{#if:{{{address|}}} | '''Address''' }}
<td>
| {{#if:{{{address|}}} | '''[http://maps.google.com/?q={{urlencode:{{{address}}}}} {{{address}}}]''' }}
{{#if:{{{address|}}} | '''Address''' }}
</td><td>
{{#if:{{{address|}}} | '''[http://maps.google.com/?q={{urlencode:{{{address}}}}} {{{address}}}]''' }}
</td>
</tr>
</tr>
<tr>
<tr>
| {{#if:{{{music_by|}}} | '''Music by''' }}
<td>
| {{#if:{{{music_by|}}} | '''{{{music_by}}}''' }}
{{#if:{{{music_by|}}} | '''Music by''' }}
</td><td>
{{#if:{{{music_by|}}} | '''{{{music_by}}}''' }}
</td>
</tr>
</tr>
<tr>
<tr>
| {{#if:{{{price|}}} | '''Price''' }}
<td>
| {{#if:{{{price|}}} | '''{{{price}}}''' }}
{{#if:{{{price|}}} | '''Price''' }}
</td><td>
{{#if:{{{price|}}} | '''{{{price}}}''' }}
</td>
</tr>
</tr>
<tr>
<tr>
| {{#if:{{{event_phone|}}} | '''Contact Phone''' }}
<td>
| {{#if:{{{event_phone|}}} | '''{{{event_phone}}}''' }}
{{#if:{{{event_phone|}}} | '''Contact Phone''' }}
</td><td>
{{#if:{{{event_phone|}}} | '''{{{event_phone}}}''' }}
</tr>
</tr>
<tr>
<tr>
| {{#if:{{{event_email|}}} | '''Email''' }}
{{#if:{{{event_email|}}} | '''Email''' }}
| {{#if:{{{event_email|}}} | '''mailto:{{{event_email}}}''' }}
</td><td>
{{#if:{{{event_email|}}} | '''mailto:{{{event_email}}}''' }}
</td>
</tr>
</tr>
<tr>
<tr>
| {{#if:{{{event_link|}}} | '''Link''' }}
<td>
| {{#if:{{{event_link|}}} | '''{{{event_link}}}''' }}
{{#if:{{{event_link|}}} | '''Link''' }}
|}
</td><td>
{{#if:{{{event_link|}}} | '''{{{event_link}}}''' }}
</table>
</div>
</div>

Revision as of 2009-04-02T22:43:17


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