Template:Template parameters table

From Valve Developer Community
Jump to navigation Jump to search
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)
Template Documentation
Icon-translate.png Documentation language
...

Table for describing template parameters.

Usage

This template is usually written in a column. To use it, insert {{Template parameters table}} on the desired page and specify the parameters described below under the template name in the following format:

{{Template parameters table | parameter1 = value | parameter2 = value }}
Icon-Important.pngImportant: Used in combination with {{Template parameters table row}}.
Parameter Description Examples Preview
No parameter This template requires at least parameter 1. Inclusion without it is not supported.
{{Template parameters table}}
1 / rows [Todo]
| {{Template parameters table row}}
| 1 = {{Template parameters table row}}
| rows = {{Template parameters table row}}
split-example [Todo]
| split-example = section
split-preview [Todo]
| split-preview = section

Preview

{{Template parameters table
|	{{Template parameters table row
	| <code>gordon</code>
	| A crazy guy with a crowbar in his hand.
	| <nowiki>| gordon = green</nowiki>
	| [[File:info player start.png|64px]]
	}}
}}
Parameter Description Examples Preview
gordon A crazy guy with a crowbar in his hand.
| gordon = green
Info player start.png

Preview as a standalone section

{{Template parameters table
| split-example = section
| split-preview = section

|	{{Template parameters table row
	| <code>gordon</code>
	| A crazy guy with a crowbar in his hand.
	| split-example = section
	| split-preview = section
	}}
	
	{{Template parameters table row
	| <code>alyx</code>
	| The woman who rescued God from prison.
	}}
}}
Parameter Description Examples Preview
gordon A crazy guy with a crowbar in his hand.
alyx The woman who rescued God from prison.

				 	 

See also