Template:Repo link/doc usage: Difference between revisions

Jump to navigation Jump to search
The project and repository parameter defaults are now only shown in the parameter documentation if supplied.
(Clarified the note for the 'opt' parameter.)
(The project and repository parameter defaults are now only shown in the parameter documentation if supplied.)
Line 391: Line 391:
  <tr>
  <tr>
  {{!}} {{param|proj}}
  {{!}} {{param|proj}}
  {{!}} The name of the project, consisting of a grouping of repositories on the {{#if: {{{site_name|}}} | [[{{{site_name}}}]]}} open source infrastructure. This defaults to {{param||{{{default_proj|flightgear}}}}}.
  {{!}} The name of the project, consisting of a grouping of repositories on the {{#if: {{{site_name|}}} | [[{{{site_name}}}]]}} open source infrastructure.{{#if: {{{default_proj|}}} | This defaults to {{param||{{{default_proj}}}}}.}}
  {{!}} style="text-align: center" {{!}} {{#if: {{{short_proj|}}} | {{param|{{{short_proj}}}}}}}
  {{!}} style="text-align: center" {{!}} {{#if: {{{short_proj|}}} | {{param|{{{short_proj}}}}}}}
  {{!}} style="text-align: center" {{!}} {{#if: {{{pos_proj|}}} | {{param|{{{pos_proj}}}}}}}
  {{!}} style="text-align: center" {{!}} {{#if: {{{pos_proj|}}} | {{param|{{{pos_proj}}}}}}}
Line 399: Line 399:
  <tr>
  <tr>
  {{!}} {{param|repo}}
  {{!}} {{param|repo}}
  {{!}} The name of the repository{{#if: {{{eg_repo|}}}, for example {{param||eg_repo}}}}.  A project registered on {{#if: {{{site_name|}}} | the [[{{{site_name}}}]] open source infrastructure | one of the open source infrastructures}} generally allows for multiple repositories under that project name. This defaults to {{param||{{{default_repo|flightgear}}}}}.
  {{!}} The name of the repository{{#if: {{{eg_repo|}}}, for example {{param||eg_repo}}}}.  A project registered on {{#if: {{{site_name|}}} | the [[{{{site_name}}}]] open source infrastructure | one of the open source infrastructures}} generally allows for multiple repositories under that project name.{{#if: {{{default_repo|}}} | This defaults to {{param||{{{default_repo}}}}}.}}
  {{!}} style="text-align: center" {{!}} {{#if: {{{short_repo|}}} | {{param|{{{short_repo}}}}}}}
  {{!}} style="text-align: center" {{!}} {{#if: {{{short_repo|}}} | {{param|{{{short_repo}}}}}}}
  {{!}} style="text-align: center" {{!}} {{#if: {{{pos_repo|}}} | {{param|{{{pos_repo}}}}}}}
  {{!}} style="text-align: center" {{!}} {{#if: {{{pos_repo|}}} | {{param|{{{pos_repo}}}}}}}

Navigation menu