531
edits
(Update package: OSW Base) |
m (Protected "Software": Protected as read-only import via Page Exchange extension ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) [cascading]) |
||
| (2 intermediate revisions by the same user not shown) | |||
| jsondata | |||
|---|---|---|---|
| Line 1: | Line 1: | ||
{ | { | ||
"subclass_of": [ | |||
"Category:OSWe427aafafbac4262955b9f690a83405d" | |||
], | |||
"uuid": "77e749fc-5983-41ac-8b6d-2fff21574058", | |||
"label": [ | |||
{ | |||
"text": "Software", | |||
"lang": "en" | |||
}, | |||
{ | |||
"text": "Software", | |||
"lang": "de" | |||
} | |||
], | |||
"name": "Software", | |||
"type": [ | |||
"Category:Category" | |||
] | |||
} | } | ||
| jsonschema | |||
| Line 1: | Line 1: | ||
{ | { | ||
"type": "object", | |||
"@context": [ | |||
"/wiki/Category:OSWe427aafafbac4262955b9f690a83405d?action=raw\u0026slot=jsonschema", | |||
{ | |||
"repository": "Property:HasRepository" | |||
} | |||
], | |||
"allOf": [ | |||
{ | |||
"$ref": "/wiki/Category:OSWe427aafafbac4262955b9f690a83405d?action=raw\u0026slot=jsonschema" | |||
} | |||
], | |||
"title": "Software", | |||
"properties": { | |||
"type": { | |||
"default": [ | |||
"Category:OSW77e749fc598341ac8b6d2fff21574058" | |||
] | |||
}, | |||
"repository": { | |||
"type": "array", | |||
"title": "Repositories", | |||
"eval_template": { | |||
"type": "mustache", | |||
"mode": "render", | |||
"value": "{{#repository}}{{{.}}} {{/repository}}" | |||
}, | |||
"items": { | |||
"type": "string", | |||
"title": "Repository", | |||
"format": "url" | |||
} | |||
}, | |||
"readme": { | |||
"type": "string", | |||
"title": "ReadMe", | |||
"format": "url" | |||
} | |||
}, | |||
"required": [ | |||
"type" | |||
] | |||
} | } | ||
| header_template | |||
| Line 15: | Line 15: | ||
{{#ifeq: {{#explode: {{#explode: {{#explode:{{{repository|}}}| |0}} |//|1}} |/|0}}|github.com| | {{#ifeq: {{#explode: {{#explode: {{#explode:{{{repository|}}}| |0}} |//|1}} |/|0}}|github.com| | ||
= Readme = | = Readme = | ||
{{Template:Viewer/Github/Code|url={{#explode:{{{repository|}}}| |0}}/blob/main/README.md | {{Template:Viewer/Github/Code|url={{#explode:{{{repository|}}}| |0}}/blob/main/README.md }}<!-- display the Readme of the first repo if it's a github repo -->|}} }} | ||
edits