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:Tle/doc: Difference between revisions

Template page
move stray sentence out of Examples
flag 4 as unclear. clarify f
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
  |text = This documentation is unclear and probably inaccurate. It should be reviewed. <!-- Chealer 2024-10 -->
  |text = This documentation is unclear and probably inaccurate. It should be reviewed. <!-- Chealer 2024-10 -->
  |type = style
  |type = style
}}
{{Mbox
|text = This template ({{T|{{BASEPAGENAME}}}}) allows to document different templates. To avoid confusion, when reading the following documentation, it is necessary to distinguish this template and its (meta-)parameters from the templates it documents and their parameters.
|type = content <!-- Would a different type be more appropriate? Chealer 2024-10 -->
}}
}}
{{TemplateBox
{{TemplateBox
Line 16: Line 20:
|3stat=optional-
|3stat=optional-
|4=p1&nbsp;…&nbsp;pn
|4=p1&nbsp;…&nbsp;pn
|4d=parameter name(s) &nbsp; <small>(none for positional parameters)</small>  
|4d=parameter name(s){{Clarify|date=October 2024}} &nbsp; <small>(none for positional parameters)</small>  
|4stat=optional-
|4stat=optional-
|5=f
|5=f
|5d=possible value to format the display - see [[#Format example]]
|5d=Separator between parameters to format the display - see [[#Format example]]
|5stat=optional-
|5stat=optional-
|6=number
|6=number
Line 43: Line 47:
}}
}}
== Explanation ==
== Explanation ==
It is necessary to distinguish between a template and its parameter names and parameter values, and this '''meta-template''' with its meta-parameter-names and meta-parameter-values.
Wikimedia Commons has lots of other templates to document templates, but none is really able to describe complicated parametrizing easily.  
Wikimedia Commons has lots of other templates to document templates, but none is really able to describe complicated parametrizing easily.  


Cookies help us deliver our services. By using our services, you agree to our use of cookies.