{{if eq .PackageDescriptor.Package.Type "nuget"}}

{{ctx.Locale.Tr "packages.installation"}}

dotnet nuget add source --name {{.PackageDescriptor.Owner.Name}} --username your_username --password your_token 
dotnet add package --source {{.PackageDescriptor.Owner.Name}} --version {{.PackageDescriptor.Version.Version}} {{.PackageDescriptor.Package.Name}}
{{if or .PackageDescriptor.Metadata.Description .PackageDescriptor.Metadata.ReleaseNotes .PackageDescriptor.Metadata.Readme}}

{{ctx.Locale.Tr "packages.about"}}

{{if .PackageDescriptor.Metadata.Description}}
{{ctx.RenderUtils.MarkdownToHtml .PackageDescriptor.Metadata.Description}}
{{end}} {{if .PackageDescriptor.Metadata.Readme}}
{{ctx.RenderUtils.MarkdownToHtml .PackageDescriptor.Metadata.Readme}}
{{end}} {{if .PackageDescriptor.Metadata.ReleaseNotes}}
{{ctx.RenderUtils.MarkdownToHtml .PackageDescriptor.Metadata.ReleaseNotes}}
{{end}} {{end}} {{if .PackageDescriptor.Metadata.Dependencies}}

{{ctx.Locale.Tr "packages.dependencies"}}

{{range $framework, $dependencies := .PackageDescriptor.Metadata.Dependencies}} {{range $dependencies}} {{end}} {{end}}
{{ctx.Locale.Tr "packages.dependency.id"}} {{ctx.Locale.Tr "packages.dependency.version"}} {{ctx.Locale.Tr "packages.nuget.dependency.framework"}}
{{.ID}} {{.Version}} {{$framework}}
{{end}} {{end}}