Template:Event/doc1: Difference between revisions

From tango.info wiki
Jump to navigation Jump to search
No edit summary
Line 24: Line 24:
                 //see [[add_event]], where the description should  
                 //see [[add_event]], where the description should  
                 //contain the milonga article name, or the [[wiki page id]]
                 //contain the milonga article name, or the [[wiki page id]]
==Proposal 2==
Stores more data in the title. Since page renaming is disabled only stable data should go into title. Location and day of week are ''typically'' stable. Milongas that are not stable in that respect could use single event registration: [[add_event]].
Other data which is harder to compress and maybe less stable goes into [[template:milonga]]. Coordinates are typically stable but on article creation there may be errors.
* datetime
** Weekday numbers according to [[ISO 8601]], 1 = monday ... 7 = sunday
** Repetition numbers : see [[tango.info weekday repetition]]
* summary - could go into the [[iCal]] summary field
* location
** in title - [[alpha-2 country code]] or [[ISO 3166-2]] subdivision code or [[UN/LOCODE]] city code
** in template - allow more specific, e.g. coordinates
'''milonga 7 cc summary'''
milonga <numeric weekday> <country code [alpha-2]> <summary [24char]>
chars = 7+1 +1+1 +2+1 +24 = 37
e.g. milonga 3 de roter salon berlin
'''m7 cc summary'''
m<numeric day of week> <country code [alpha-2]> <summary [24char]>
chars = 2+1 +2+1 +24 = 30 //less good for search engines
e.g. m3 de roter salon berlin
'''7 milonga cc summary'''
<numeric weekday> milonga <country code [alpha-2]> <summary [24char]>
chars = 1+1 +7+1 +2+1 +24 = 37
e.g. 3 milonga de roter salon berlin
'''7 cc m summary'''
<numeric weekday> milonga <country code [alpha-2]> <summary [24char]>
chars = 1+1 +2+1 +1+1 +24 = 31
e.g. 3 de m roter salon berlin
Seasonal milongas (outdoor) should have start year in the title and the end date in the template.
possible similiar notations
tango.info/3m-38n40w-30km - milongas wednesday 30km around 38 N 40 W

Revision as of 2009-03-08T00:12:45

This template should be used with articles that have the title formed according to tango.info milonga

Proposal 1

Article title should be "Milonga [A-Za-z0-9]", i.e. start with the word Milonga in uppercase, followed by a space, followed by some description. The description can have maximum 32 characters.

Template:milonga

|name        = //if not filled uses article title
|day         = //1 = monday, 2 = tuesday, 3 = wednesday ....
|week        = //8 = every week, 6 = even week, 7 = odd week
|time_start  = //HH:MM local time
|time_end    = //HH:MM local time
|country     =
|un_locode   = 
|geo_lat     = //decimal
|geo_lon     = //decimal
|url         = //other name: link? website?

to discuss

|status      = //e.g. closed, or better closed = yes?
|not         = //dates where it does _not_ occur, 
               //but maybe better handled via single events, 
               //see add_event, where the description should 
               //contain the milonga article name, or the wiki page id