Template:Repo link/doc usage: Difference between revisions

Jump to navigation Jump to search
Introduced the 'value_cmd' parameter. This is currently used for the 'opt' parameter description.
(Added the 'default_post' parameter.)
(Introduced the 'value_cmd' parameter. This is currently used for the 'opt' parameter description.)
Line 257: Line 257:
  <tr>
  <tr>
  {{!}} {{param|opt}}
  {{!}} {{param|opt}}
  {{!}} Any additional options to show after {{#ifeq: {{{cmd|}}} | 1 | '''cmd''', if supplied| the command}}, but before the URL.{{#ifeq: {{{cmd|}}} | 1 |
  {{!}} Any additional options to show after {{#if: {{{value_cmd|}}} | the command {{#tag:code|{{{value_cmd}}}}} | {{param|cmd}}}}, but before the URL.{{#ifeq: {{{cmd|}}} | 1 |
: {{inote|Developer note: This is for future non-CLI handling of a standardised set of '''cmd''' parameter values}}
: {{inote|Developer note: This is for future non-CLI handling of a standardised set of '''cmd''' parameter values}}
}}
}}
Line 485: Line 485:
  {{!}} site_name  =
  {{!}} site_name  =
  {{!}} site      = {{!}} type_site      = {{!}} short_site      = {{!}} pos_site      = {{!}} stat_site      =  
  {{!}} site      = {{!}} type_site      = {{!}} short_site      = {{!}} pos_site      = {{!}} stat_site      =  
  {{!}} cmd        = {{!}} type_cmd        = {{!}} short_cmd        = {{!}} pos_cmd        = {{!}} stat_cmd        =                       {{!}} eg_cmd            =
  {{!}} cmd        = {{!}} type_cmd        = {{!}} short_cmd        = {{!}} pos_cmd        = {{!}} stat_cmd        = {{!}} value_cmd          = {{!}} eg_cmd            =
  {{!}} opt        = {{!}} type_opt        = {{!}} short_opt        = {{!}} pos_opt        = {{!}} stat_opt        =  
  {{!}} opt        = {{!}} type_opt        = {{!}} short_opt        = {{!}} pos_opt        = {{!}} stat_opt        =  
  {{!}} protocol  = {{!}} type_protocol  = {{!}} short_protocol  = {{!}} pos_protocol  = {{!}} stat_protocol  = {{!}} default_protocol  =
  {{!}} protocol  = {{!}} type_protocol  = {{!}} short_protocol  = {{!}} pos_protocol  = {{!}} stat_protocol  = {{!}} default_protocol  =
Line 527: Line 527:


; default_*:  The default parameter value.
; default_*:  The default parameter value.
; value_*:  The value of the parameter, if it is hardcoded.


; intro:  Introductory text before the parameter table.  This defaults to ''The parameters are:''.
; intro:  Introductory text before the parameter table.  This defaults to ''The parameters are:''.

Navigation menu