Jump to content

User:Rich Farmbrough/Curly brackets

From Wikipedia, the free encyclopedia

Number of curly brackets and behaviour : with or without pipe, when transcluded, when there is such parameter

   * 0 or 1 - plain text
   * 2 as a template
   * 3 as a parameter
   * 4 as a parameter surrounded by {}
   * 5 as a template called whatever the value of the parameter is
   * 6 as a second parameter called whatever the value of the first parameter is
   * 7 as a second parameter called whatever the value of the first parameter is surrounded by {}
   * 8 as a second parameter called whatever the value of the first parameter is surrounded by {{}}
   * 9 as a second parameter called whatever the value of the first parameter is surrounded by {{{}}}
   * 10 as a second parameter called whatever the value of the first parameter is surrounded by {{{{}}}}
rftest1

   1. {rftest1}
   2. Template
   3. rftest3
   4. {rftest3}
   5. Contents of rftest3
   6. rftest4
   7. {rftest4}
   8. {{rftest4}}
   9. {{{rftest4}}}
  10. {{{{rftest4}}}}

rftest1|default

   1. {rftest1|default}
   2. Template
   3. rftest3
   4. {rftest3}
   5. Contents of rftest3
   6. rftest4
   7. {rftest4}
   8. {{rftest4}}
   9. {{{rftest4}}}
  10. {{{{rftest4}}}}