Template:Event/doc2: Difference between revisions

From tango.info wiki
Jump to navigation Jump to search
 
(107 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
[[category:milongas|*]]
[[category:Milonga|*]]


See also
'''This is under construction'''
http://wiki.tango.info/w/mul/index.php?title=Special:WhatLinksHere/Template:milonga&hideredirs=1&hidelinks=1
 
* [[TangoSud Project]] - created the template


==Usage==
==Usage==
*Copy and paste the <b><i><nowiki>{{milonga ...}}</nowiki> block</i></b> in your milonga page, then fill in the requested fields in your milonga page.
*Copy and paste the <b><i><nowiki>{{event...}}</nowiki> block</i></b> in your milonga page, then fill in the requested fields in your milonga page.


 
  <nowiki>{{</nowiki>event
 
|summary    =
  <nowiki>{{</nowiki>milonga
|time_start =
  |name      =
  |time_end  =
  |un_locode =
  |status    =
  |venue_name=
  |venue_name =
  |music by =
  |address    =
  |price     =
  |music_by  =
  |phone    =
  |price     =
  |link      =
  |event_phone=
  |calendar  =
  |event_email=
  |event_link =
  <nowiki>}}</nowiki>
  <nowiki>}}</nowiki>


==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>
</noinclude><includeonly>[[category:milongas]]</includeonly>{{event|categories=milonga
[[category:milongas]]
|status={{#if:{{{status|}}} |{{{status}}}}}
<div style="background-color:#eeeeee">
|summary={{#if:{{{summary|}}} |{{{summary}}}}}
This template is only a test. If you created an event, don't care what it currently displays.
|time_start={{#if:{{{time_start|}}} |{{{time_start}}}}}
{{#if: {{{un_locode|}}}|[[category:{{{un_locode}}}]]}}
|time_end={{#if:{{{time_end|}}} |{{{time_end}}}}}
{| class="wikitable"
|date_start={{#if:{{{date_start|}}} |{{{date_start}}}}}
|-
|date_end={{#if:{{{date_end|}}} |{{{date_end}}}}}
|'''Name'''
|venue_name={{#if:{{{venue_name|}}} |{{{venue_name}}}}}
|'''{{{name|''Name of the milonga or practica''}}}'''
|address={{#if:{{{address|}}} |{{{address}}}}}
|-
|price={{#if:{{{price|}}} |{{{price}}}}}
| {{#if:{{{un_locode|}}} | '''[[UN/LOCODE|City code]]'''
|event_phone={{#if:{{{event_phone|}}} |{{{event_phone}}}}}
|event_email={{#if:{{{event_email|}}} |{{{event_email}}}}}
|event_comment={{#if:{{{event_comment|}}} |{{{event_comment}}}}}
|event_link={{#if:{{{event_link|}}} |{{{event_link}}}}}
}}
}}
| {{#if:{{{un_locode|}}} | [[:category:{{{un_locode}}}|{{{un_locode}}}]]
}}
|-
|'''Venue name'''
|[[{{{venue_name|''give the title of the venue page where the milonga takes place''}}}]]
|-
|'''Music by'''
|{{{music by|''give the name of the DJ(s)''}}}
|-
| '''Entrance Fee'''
|{{{fee with currency|''give the entrance fee and the currency (EUR, USD,..)''}}}
|-
|'''Contact Phone'''
| {{{phone|''give the contact phone for this milonga''}}}
|-
|'''Date and time (one line per event)'''
|{{{calendar|''example:&lt;br />2008-10-25 20:30--01:00&lt;br />2008-11-01 20:30--01:00''}}}
|}
<div align="right"><small>Presented by [[Template:milonga]] (under construction, see [[TangoSud Project]])</small></div>
</div>

Latest revision as of 2013-06-13T03:55:35


This is under construction

Usage

  • Copy and paste the {{event...}} block in your milonga page, then fill in the requested fields in your milonga page.
{{event
|summary    =
|time_start =
|time_end   =
|status     =
|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 milonga
STATUS
SUMMARY
COMMENT
Wiki Info display by Template:event