Difference between revisions of "Template:UnnamedParmDoc"

From ISFDB
Jump to navigation Jump to search
m
m
 
Line 1: Line 1:
When using an unnamed (positional) parameter, it should '''NOT''' be the last thing on the line. It should be followed by either a pipe symbol (<code>|</code>) if there is another parameter to follow, or by the template call close (<code><nowiki>}}</nowiki></code>) if there is not. Otherwise the parameter value will be passes including the carriage return at the end of the line, which will probably cause the template to function incorrectly.
+
When using an unnamed (positional) parameter, it should '''NOT''' be the last thing on the line. It should be followed by either a pipe symbol (<code>|</code>) if there is another parameter to follow, or by the template call close (<code><nowiki>}}</nowiki></code>) if there is not. Otherwise the parameter value will be passed as including the carriage return at the end of the line, which will probably cause the template to function incorrectly.

Latest revision as of 19:08, 30 August 2010

When using an unnamed (positional) parameter, it should NOT be the last thing on the line. It should be followed by either a pipe symbol (|) if there is another parameter to follow, or by the template call close (}}) if there is not. Otherwise the parameter value will be passed as including the carriage return at the end of the line, which will probably cause the template to function incorrectly.