Template:JsonEscape: Difference between revisions

json escape text
 
m Protected "Template:JsonEscape": High use template ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#dplreplace: {{#replace:{{{1|}}}|"|\"}} | /\[\[([^\]]+)\]\]([A-Za-z]*)/ | (link to \1\2 article) }}</includeonly><noinclude>{{documentation}}</noinclude>
<includeonly>{{#iferror: {{#replace: {{#dplreplace: {{#dplreplace: {{#replace:{{{1|}}}|"|\"}} | /\[\[([^\]\{{!}}]+)\{{!}}([^\]]+)\]\]([a-z]*)/ | (link to \1 article, displayed as \2\3) }} | /\[\[([^\]]+)\]\]([a-z]*)/ | (link to \1 article, displayed as \1\2) }} | <nowiki/>
<nowiki/> | \n }}|(values exceeds 1000 characters...)}}</includeonly><noinclude>{{documentation}}</noinclude>