Template:Repo link/doc usage: Difference between revisions

Jump to navigation Jump to search
Introduced the 'site_name' parameter, for use in some of the parameter descriptions.
m (Fix for the 'user' parameter description.)
(Introduced the 'site_name' parameter, for use in some of the parameter descriptions.)
Line 313: Line 313:
  <tr>
  <tr>
  {{!}} {{param|user}}
  {{!}} {{param|user}}
  {{!}} The name of the user page for the open source infrastructure.  This is notably different to the '''login''' parameter.  This will have precedence over the '''proj''' parameter.  The user page is treated in the same way as a project name.
  {{!}} The name of the user page for the {{#if: {{{site_name|}}} | [[{{{site_name}}}]]}} open source infrastructure.  This is notably different to the '''login''' parameter.  This will have precedence over the '''proj''' parameter.  The user page is treated in the same way as a project name.
  {{!}} style="text-align: center" {{!}} {{#if: {{{short_user|}}} | {{param|{{{short_user}}}}}}}
  {{!}} style="text-align: center" {{!}} {{#if: {{{short_user|}}} | {{param|{{{short_user}}}}}}}
  {{!}} style="text-align: center" {{!}} {{#if: {{{pos_user|}}} | {{param|{{{pos_user}}}}}}}
  {{!}} style="text-align: center" {{!}} {{#if: {{{pos_user|}}} | {{param|{{{pos_user}}}}}}}
Line 481: Line 481:
  {{obr}}repo link/doc usage
  {{obr}}repo link/doc usage
  {{!}} template  =
  {{!}} template  =
{{!}} 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        = {{!}} eg_cmd          =
Line 510: Line 511:
  {{!}} break      =  
  {{!}} break      =  
  {{cbr}}
  {{cbr}}
; site_name:  The optional name for the open source infrastructure, for use in some of the parameter descriptions.


; type_*:  The parameter type.  This defaults to '''name''' to define this as a named parameter.  For an anonymous or numbered parameter, set this to '''num'''.
; type_*:  The parameter type.  This defaults to '''name''' to define this as a named parameter.  For an anonymous or numbered parameter, set this to '''num'''.

Navigation menu