Difference between revisions of "Template:Patch"

From RPCS3 Wiki
(Add type parameter and removed unnecessary IDs)
(Removed need for headers in Canary patches)
 
(12 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
|version = Float
 
|version = Float
 
|patch  = Wikitext
 
|patch  = Wikitext
|type    = String
+
|type    = String (allowed values=PPU,SPU,Canary)
 +
|header  = String
 
}}[[Category:Templates]]</noinclude><includeonly>{{#cargo_store:
 
}}[[Category:Templates]]</noinclude><includeonly>{{#cargo_store:
 
_table  = Patch
 
_table  = Patch
Line 9: Line 10:
 
|patch  = {{{content|}}}
 
|patch  = {{{content|}}}
 
|type    = {{{type|}}}
 
|type    = {{{type|}}}
}}=== Patches ===
+
|header  = {{{header|}}}
{{#tag:pre|{{{content|}}}|class=mw-collapsible mw-collapsed}}</includeonly>
+
}}{{#switch: {{{type|}}}
 +
| PPU = <h3>Patches</h3>
 +
| SPU = <h2>{{{header|}}}</h2>
 +
| Canary = <h3>Canary Patches</h3>
 +
}}{{#tag:pre|{{{content|}}}|class=mw-collapsible mw-collapsed}}[[Category:Patches available]]</includeonly>

Latest revision as of 14:15, 20 September 2020

This template defines the table "Patch". View table.