Template:Xpdoc/doc: Difference between revisions
Template page
More actions
←Created page with '{{TemplateBox |1=1 |1d=name of parser function, a colon, and the first parameter, or name of template |1def= |1stat=required |2=2 |2d=the parameter after the firs...' |
mNo edit summary |
||
| Line 41: | Line 41: | ||
==Example== | ==Example== | ||
{{xpdopc|ISOdate|2009-04-03}} | <nowiki>{{xpdopc|ISOdate|2009-04-03}}</nowiki> produces: "{{xpdopc|ISOdate|2009-04-03}}". | ||
==See also== | ==See also== | ||
*[[m:Help:Expansion demo templates]] | *[[m:Help:Expansion demo templates]] | ||
<includeonly>[[Category:Expansion demo templates]]</includeonly> | <includeonly>[[Category:Expansion demo templates]]</includeonly> | ||
Revision as of 13:57, 18 September 2010
The expansion demo templates show, for documentation:
- some wikitext
- its rendering
Usage
{{xpdopc |1= |2= |gives= }}
Template parameters
| Parameter | Description | Default | Status | |
|---|---|---|---|---|
1 | name of parser function, a colon, and the first parameter, or name of template | empty | required | |
2 | the parameter after the first pipe | empty string | optional | |
gives | text (or the empty string) to replace the word "gives", e.g. gives={{!}}{{!}} to produce "||", for use in a table | gives | optional | |
Additional information
The template is intended to be used in the following namespaces: no namespace specified
The template is intended to be used by the following user groups: no user group specified
Naming scheme:
- o = double opening braces
- c = double closing braces
- p = pipe character
- e = equals sign
This is a simplified version of m:Template:Xpdop3c.
Example
{{xpdopc|ISOdate|2009-04-03}} produces: "Template:Xpdopc".