Jump to content
Toggle menu
  • 3 articles
  • 75 files
  • 7 users
  • 37.9K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Xpdoc/doc: Difference between revisions

Template page
mNo edit summary
No edit summary
 
(6 intermediate revisions by 4 users not shown)
Line 7: Line 7:
|2d=the parameter after the first pipe  
|2d=the parameter after the first pipe  
|2def=
|2def=
|2stat=optional
|2stat=optional-
|3=gives
|3=3
|3d=text (or the empty string) to replace the arrow, e.g. gives=<nowiki>{{!}}{{!}}</nowiki> to produce "<nowiki>||</nowiki>", for use in a table
|3d=the parameter after the second pipe
|3def=gives
|3def=
|3stat=optional
|3stat=optional-
|4=4
|4d=the parameter after the third pipe
|4def=
|4stat=optional-
|5=5
|5d=the parameter after the fourth pipe
|5def=
|5stat=optional-
|6=6
|6d=the parameter after the fifth pipe
|6def=
|6stat=optional-
|7=n1</code><br> . . . .<br><code>n6
|7d=name of the first named parameter<br>...<br>name of the sixth named parameter
|7stat=optional-
|8=v1</code><br> . . . .<br><code>v6
|8d=value of the first named parameter<br>...<br>value of the sixth named parameter 
|8stat=optional-
 
|9=gives
|9d=text (or the empty string) to replace the arrow, e.g. gives=<nowiki>{{!}}{{!}}</nowiki> to produce "<nowiki>||</nowiki>", for use in a table
|9def=→
|9stat=optional-
 
|name=xpdoc
|name=xpdoc
|desc={{Documentation subpage}}
|desc={{Documentation subpage}}
Line 23: Line 47:
|usage-notes=
|usage-notes=
|type=
|type=
|example=Creator:Vincent van Gogh
|example=cc-by-4.0
|i18n-method=
|i18n-method=-
|i18n-desc=
|i18n-desc=
|seealso=
|seealso=
Line 38: Line 62:
*c = double closing braces
*c = double closing braces


This template combines the functionality of templates listed in [[m:Help:Expansion demo templates]] with a single o and c (no nesting), but with some restrictions.
This template combines the functionality of templates listed in the Expansion demo templates on Commons with a single o and c (no nesting), but with some restrictions.


In the case of demonstrating a template, values of unnamed parameters of this template are trimmed, so [[Template:Xpdoc]] cannot be used for demonstrating the effect of spaces at the start or end of an unnamed parameter.
In the case of demonstrating a template, values of unnamed parameters of this template are trimmed, so [[Template:Xpdoc]] cannot be used for demonstrating the effect of spaces at the start or end of an unnamed parameter.
Line 48: Line 72:
{{sed|3}}
{{sed|3}}
*[[m:Help:Expansion demo templates]]
*[[m:Help:Expansion demo templates]]
<includeonly>[[Category:Expansion demo templates]]</includeonly>
{{Tle|T=Tle}} Meta template to describe template parametrizings
<includeonly>[[Category:Template namespace templates]]</includeonly>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.