Template:Patch/display: Difference between revisions

Template page
(Added check for type (hope it works))
m (Protected "Template:Patch/display": High traffic page ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(16 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#if: {{{type|}}} | |
<includeonly>{{#switch: {{FULLPAGENAME}}
=={{{title|}}}==
| Help:Game Patches/Main = {{#switch: {{{type|}}}
{{#tag: pre | {{{patch|}}} | class=mw-collapsible mw-collapsed}}}}</includeonly>
| PPU = <h2>{{{title|}}}</h2>
<noinclude>Template used to display patches in the [[Help:Game Patches|Game Patches]] page.
{{#tag:pre|{{{patch|}}}|class=mw-collapsible mw-collapsed}}
[[Category:Templates]]</noinclude>
| SPU = <h2>{{{header|}}}</h2>
{{#tag:pre|{{{patch|}}}|class=mw-collapsible mw-collapsed}}
}}
| Help:Game Patches/Canary = {{#switch: {{{type|}}}
| Canary = <h2>{{{title|}}}</h2>
{{#tag:pre|{{{patch|}}}|class=mw-collapsible mw-collapsed}}
}}
}}</includeonly><noinclude>Template used to display patches in the [[Help:Game Patches/Main|Main Patches]] and [[Help:Game Patches/Canary|Canary Patches]] page.[[Category:Templates]]</noinclude>

Latest revision as of 08:55, 15 January 2022

Template used to display patches in the Main Patches and Canary Patches page.