[RESOLVED] What does a pipe do at the end of a parameter?

Jump to: navigation, search

There's no documentation of the difference between

{{{parameter}}}

and

{{{parameter|}}}

What does the pipe do?

Badon20:13, 28 July 2011

Whatever is placed after the pipe becomes the default value if the parameter is not passed to the template. There are some subtleties around it; you may find it helpful to translate to English the page Help:Parser functions in templates/pt (I'll get this done someday).

Hamilton Abreu22:55, 28 July 2011
 

Whatever is placed after the pipe becomes the default value if the parameter is not passed to the template. There are some subtleties around it; you may find it helpful to translate to English the page Help:Parser functions in templates/pt (I'll get this done someday).

Hamilton Abreu22:55, 28 July 2011

Thanks!

Badon00:14, 29 July 2011
 
 
Personal tools

Variants
Actions
Navigation
Support
Download
Development
Communication
Toolbox