Diferencia entre revisiones de «Plantilla:Docs/row/optional»

De La Coppermind
Ir a la navegación Ir a la búsqueda
m
m (+catkey)
 
(No se muestran 4 ediciones intermedias del mismo usuario)
Línea 4: Línea 4:
* <code>desc</code>: A description of how the parameter is to be used
* <code>desc</code>: A description of how the parameter is to be used
* <code>eg</code>: One or more usage examples
* <code>eg</code>: One or more usage examples

[[category: documentation templates|row]]


{{docs|title=Documentation for an optional parameter}}
{{docs|title=Documentation for an optional parameter}}
Línea 16: Línea 18:
| style="white-space: nowrap;" |
| style="white-space: nowrap;" |
{{{eg}}}
{{{eg}}}
<!-- END OF ROW -->
|-
|-
<noinclude>
<noinclude>
|}
|}


== Templates with Optional Parameters ==
== Usage ==
{{special: whatlinkshere/{{FULLPAGENAME}} }}
{{for|Special:WhatLinksHere/{{FULLPAGENAME}}|a full list of uses|here}}
{{Special:WhatLinksHere/{{FULLPAGENAME}}|namespace=10}}

Revisión actual - 20:19 19 abr 2020

Helper template to insert an optional parameter row in an infobox template documentation page. It takes 3 parameters:

  • param: The name of the parameter being documented
  • desc: A description of how the parameter is to be used
  • eg: One or more usage examples
Documentation for an optional parameter
Parameter Description Examples
Unknown parameter {{{desc}}}

{{{eg}}}

Templates with Optional Parameters