Template:gitlab

From Lazarus wiki
Jump to navigationJump to search

{{{2}}} {{{1}}} {{{3}}}

synopsis

This template creates an external link to the git laboratory.

usage

  1. parameter: the item kind you want to refer to
    • issue, Issue, issues
    • tree, repository
    • empty means the entire project
  2. parameter: project name
    • FP: Free Pascal project
    • FPC: Free Pascal Compiler source project
    • Documentation: Free Pascal documentation project
    • Lazarus: Lazarus source code project
  3. parameter: number
  4. parameter: optional display title, by default concatenation of second, first and third parameter

example

  • {{gitlab|issue|FPC|34953}} is rendered as FPC issue 34953
  • {{gitlab|repository|FPC|release_3_2_0/compiler/scanner.pas#L2157-2160|scanner.pas}} yields scanner.pas

see also