Template:Event/doc1: Difference between revisions

From tango.info wiki
Jump to navigation Jump to search
Line 37: Line 37:
  chars = 2+1 +2+1 +32 = 38 //less good for search engines
  chars = 2+1 +2+1 +32 = 38 //less good for search engines
  e.g. m3 de roter salon berlin
  e.g. m3 de roter salon berlin
'''C'''
<numeric weekday> milonga <country code [alpha-2]> <description [32char]>
chars = 1+1 +7+1 +2+1 +32 = 45
e.g. 3 milonga de roter salon berlin


Other data which is harder to compress and maybe less stable goes into [[template:milonga]]. Coordinates are typically stable but one article creation there may be errors.
Other data which is harder to compress and maybe less stable goes into [[template:milonga]]. Coordinates are typically stable but one article creation there may be errors.


Seasonal milongas (outdoor) should have start year in the title and the end date in the template.
Seasonal milongas (outdoor) should have start year in the title and the end date in the template.

Revision as of 2009-03-07T10:16:53

This is the documentation for creating an event of type 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 40 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

Proposal 2

Stores more data in the title. Since page renaming is disabled only stable data shopuld 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.

A
milonga <numeric weekday> <country code [alpha-2]> <description [32char]>
chars = 7+1 +1+1 +2+1 +32 = 45
e.g. milonga 3 de roter salon berlin
B
m<numeric day of week> <country code [alpha-2]> <description [32char]>
chars = 2+1 +2+1 +32 = 38 //less good for search engines
e.g. m3 de roter salon berlin
C
<numeric weekday> milonga <country code [alpha-2]> <description [32char]>
chars = 1+1 +7+1 +2+1 +32 = 45
e.g. 3 milonga de roter salon berlin

Other data which is harder to compress and maybe less stable goes into template:milonga. Coordinates are typically stable but one article creation there may be errors.

Seasonal milongas (outdoor) should have start year in the title and the end date in the template.