User:OrenBochman/ParserNG/Tests/Test2

Test of nested Inner and Outer Template bahaviour.

  • {{TestOuter|{{TestInner}}}} => Outer Inner {{{1}}}

Note: the unexpansed parameter of inner reamins - but is not expanded by outer...

  • {{TestOuter|{{TestInner}}}} => Outer Inner {{{1}}}
  • {{TestOuter|{{TestInner|"}}" }}}} => Outer Inner "" }}
  • {{TestOuter|{{TestInner|{{|}} }}}} => Outer Inner {{|}}

some attempts tp confuse the parser

  • {{TestOuter|{{TestInner|{{||}} }}}} => Outer Inner {{||}}
  • {{TestOuter|{{TestInner|{{| |}} }}}} => Outer Inner {{| |}}
  • {{TestOuter|{{TestInner|{{{|}|}} }}}} => Inner {{{|}|}} }}
  • {{TestOuter|{{TestInner|{{{| |}}} }}}} => Inner }}
  • {{TestOuter|{{TestInner|{{{|}|}} }}}} => Outer Inner {{{|}|}}


  • DO}I}}LOOK}}}LIKE{{{A{{TEM{PLATE => DO}I}}LOOK}}}LIKE{{{A{{TEM{PLATE
  • DO}I}}LOOK}}}LIKE{{{A{{TEM{PLATE => DO}I}}LOOK}}}LIKE{{{A{{TEM{PLATE
  • DO}I}}LOOK}}}LIKE{{{A{{TEM{PLATE => DO}I}}LOOK}}}LIKE{{{A{{TEM{PLATE

inside template and thier how are do literals behave

  • {{TestOuter|{{TestInner|DO}I}}LOOK}}}LIKE{{{A{{TEM{PLATE }}}}=> Outer Inner DO}ILOOK}LIKE{{{A{{TEM{PLATE }}}}
  • {{TestOuter|{{TestInner|DO}I}}LOOK}}}LIKE{{{A{{TEM{PLATE}}}} => Outer Inner DO}ILOOK}LIKE{{{A{{TEM{PLATE}}}}
  • {{TestOuter|{{TestInner| DO}I}}LOOK}}}LIKE{{{A{{TEM{PLATE }}}}=> Outer Inner DO}ILOOK}LIKE{{{A{{TEM{PLATE }}}}
  • {{TestOuter|{{TestInner| DO}I}}LOOK}}}LIKE{{{A{{TEM{PLATE}}}} => Outer Inner DO}ILOOK}LIKE{{{A{{TEM{PLATE}}}}