Template:Patch: Difference between revisions
Jump to navigation
Jump to search
(turn debug off) |
(Ditch "date" and "postid" as possible input. (Not used. And having just one input type makes some other stuff easier)) |
||
Line 18: | Line 18: | ||
| <br clear=all>{{error|Patch-title "{{{2}}}" Not Found! )|( <i>Template:Patch</i>: }} | | <br clear=all>{{error|Patch-title "{{{2}}}" Not Found! )|( <i>Template:Patch</i>: }} | ||
}} | }} | ||
| #default = | | #default = | ||
Line 70: | Line 34: | ||
;Usage | ;Usage | ||
: <code><nowiki>{{ Patch | <INPUT-TYPE> | <INPUT-DATA> }}</nowiki></code> (''surrounding spaces not needed'') | : <code><nowiki>{{ Patch | <INPUT-TYPE> | <INPUT-DATA> }}</nowiki></code> (''surrounding spaces not needed'') | ||
:: INPUT-TYPE: "title | :: INPUT-TYPE: "title" (''keyword is case sensitive'') | ||
:1) <code><nowiki>{{Patch| title | Le Petit Fix }}</nowiki></code> (''title data is case sensitive'') | :1) <code><nowiki>{{Patch| title | Le Petit Fix }}</nowiki></code> (''title data is case sensitive'') | ||
:Returns forum link: {{{{PAGENAME}}|title|Le Petit Fix}} | :Returns forum link: {{{{PAGENAME}}|title|Le Petit Fix}} | ||
Line 93: | Line 55: | ||
:11){{{{PAGENAME}}|title}} | :11){{{{PAGENAME}}|title}} | ||
:12 | :12){{{{PAGENAME}}|foobar}} | ||
:21){{{{PAGENAME}}|title|title}} | :21){{{{PAGENAME}}|title|title}} | ||
:22 | :22){{{{PAGENAME}}|foobar|foobar}} | ||
:41){{{{PAGENAME}}|title| Le Petit Fix | :41){{{{PAGENAME}}|title|Le Petit Fix}} | ||
--> | --> | ||
<noinclude> | <noinclude> |
Revision as of 13:30, 7 November 2020
- Usage
{{ Patch | <INPUT-TYPE> | <INPUT-DATA> }}
(surrounding spaces not needed)- INPUT-TYPE: "title" (keyword is case sensitive)
- 1)
{{Patch| title | Le Petit Fix }}
(title data is case sensitive)
- Returns forum link: Le Petit Fix (2015-11-10)
- - Output might change a bit over time.
- - Output style intended to stay html-inline-type. (opposite of html-block-type)
- - See the Game Updates page for available Patch title/date strings. (Legacy patches not supported)
- Note
- In title cases like "Dust & Mud" use a bare "&", using "&" in the title parameter will not work.
- (This applies not to the actual Patch Property sub-object data setup)