Template:Event/doc2: Difference between revisions

From tango.info wiki
Jump to navigation Jump to search
No edit summary
Line 35: Line 35:
{{#if: {{{un_locode|}}}|[[category:{{{un_locode}}}]]}}
{{#if: {{{un_locode|}}}|[[category:{{{un_locode}}}]]}}
{| class="wikitable"
{| class="wikitable"
|-
<tr>
| {{#if:{{{event_name|}}} | '''Name''' }}
<td>
| {{#if:{{{event_name|}}} | '''{{{event_name}}}''' }}
{{#if:{{{event_name|}}} | '''Name''' }}
|-
</td><td>
| {{#if:{{{un_locode|}}} | '''[[UN/LOCODE|City code]]''' }}
{{#if:{{{event_name|}}} | '''{{{event_name}}}''' }}
</tr>
<tr>
<td> {{#if:{{{un_locode|}}} | '''[[UN/LOCODE|City code]]''' }}
| {{#if:{{{un_locode|}}} | [[:category:{{{un_locode}}}|{{{un_locode}}}]] }}
| {{#if:{{{un_locode|}}} | [[:category:{{{un_locode}}}|{{{un_locode}}}]] }}
|-
</tr>
<tr>
| '''Time'''
| '''Time'''
| {{#if:{{{time_start|}}} | From '''{{{time_start}}}''' }} {{#if:{{{time_end|}}} | Until '''{{{time_end}}}''' }}  
| {{#if:{{{time_start|}}} | From '''{{{time_start}}}''' }} {{#if:{{{time_end|}}} | Until '''{{{time_end}}}''' }}  
|-
</tr>
<tr>
| {{#if:{{{venue_name|}}} | '''Venue name''' }}
| {{#if:{{{venue_name|}}} | '''Venue name''' }}
| {{#if:{{{venue_name|}}} | '''[[{{{venue_name}}}]]''' }}
| {{#if:{{{venue_name|}}} | '''[[{{{venue_name}}}]]''' }}
|-
</tr>
<tr>
| {{#if:{{{address|}}} | '''Address''' }}
| {{#if:{{{address|}}} | '''Address''' }}
| {{#if:{{{address|}}} | '''[http://maps.google.com/?q={{urlencode:{{{address}}}}} {{{address}}}]''' }}
| {{#if:{{{address|}}} | '''[http://maps.google.com/?q={{urlencode:{{{address}}}}} {{{address}}}]''' }}
|-
</tr>
<tr>
| {{#if:{{{music_by|}}} | '''Music by''' }}
| {{#if:{{{music_by|}}} | '''Music by''' }}
| {{#if:{{{music_by|}}} | '''{{{music_by}}}''' }}
| {{#if:{{{music_by|}}} | '''{{{music_by}}}''' }}
|-
</tr>
<tr>
| {{#if:{{{price|}}} | '''Price''' }}
| {{#if:{{{price|}}} | '''Price''' }}
| {{#if:{{{price|}}} | '''{{{price}}}''' }}
| {{#if:{{{price|}}} | '''{{{price}}}''' }}
|-
</tr>
<tr>
| {{#if:{{{event_phone|}}} | '''Contact Phone''' }}
| {{#if:{{{event_phone|}}} | '''Contact Phone''' }}
| {{#if:{{{event_phone|}}} | '''{{{event_phone}}}''' }}
| {{#if:{{{event_phone|}}} | '''{{{event_phone}}}''' }}
|-
</tr>
<tr>
| {{#if:{{{event_email|}}} | '''Email''' }}
| {{#if:{{{event_email|}}} | '''Email''' }}
| {{#if:{{{event_email|}}} | '''mailto:{{{event_email}}}''' }}
| {{#if:{{{event_email|}}} | '''mailto:{{{event_email}}}''' }}
|-
</tr>
<tr>
| {{#if:{{{event_link|}}} | '''Link''' }}
| {{#if:{{{event_link|}}} | '''Link''' }}
| {{#if:{{{event_link|}}} | '''{{{event_link}}}''' }}
| {{#if:{{{event_link|}}} | '''{{{event_link}}}''' }}
|}
|}
</div>
</div>

Revision as of 2009-04-02T22:39:22


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