Template:Tc-nameval/doc

From Angelina Jordan Wiki
Revision as of 06:43, 22 June 2024 by Dcljr (talk | contribs) (update)
This is a subpage documenting Template:Tc-nameval. To change the template, edit that page; to change the template's documentation (seen below), edit this one.

Documentation

The name of this template is based on the phrase "template call with name-value pairs".

Usage

  • {{tc-nameval|param 1 name|param 1 value|param 2 name|param 2 value|||add=|sp=}}

Up to 19 named parameters and their corresponding values can be documented using this template. If you need more, or if you want to tack on additional parameters of a different type for some reason, use add.

Examples

  • {{tc-nameval}}{{}}
  • {{tc-nameval|}}{{}}
  • {{tc-nameval|ytv}}{{ytv}}
  • {{tc-nameval|ytv|v|-wKoZlapqgg|linktext|Love Don't Let Me Go}}{{ytv|v=-wKoZlapqgg|linktext=Love Don't Let Me Go}}

Obviously, the first three examples are not very useful; they're just here for "completeness".