User:Banri/TemplateData: Difference between revisions
No edit summary |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 39: | Line 39: | ||
|} | |} | ||
https://i.imgur.com/47fEaDE.png | |||
4. For each parameter an editor can give to a template, press the '''Add parameter''' button at the bottom, enter its name (e.g 'param1'). Click on it when its added to the list and fill out the information: | 4. For each parameter an editor can give to a template, press the '''Add parameter''' button at the bottom, enter its name (e.g 'param1'). Click on it when its added to the list and fill out the information: | ||
| Line 90: | Line 90: | ||
</pre> | </pre> | ||
This is how a template with TemplateData displays in VisualEditor | This is how a template with TemplateData displays in VisualEditor | ||
===Further help=== | ===Further help=== | ||
* [https://en.wikipedia.org/wiki/Wikipedia:TemplateData/Tutorial Wikipedia's tutorial on TemplateData] | * [https://en.wikipedia.org/wiki/Wikipedia:TemplateData/Tutorial Wikipedia's tutorial on TemplateData] | ||
* [https://www.mediawiki.org/wiki/Help:TemplateData MediaWiki help page for TemplateData] | * [https://www.mediawiki.org/wiki/Help:TemplateData MediaWiki help page for TemplateData] | ||