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

Template:Resource/doc: Difference between revisions

From PC Gaming Shelter
No edit summary
No edit summary
 
(5 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>
[[Form:Resource|Add a resource]]

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