PC Gaming Shelter
An archive dedicated to preserving PC Gaming history and more

Template:Resource/doc: Difference between revisions

From PC Gaming Shelter
Created page with " <templatedata> { "params": { "Has URL": { "type": "url" }, "Related game": { "type": "wiki-page-name" }, "Has resource type": { "type": "string" }, "Has content type": { "type": "string" }, "Has spoilers": { "type": "boolean" }, "Has date": { "type": "date" }, "Created by": { "type": "string" }, "Has language": { "type": "string" }, "Has subtitles": { "type": "boolean" }, "Has subtitles language": { "t..."
 
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{int: shelter-infobox-main-template-intro|Resource}}


<templatedata>
[[Form:Resource|<span class="btn btn-success font-weight-bold">Add a resource</span>]]
{
"params": {
"Has URL": {
"type": "url"
},
"Related game": {
"type": "wiki-page-name"
},
"Has resource type": {
"type": "string"
},
"Has content type": {
"type": "string"
},
"Has spoilers": {
"type": "boolean"
},
"Has date": {
"type": "date"
},
"Created by": {
"type": "string"
},
"Has language": {
"type": "string"
},
"Has subtitles": {
"type": "boolean"
},
"Has subtitles language": {
"type": "string"
}
},
"description": "Register an external resource."
}
</templatedata>

Latest revision as of 13:44, 3 July 2026

One of the main templates. Its purpose is to collect values from the Form:Resource fields and pass them to the Module:Resource for further processing. See the module page and this help for details.

Add a resource