Template:Event/doc2: Difference between revisions

From tango.info wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:


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


* [[TangoSud Project]] - created the template
* [[TangoSud Project]] - created the template
Line 29: Line 29:
==Presentation==
==Presentation==
The information contained in the <b><i><nowiki>{{milonga ...}}</nowiki> block</i></b> will be presented by this template as follows:
The information contained in the <b><i><nowiki>{{milonga ...}}</nowiki> block</i></b> will be presented by this template as follows:
</noinclude><includeonly>[[category:milongas]]</includeonly>{{#if: {{{un_locode|}}}|[[category:{{{un_locode}}}]]}}<div class="ti_milonga"
</noinclude><includeonly>[[category:milongas]]</includeonly>{{event|event_type=milonga}}
><table class="wikitable"><tr>
<th>Event Type</th>
<td>[[milonga|Milonga]]</td>
</tr>{{#if:{{{status|}}} |
<tr>
<th>Status</th>
<td>{{{status}}}</td>
</tr>
}}
{{#if:{{{event_name|}}} |
<tr>
<th>Event Name</th>
<td>{{{event_name}}}</td>
</tr>
}}
{{#if:{{{un_locode|}}} |
<tr>
<th>[[UN/LOCODE|City code]]</th>
<td>[[:category:{{{un_locode}}}|{{{un_locode}}}]]</td>
</tr>
}}
 
{{#if:{{{time_start|}}} |
<tr>
<th>Time Start</th>
<td>{{{time_start}}}</td>
</tr>
}}
{{#if:{{{time_end|}}} |
<tr>
<th>Time End</th>
<td>{{{time_end}}}</td>
</tr>
}}
 
{{#if:{{{venue_name|}}} |
<tr>
<th>Venue Name</th>
<td>[[{{{venue_name}}}]]</td>
</tr>
}}
 
{{#if:{{{address|}}} |
<tr>
<th>Address</th>
<td>[http://maps.google.com/?q={{urlencode:{{{address}}}}} {{{address}}}]</td>
</tr>
}}
 
 
{{#if:{{{music_by|}}} |
<tr>
<th>Music by</th>
<td>{{{music_by}}}</td>
</tr>
}}
 
{{#if:{{{price|}}} |
<tr>
<th>Price</th>
<td>{{{price}}}</td>
</tr>
}}
 
{{#if:{{{event_phone|}}} |
<tr>
<th>Contact Phone</th>
<td>{{{event_phone}}}</td>
</tr>
}}
{{#if:{{{event_email|}}} |
<tr>
<th>Email</th>
<td>mailto:{{{event_email}}}</td>
</tr>
}}
{{#if:{{{event_link|}}} |
<tr>
<th>Event Link</th>
<td>{{{event_link}}}</td>
</tr>
}}
<tr>
<th>Wiki Info</th>
<td>display by [[Template:milonga]]</td>
</tr>
 
</table></div>

Revision as of 2010-09-25T22:40:16


This is under construction

See also http://www.tango.info/x/wiki/w/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   =
|status     =
|un_locode  =
|venue_name =
|address    =
|music_by   =
|price      =
|event_phone=
|event_email=
|event_link =
}}

Presentation

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

CATEGORIES
STATUS
SUMMARY
COMMENT
Wiki Info display by Template:event