Template:Braces/doc

From Wikibooks, open books for an open world
Jump to navigation Jump to search
  • This template returns the first unnamed parameter in double braces. To be used to demonstrate template code without the need for clunky nowiki'ing. Further unnamed parameters (up to 8 more) can be used without worrying for pipes.
  • An alternative is to use {{foo}}.
options parameters
  • Set |code="on", "true", etc to switch the font used to the HTML <code>-style monospaced font.

 

  • To improve legibility, {{thinsp}}aces are inserted either side of any pipe characters ("|") displayed by the template.

 

See w:Template:Braces for examples and see also's!
Ported as an integral subtemplate, using {{void}} to bypass some of the usage here...
Just too many other templates used in this writeup for my time budget today! FrankB 14:18, 30 September 2014 (UTC)