Template:Param/doc

From Valve Developer Community
< Template:Param
Revision as of 07:36, 29 April 2023 by 結衣 (talk | contribs) (Restore revision 230179 by Deprecated (talk): see revision 301898 of Template:Param)
Jump to navigation Jump to search
Edit-copy.png
This is a documentation subpage for Template:Param.
Don't forget to purge the contents of the base page upon creating or editing this subpage.

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

Usage

{{param|foo}}{{{foo}}}
{{param|foo|tag=kbd}}{{{foo}}}
{{param|foo|bar}}{{{foo|bar}}}
{{param|foo|{{param|bar|nested=yes}}}}{{{foo|{{{bar}}}}}}
{{param|foo|{{param|bar|{{param|baz|derp|nested=yes}}|nested=yes}}}}{{{foo|{{{bar|{{{baz|derp}}}}}}}}}