Escape accolade/complex
This is a more complex scenario/copy of escaped {. Now we use a string (phrase) which would break the parser function syntax.
Curly braces can't be used in parser functions like 'set' (or 'var'). Escaping them gives issues in different result formats.
In most cases, the 'nowiki'-tag is shown, wrapped around the full value (while it is only used at the end). Expected behaviour: the nowiki-tag is not shown.
- Accolade {{#set:Has text=-{[a]b}c}}
- HTML character entity reference -
- nowiki -
- template curly bracket in it -
- -{[a]b}semantic link
{{DISPLAYTITLE:-{[a]b}c}}
default-result (broadtable)[modifier | modifier le wikicode]
Has text | |
---|---|
Escape accolade/complex | -{[a]b}html character entity <nowiki>-{[a]b}nowiki</nowiki> -{[a]b}template -{[a]b}semantic link |
ul[modifier | modifier le wikicode]
- Escape accolade/complex (Has text: -{[a]b}html character entity
<nowiki>-{[a]b}nowiki</nowiki>
-{[a]b}template
-{[a]b}semantic link)
Verify it's not the valuesep=br, by ommitting it:
- Escape accolade/complex (Has text: -{[a]b}html character entity, <nowiki>-{[a]b}nowiki</nowiki>, -{[a]b}template, -{[a]b}semantic link)
ol[modifier | modifier le wikicode]
- Escape accolade/complex (Has text: -{[a]b}html character entity
<nowiki>-{[a]b}nowiki</nowiki>
-{[a]b}template
-{[a]b}semantic link)
plainlist[modifier | modifier le wikicode]
Escape accolade/complex (Has text: -{[a]b}html character entity
<nowiki>-{[a]b}nowiki</nowiki>
-{[a]b}template
-{[a]b}semantic link)
list[modifier | modifier le wikicode]
Escape accolade/complex (Has text: -{[a]b}html character entity
<nowiki>-{[a]b}nowiki</nowiki>
-{[a]b}template
-{[a]b}semantic link)
csv[modifier | modifier le wikicode]
In CSV the displaytitle is not taken into account; the value for page name is the full page name.
rdf[modifier | modifier le wikicode]
In RDF-XML and RDF Turtle the displaytitle is ignored. The html character entity code is not decoded. The 'nowiki' tag is preserved.
json[modifier | modifier le wikicode]
In JSON, the html entity character entity is not parsed and nowiki is shown *and* used. Also in the value for 'displaytitle'.