Template:Event/doc2: Difference between revisions

From tango.info wiki
Jump to navigation Jump to search
(=)
 
(73 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
* [[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
  <nowiki>{{</nowiki>milonga
  |summary    =
  |event_name =
  |time_start =
  |time_start =
  |time_end  =
  |time_end  =
  |un_locode  =
  |status    =
  |venue_name =
  |venue_name =
  |music by   =
  |address    =
|music_by   =
  |price      =
  |price      =
|address    =
  |event_phone=
  |event_phone=
  |event_email=
  |event_email=
Line 27: Line 25:
==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
<includeonly>[[category:milongas]]</includeonly>
|status={{#if:{{{status|}}} |{{{status}}}}}
<div style="background-color:#eeeeee">
|summary={{#if:{{{summary|}}} |{{{summary}}}}}
<small>Info displayed by [[Template:milonga]] (under construction)</small>
|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}}}}}
| {{#if:{{{event_name|}}} | '''Name''' }}
|venue_name={{#if:{{{venue_name|}}} |{{{venue_name}}}}}
| {{#if:{{{event_name|}}} | '''[[{{{event_name}}}]]''' }}
|address={{#if:{{{address|}}} |{{{address}}}}}
|-
|price={{#if:{{{price|}}} |{{{price}}}}}
| {{#if:{{{un_locode|}}} | '''[[UN/LOCODE|City code]]''' }}
|event_phone={{#if:{{{event_phone|}}} |{{{event_phone}}}}}
| {{#if:{{{un_locode|}}} | [[:category:{{{un_locode}}}|{{{un_locode}}}]] }}
|event_email={{#if:{{{event_email|}}} |{{{event_email}}}}}
|-
|event_comment={{#if:{{{event_comment|}}} |{{{event_comment}}}}}
| '''Time'''
|event_link={{#if:{{{event_link|}}} |{{{event_link}}}}}
| {{#if:{{{time_start|}}} | From '''{{{time_start}}}''' }} {{#if:{{{time_end|}}} | Until '''{{{time_end}}}''' }}  
}}
|-
| {{#if:{{{venue_name|}}} | '''Venue name''' }}
| {{#if:{{{venue_name|}}} | '''[[{{{venue_name}}}]]''' }}
|-
| {{#if:{{{address|}}} | '''Address''' }}
| {{#if:{{{address|}}} | '''[http://maps.google.com/?q={{urlencode:{{{address}}}}} {{{address}}}]''' }}
|-
| {{#if:{{{music_by|}}} | '''Music by''' }}
| {{#if:{{{music_by|}}} | '''{{{music_by}}}''' }}
|-
| {{#if:{{{price|}}} | '''Price''' }}
| {{#if:{{{price|}}} | '''{{{price}}}''' }}
|-
| {{#if:{{{event_phone|}}} | '''Contact Phone''' }}
| {{#if:{{{event_phone|}}} | '''{{{event_phone}}}''' }}
|-
| {{#if:{{{event_email|}}} | '''Email''' }}
| {{#if:{{{event_email|}}} | '''mailto:{{{event_email}}}''' }}
|-
| {{#if:{{{event_link|}}} | '''Link''' }}
| {{#if:{{{event_link|}}} | '''{{{event_link}}}''' }}
|}
</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