Template:Repo link/doc usage: Difference between revisions

Jump to navigation Jump to search
Modified the custom parameters example to show whitespace inconsistencies.
(Custom parameter support (param1, param2, param3). This is demonstrated by a new example.)
(Modified the custom parameters example to show whitespace inconsistencies.)
Line 905: Line 905:
  {{!}} param2    = 1 {{!}} name2 = path    {{!}} type2 = num  {{!}} pos2 = 2 {{!}} stat2 = mandatory {{!}} desc2 = The file path following from the aircraft directory name.  The full file path will be constructed as <code><nowiki><branch>/Aircraft/<path></nowiki></code>.
  {{!}} param2    = 1 {{!}} name2 = path    {{!}} type2 = num  {{!}} pos2 = 2 {{!}} stat2 = mandatory {{!}} desc2 = The file path following from the aircraft directory name.  The full file path will be constructed as <code><nowiki><branch>/Aircraft/<path></nowiki></code>.
  {{!}} param3    = 1 {{!}} name3 = file    {{!}} type3 = named            {{!}} stat3 = optional  {{!}} desc3 = If set, then a link to the file rather than the full URL will be shown.
  {{!}} param3    = 1 {{!}} name3 = file    {{!}} type3 = named            {{!}} stat3 = optional  {{!}} desc3 = If set, then a link to the file rather than the full URL will be shown.
{{!}} simplepath = 1
  {{!}} sf        = 1
  {{!}} sf        = 1
  {{!}} svn        = 1
  {{!}} svn        = 1
Line 915: Line 916:
| param2    = 1 | name2 = path    | type2 = num  | pos2 = 2 | stat2 = mandatory | desc2 = The file path following from the aircraft directory name.  The full file path will be constructed as <code><nowiki><branch>/Aircraft/<path></nowiki></code>.
| param2    = 1 | name2 = path    | type2 = num  | pos2 = 2 | stat2 = mandatory | desc2 = The file path following from the aircraft directory name.  The full file path will be constructed as <code><nowiki><branch>/Aircraft/<path></nowiki></code>.
| param3    = 1 | name3 = file    | type3 = named            | stat3 = optional  | desc3 = If set, then a link to the file rather than the full URL will be shown.
| param3    = 1 | name3 = file    | type3 = named            | stat3 = optional  | desc3 = If set, then a link to the file rather than the full URL will be shown.
| simplepath = 1
| sf        = 1
| sf        = 1
| svn        = 1
| svn        = 1

Navigation menu