Difference between revisions of "Template:Patch"

From RPCS3 Wiki
(Created new patch template)
 
(Removed need for headers in Canary patches)
 
(14 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
|version = Float
 
|version = Float
 
|patch  = Wikitext
 
|patch  = Wikitext
}}</noinclude><includeonly>{{#cargo_store:
+
|type    = String (allowed values=PPU,SPU,Canary)
 +
|header  = String
 +
}}[[Category:Templates]]</noinclude><includeonly>{{#cargo_store:
 
_table  = Patch
 
_table  = Patch
 
|version = {{{version|}}}
 
|version = {{{version|}}}
 
|patch  = {{{content|}}}
 
|patch  = {{{content|}}}
}}=== Patches ===
+
|type    = {{{type|}}}
{{#tag:pre|{{{content|}}}|id=patch|class=version-{{{version|}}} mw-collapsible mw-collapsed}}</includeonly>
+
|header  = {{{header|}}}
[[Category:Templates]]
+
}}{{#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.