Template:Repo link/doc usage: Difference between revisions

Jump to navigation Jump to search
Added the 'default_branch_git' and 'default_branch_svn' parameters for changing these defaults in the description.
(Introduced the 'site_name' parameter, for use in some of the parameter descriptions.)
(Added the 'default_branch_git' and 'default_branch_svn' parameters for changing these defaults in the description.)
Line 342: Line 342:
     -->{{#if: {{{git|}}}
     -->{{#if: {{{git|}}}
         | {{#if: {{{svn|}}}
         | {{#if: {{{svn|}}}
             | This defaults to '''next''' or '''trunk''' for git and svn respectively. <nowiki></nowiki>
             | This defaults to '''{{{default_branch_git|next}}}''' or '''{{{default_branch_svn|trunk}}}''' for git and svn respectively. <nowiki></nowiki>
             | This defaults to '''next'''. <nowiki></nowiki>
             | This defaults to '''{{{default_branch_git|next}}}'''. <nowiki></nowiki>
           }}
           }}
         | {{#if: {{{svn|}}}
         | {{#if: {{{svn|}}}
             | This defaults to '''trunk'''. <nowiki></nowiki>
             | This defaults to '''{{{default_branch_svn|trunk}}}'''. <nowiki></nowiki>
           }}
           }}
       }}
       }}
Line 483: Line 483:
  {{!}} 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        = {{!}} 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   =
  {{!}} login      = {{!}} type_login      = {{!}} short_login      = {{!}} pos_login      = {{!}} stat_login      =  
  {{!}} login      = {{!}} type_login      = {{!}} short_login      = {{!}} pos_login      = {{!}} stat_login      =  
  {{!}} type      = {{!}} type_type      = {{!}} short_type      = {{!}} pos_type      = {{!}} stat_type      = {{!}} default_type     =
  {{!}} type      = {{!}} type_type      = {{!}} short_type      = {{!}} pos_type      = {{!}} stat_type      = {{!}} default_type       =
  {{!}} user      = {{!}} type_user      = {{!}} short_user      = {{!}} pos_user      = {{!}} stat_user      =  
  {{!}} user      = {{!}} type_user      = {{!}} short_user      = {{!}} pos_user      = {{!}} stat_user      =  
  {{!}} proj      = {{!}} type_proj      = {{!}} short_proj      = {{!}} pos_proj      = {{!}} stat_proj      = {{!}} default_proj     =
  {{!}} proj      = {{!}} type_proj      = {{!}} short_proj      = {{!}} pos_proj      = {{!}} stat_proj      = {{!}} default_proj       =
  {{!}} repo      = {{!}} type_repo      = {{!}} short_repo      = {{!}} pos_repo      = {{!}} stat_repo      = {{!}} default_repo     =
  {{!}} repo      = {{!}} type_repo      = {{!}} short_repo      = {{!}} pos_repo      = {{!}} stat_repo      = {{!}} default_repo       =
  {{!}} branch    = {{!}} type_branch    = {{!}} short_branch    = {{!}} pos_branch    = {{!}} stat_branch    =  
  {{!}} branch    = {{!}} type_branch    = {{!}} short_branch    = {{!}} pos_branch    = {{!}} stat_branch    = {{!}} default_branch_git = {{!}} default_branch_svn =
  {{!}} tag        = {{!}} type_tag        = {{!}} short_tag        = {{!}} pos_tag        = {{!}} stat_tag        =  
  {{!}} tag        = {{!}} type_tag        = {{!}} short_tag        = {{!}} pos_tag        = {{!}} stat_tag        =  
  {{!}} path      = {{!}} type_path      = {{!}} short_path      = {{!}} pos_path      = {{!}} stat_path      =  
  {{!}} path      = {{!}} type_path      = {{!}} short_path      = {{!}} pos_path      = {{!}} stat_path      =  

Navigation menu