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

Template:Resource: Difference between revisions

From PC Gaming Shelter
No edit summary
No edit summary
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{{Has short description|}}}{{#invoke:Resource|infobox}}{{DISPLAYTITLE:{{PAGENAME}}}}</includeonly><noinclude>
<includeonly>{{#ifeq:{{NAMESPACENUMBER}}
  |3002
  |{{#invoke:Resource|infobox}}
<div style="width: 100%; min-height: 640px;">
{{{Has short description|}}}
{{#switch: {{{Has resource type|}}}
  |Video={{#evu: {{{Has URL}}} |autoresize}}
  |#default=
}}
</div>
{{DISPLAYTITLE:{{PAGENAME}}}}
  |{{#invoke:Resource|inline|page={{FULLPAGENAME}}}}
}}</includeonly><noinclude>
{{{{PAGENAME}}/doc}}
{{{{PAGENAME}}/doc}}
</div>
</div>
</noinclude>
</noinclude>

Latest revision as of 09:35, 10 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