Template:Patch: Difference between revisions
Jump to navigation
Jump to search
(Dropping need for "|title|" part (1/2).) |
m (Text replacement - "<br clear=all>" to "<br style="clear:both;" />") |
||
(4 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
<includeonly | <includeonly | ||
>{{#if | >{{#if: {{{1|}}} | ||
| {{#if: {{#ask: [[patch_title::{{{1}}}]] | ?patch_title | mainlabel=- }} | |||
| {{#ask: [[patch_title::{{{1}}}]] | |||
|?patch_title = title | |||
|?patch_date #ISO = date | |||
|?patch_postid #- = postid | |||
| mainlabel = - | |||
| headers = hide | |||
| format = plainlist | |||
| template = Patch forum link | |||
| named args = yes | |||
}}{{#ifeq:{{NAMESPACE}}|{{ns:0}}|{{#set:Patch_pages={{{1}}}}}{{#ifeq:{{{2|}}}|PCPa|[[Category:PCPa]]|[[Category:PCPm]]}}}} | |||
| <br style="clear:both;" />{{error|Patch-title "{{{1}}}" Not Found! )|( <i>Template:Patch</i>: }} | |||
| | |||
}} | }} | ||
| <br style="clear:both;" />{{error|Missing Patch-title Input! )|( <i>Template:Patch</i>: }} | |||
}}</includeonly | }}</includeonly | ||
><noinclude | ><noinclude>{{documentation}}<!-- debug -- | ||
<!-- debug -- | |||
;Preview/Debug | ;Preview/Debug | ||
: | :1){{{{PAGENAME}} }} | ||
:2){{{{PAGENAME}}|foobar}} | |||
:3){{{{PAGENAME}}|Le Petit Fix}} | |||
: | |||
: | |||
<noinclude> | --><noinclude> |
Latest revision as of 22:16, 14 November 2024
Template documentation (for the template shown above, sometimes hidden or invisible)
- Usage
{{ Patch | <PATCH-NAME> }}
- Example
- Typing "
... added in {{Patch|Le Petit Fix}} patch.
" - Returns "... added in Le Petit Fix (2015-11-10) patch."
- The link links to the related patch development page on the Haven & Hearth forum.
- Details
- The patch-name is case sensitive.
- See the Game Updates page for known/correct patch names.
Visit Template:Patch/doc to edit this text! (How does this work?)