Template:Para/doc

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Not to be confused with Template:Paragraph break or Template:Param.

Usage

This template is for giving examples of template parameter source code (useful in template documentation and talk page discussions of template code). It must have one or two parameters. When both are given, the first is the name of the example parameter name to display, and the second one is the value. For an unnamed example parameter, you only need to give the value parameter.

Examples

Script error: No such module "aligned table".

When illustrating hypothetical, variable or user-definable values, use Template:Plaincode (as in the second example above) and the same should be done for non-literal, example parameters (third example above).

See also

  • {{Param}}
  • {{Tlx}}, for providing examples of entire-template[?] code including parameters.

Template:Tl-nav