Author: van.de.bugger
Description:
Actual problem in SemanticMaps, but decision should be made on SemanticMediaWiki level; so I am setting Component' to SemanticMediaWiki'. Later we can change it to `SemanticMaps'.
{{ #ask: ...
mainlabel = - ?Waypoint id ?Location no ?Location title ?Coordinates ?Description format = ol (or ul' or template') template = test }}
Template `test' receives arguments:
1 = Waypoint id
2 = Location no
3 = Location title
4 = Coordinates
5 = Description
If I change format to map', template test' receives arguments:
1 = Location no
2 = Location title
3 = Description
This makes switching between different type of representation quite hard. I strongly believe template should receive the exactly same list of positional arguments regardless of used format. I know that map' printer handles Coordinates and passes to template two named arguments latitude' and `longitude' -- that's completely ok; but I do not see reason for changing positional arguments.
If you agree with idea that template should receive the same list of positional arguments regardless of format, I will try to prepare a patch.
Version: unspecified
Severity: normal