Template:Param

Innen: Valve Developer Community
Ugrás a navigációhoz Ugrás a kereséshez
English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)
Icon-translate.png Available doc translations
Info.png
The Template:Param/doc/hu documentation page does not exist.
English documentation will be displayed instead, which you can translate using Google Translate (or similar software). If there is nothing after this message, most likely the documentation does not exist even in English.

This template is for giving examples of template parameter source code which is useful in template documentation and talk page discussions of template code.

Parameters and Examples

Parameters Leírás Példák Előnézet
{{{1}}} Parameter name. Displays the number 1 by default, and also if the parameter is empty.

The parameter name is highlighted in white, and also uses the CSS property user-select: all, to quickly copy the parameter name.

{{Param}}
{{Param|}}
{{Param|type}}
{{{1}}}
{{{1}}}
{{{type}}}
{{{2}}} The text to be inserted after the parameter name and the pipe symbol (|). Leave blank to display only the pipe symbol.
{{Param||}}
{{Param|color|}}
{{Param|color|initial}}
{{{1|}}}
{{{color|}}}
{{{color|initial}}}

Other Examples

  • {{Param||}}{{{1|}}}
  • {{Param|2=}}{{{1|}}}


  • {{Param||text}}{{{1|text}}}
  • {{Param|2=text}}{{{1|text}}}


  • {{Param|foo}}{{{foo}}}
  • {{Param|foo|bar}}{{{foo|bar}}}
  • {{Param|foo|{{Param|bar}}}}{{{foo|{{{bar}}}}}}
  • {{Param|foo|{{Param|bar|{{Param|baz|derp}}}}}}{{{foo|{{{bar|{{{baz|derp}}}}}}}}}