Template:Repo link/doc usage: Difference between revisions

Jump to navigation Jump to search
The 'opt' parameter description is now dependent on the presence of the 'cmd' parameter.
(Better logic for the 'commit' parameter description.)
(The 'opt' parameter description is now dependent on the presence of the 'cmd' parameter.)
Line 257: Line 257:
  <tr>
  <tr>
  {{!}} {{param|opt}}
  {{!}} {{param|opt}}
  {{!}} Any additional options to show after '''cmd''', if supplied.
  {{!}} Any additional options to show after {{#ifeq: {{{cmd|}}} | 1 | '''cmd''', if supplied| the command}}, 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}}
}}
  {{!}} style="text-align: center" {{!}} {{#if: {{{short_opt|}}} | {{param|{{{short_opt}}}}}}}
  {{!}} style="text-align: center" {{!}} {{#if: {{{short_opt|}}} | {{param|{{{short_opt}}}}}}}
  {{!}} style="text-align: center" {{!}} {{#if: {{{pos_opt|}}} | {{param|{{{pos_opt}}}}}}}
  {{!}} style="text-align: center" {{!}} {{#if: {{{pos_opt|}}} | {{param|{{{pos_opt}}}}}}}

Navigation menu