Template:Fgdata source: Difference between revisions

Jump to navigation Jump to search
Added an example of using the 'cmd' parameter.
(Addition of the 'opt' parameter.)
(Added an example of using the 'cmd' parameter.)
Line 149: Line 149:
| line  = 85
| line  = 85
| full = 1
| full = 1
}}
=== Command ===
{{obr}}#tag:syntaxhighlight{{!}}
{{obr}}fgdata source
  {{!}} cmd      = git pull
  {{!}} protocol = git
  {{!}} type    = git
  {{!}} post    = master
  {{!}} full    = 1
{{cbr}}
{{!}} lang = "sh"
{{cbr}}
{{#tag:syntaxhighlight|
{{fgdata source
  | cmd      = git pull
  | protocol = git
  | type    = git
  | post    = master
  | full    = 1
}}
| lang = "sh"
}}
}}


Navigation menu