Changes between Version 1 and Version 2 of Ticket #8071


Ignore:
Timestamp:
2012-09-17T22:11:14+02:00 (13 years ago)
Author:
Polyglot
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #8071 – Description

    v1 v2  
    11This works:
    22
     3
     4{{{
    35text: rcn_ref;
     6}}}
     7
    48or:
     9
     10{{{
    511text: tag(rcn_ref);
     12}}}
     13
    614
    715When the name tag is present, this also works:
    816
     17
     18{{{
    919text: concat(tag(rcn_ref), " ", tag(name));
     20}}}
     21
    1022
    1123Without a name tag, no text is shown, though.
     
    1325So I tried this:
    1426
     27
     28{{{
    1529text: name?rcn_ref:concat(tag(rcn_ref), " ", tag(name));
     30}}}
     31
    1632
    1733and this:
    1834
     35
     36{{{
    1937text: cond(name,rcn_ref,concat(tag(rcn_ref), " ", tag(name)));
     38
     39}}}
    2040
    2141Would it be possible to simply add a blank string in concat() if the tag is not available.
     
    2343That would be the most intuitive.
    2444
     45cond() doesn't work as I would expect it either.
     46
    2547Polyglot