Changes between Version 1 and Version 2 of Ticket #8071
- Timestamp:
- 2012-09-17T22:11:14+02:00 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #8071 – Description
v1 v2 1 1 This works: 2 2 3 4 {{{ 3 5 text: rcn_ref; 6 }}} 7 4 8 or: 9 10 {{{ 5 11 text: tag(rcn_ref); 12 }}} 13 6 14 7 15 When the name tag is present, this also works: 8 16 17 18 {{{ 9 19 text: concat(tag(rcn_ref), " ", tag(name)); 20 }}} 21 10 22 11 23 Without a name tag, no text is shown, though. … … 13 25 So I tried this: 14 26 27 28 {{{ 15 29 text: name?rcn_ref:concat(tag(rcn_ref), " ", tag(name)); 30 }}} 31 16 32 17 33 and this: 18 34 35 36 {{{ 19 37 text: cond(name,rcn_ref,concat(tag(rcn_ref), " ", tag(name))); 38 39 }}} 20 40 21 41 Would it be possible to simply add a blank string in concat() if the tag is not available. … … 23 43 That would be the most intuitive. 24 44 45 cond() doesn't work as I would expect it either. 46 25 47 Polyglot


