Template:Git file/doc

Usage
{	"params": { "project": { "label": "Repository", "description": "Which Git repository the file is in.", "type": "string", "default": "mediawiki/core" },		"action": { "label": "Mode", "description": "One of \"browse\", \"tree\" or \"blame\" or \"history\"", "type": "string", "default": "browse" },		"branch": { "label": "Branch", "description": "Which branch of the repository the file is in.", "type": "string", "default": "HEAD" },		"file": { "label": "File", "description": "Path to the file within the specified repository and branch.", "example": "includes/MediaWiki.php", "type": "string", "required": true, "suggested": true },		"sha": { "label": "Commit", "description": "The SHA-1 hash of the specific commit within a branch. Use this to make a permalink.", "type": "string" },		"line": { "label": "Line number", "description": "The link will anchor to this line within the file, and highlight it.", "example": "42", "type": "number" },		"text": { "label": "Label", "description": "The text that become the link.", "type": "string", "default": "The 'file' parameter value." }	},	"description": "Generates a link to view the file in Gerrit.", "paramOrder": [ "text", "action", "project", "branch", "sha", "file", "line" ],	"format": "inline" }

Example
produces
 * Basic

produces

produces
 * text

produces
 * action

produces

produces
 * line number

produces
 * project summary page (deprecated)

Known issues

 * Merge with Git, or maybe Gerrit, MW file, etc. but simpler?