Changes

Jump to navigation Jump to search
→‎Documentation on the template page: Allow an exception to listing every parameter
Line 46: Line 46:  
* {{tl|Parms}}  This is a container for a list of parameters.  If there are no parameters, just place <nowiki>{{Parms|}}</nowiki> on the page.
 
* {{tl|Parms}}  This is a container for a list of parameters.  If there are no parameters, just place <nowiki>{{Parms|}}</nowiki> on the page.
 
* {{tl|Parm}}  This comprises the details of a single parameter.  Use one of these for each parameter in the template, with all of them comprising the one parameter required for the {{tl|Parms}} macro.
 
* {{tl|Parm}}  This comprises the details of a single parameter.  Use one of these for each parameter in the template, with all of them comprising the one parameter required for the {{tl|Parms}} macro.
 +
** Note that in a few cases with many straight-forward parameters which are obvious from the template itself, it is not necessary to list each one of them individually.  See {{tl|planet}} for an example.
    
To make it easier, simply copy the following text to the documentation page of a template, then fill in the details.  If you are not placing this on the template page itself, omit the <nowiki><noinclude></nowiki> tags.
 
To make it easier, simply copy the following text to the documentation page of a template, then fill in the details.  If you are not placing this on the template page itself, omit the <nowiki><noinclude></nowiki> tags.
nsTeam2RO, nsTeam2RW, nsTeam2_talkRO, nsTeam2_talkRW
13,254

edits

Navigation menu