Template:Patch/doc

From CotH-Wiki
Jump to navigationJump to search

Do not directly use this template! Use the appropriate template in Category:Patch templates instead. Example: {{Patch 3.3.0|<note=Added>}}

Patch adds a nice formatted link about patch changes. It is an internal template not designed to be called directly.

Usage

Template:Patch 2.1 would use it thus:

<onlyinclude>{{Patch
  |patch=2.1
  |patchpage=2.1.0
  |date=2007-05-22
  |bluenote={{{bluenote|}}}
  |note={{{note|}}}
  |link={{{link|}}}
  |comment={{{comment|}}}
}}</onlyinclude>
  • If the date is omitted, it defaults to "PTR".
  • patchpage is optional if it would be equal to patch. You can use it to avoid linking to a redirect.

Examples

{{Patch
  |patch=1.2.3
  |date=yyyy-mm-dd
  |bluenote=quote from a forum thread
  |note=Quoted text from patch notes
  |link=http://www.example.invalid/forum_thread_for_bluenote
  |comment=Un-official notes, undocumented changes or additional info
}}

{{Patch
  |patch=1.2.3
  |date=yyyy-mm-dd
  |note=Quoted text from patch notes
  |comment=Un-official notes, undocumented changes or additional info
}}

{{Patch
  |patch=1.2.3
  |date=yyyy-mm-dd
  |comment=Un-official notes, undocumented changes or additional info
}}

Patch 1.2.3 (yyyy-mm-dd): "quote from a forum thread" (Source)

Un-official notes, undocumented changes or additional info

Patch 1.2.3 (yyyy-mm-dd): Quoted text from patch notes

Un-official notes, undocumented changes or additional info

Patch 1.2.3 (yyyy-mm-dd): Un-official notes, undocumented changes or additional info

Notes

  • note, bluenote and comments are all optional, but at least one must be included
  • Comments are recommended when an item only gives specifics about the new change. For example "foo was increased to 120%" could have the comment "Previously 90%".