Template:Repo link/doc usage: Difference between revisions

Jump to navigation Jump to search
Conditional description for 'text' - don't mention 'pre' if 'pre' is not a parameter.
(Expanded the 'path' parameter description.)
(Conditional description for 'text' - don't mention 'pre' if 'pre' is not a parameter.)
Line 436: Line 436:
  <tr>
  <tr>
  {{!}} {{param|text}}
  {{!}} {{param|text}}
  {{!}} Text to display as the link label. Overrides '''pre'''.
  {{!}} Text to display as the link label. {{#if: {{{pre|}}} | Overrides '''pre'''.}}
  {{!}} style="text-align: center" {{!}} {{#if: {{{short_text|}}} | {{param|{{{short_text}}}}}}}
  {{!}} style="text-align: center" {{!}} {{#if: {{{short_text|}}} | {{param|{{{short_text}}}}}}}
  {{!}} style="text-align: center" {{!}} {{#if: {{{pos_text|}}} | {{param|{{{pos_text}}}}}}}
  {{!}} style="text-align: center" {{!}} {{#if: {{{pos_text|}}} | {{param|{{{pos_text}}}}}}}

Navigation menu