Template:Repo link/doc usage: Difference between revisions

Jump to navigation Jump to search
Added the 'default_post' parameter.
(The 'login' parameter description is now dependent on the presence of the 'user' parameter.)
(Added the 'default_post' parameter.)
Line 413: Line 413:
  <tr>
  <tr>
  {{!}} {{param|post}}
  {{!}} {{param|post}}
  {{!}} Text to append.  This is forms a set with the parameter {{#ifeq:{{{cmd|}}}|1|{{param|cmd}}{{#ifeq:{{{opt|}}}|1|<nowiki></nowiki> and <nowiki></nowiki>}}}}{{#ifeq:{{{opt|}}}|1|{{param|opt}}}}.  For example it can represent any command line options that come after the URL.
  {{!}} Text to append.  This is forms a set with the parameter {{#ifeq:{{{cmd|}}}|1|{{param|cmd}}{{#ifeq:{{{opt|}}}|1|<nowiki></nowiki> and <nowiki></nowiki>}}}}{{#ifeq:{{{opt|}}}|1|{{param|opt}}}}.  For example it can represent any command line options that come after the URL. {{#if:{{{default_post|}}}|The default value is '''{{{default_post}}}'''.}}
  {{!}} style="text-align: center" {{!}} {{#if: {{{short_post|}}} | {{param|{{{short_post}}}}}}}
  {{!}} style="text-align: center" {{!}} {{#if: {{{short_post|}}} | {{param|{{{short_post}}}}}}}
  {{!}} style="text-align: center" {{!}} {{#if: {{{pos_post|}}} | {{param|{{{pos_post}}}}}}}
  {{!}} style="text-align: center" {{!}} {{#if: {{{pos_post|}}} | {{param|{{{pos_post}}}}}}}
Line 498: Line 498:
  {{!}} commit    = {{!}} type_commit    = {{!}} short_commit    = {{!}} pos_commit    = {{!}} stat_commit    =  
  {{!}} commit    = {{!}} type_commit    = {{!}} short_commit    = {{!}} pos_commit    = {{!}} stat_commit    =  
  {{!}} line      = {{!}} type_line      = {{!}} short_line      = {{!}} pos_line      = {{!}} stat_line      =  
  {{!}} line      = {{!}} type_line      = {{!}} short_line      = {{!}} pos_line      = {{!}} stat_line      =  
  {{!}} post      = {{!}} type_post      = {{!}} short_post      = {{!}} pos_post      = {{!}} stat_post      =  
  {{!}} post      = {{!}} type_post      = {{!}} short_post      = {{!}} pos_post      = {{!}} stat_post       = {{!}} default_post       =
  {{!}} view      = {{!}} type_view      = {{!}} short_view      = {{!}} pos_view      = {{!}} stat_view      =  
  {{!}} view      = {{!}} type_view      = {{!}} short_view      = {{!}} pos_view      = {{!}} stat_view      =  
  {{!}} text      = {{!}} type_text      = {{!}} short_text      = {{!}} pos_text      = {{!}} stat_text      =  
  {{!}} text      = {{!}} type_text      = {{!}} short_text      = {{!}} pos_text      = {{!}} stat_text      =  

Navigation menu