Difference between revisions of "Template:Changelog"
Decomposer (talk | contribs) (Added colored border below each of the cells. (Adding border-bottom to tr style doesn't work.); changed template to generic Documentation) |
Decomposer (talk | contribs) m (Set all cells' border as same color) |
||
Line 1: | Line 1: | ||
|- | |- | ||
− | | style="background: #F2FAF9; text-align: center; border-bottom: 1px solid # | + | | style="background: #F2FAF9; text-align: center; border-bottom: 1px solid #2F6A47;"|'''{{{version}}}''' |
− | | style="background: #F2FAF9; text-align: center; border-bottom: 1px solid # | + | | style="background: #F2FAF9; text-align: center; border-bottom: 1px solid #2F6A47;" |{{{date}}} |
| style="background: #F2FAF9; border-bottom: 1px solid #2F6A47;" | | | style="background: #F2FAF9; border-bottom: 1px solid #2F6A47;" | | ||
{{{changelog}}} | {{{changelog}}} |
Revision as of 23:42, June 23, 2020
|- | style="background: #F2FAF9; text-align: center; border-bottom: 1px solid #2F6A47;"|{{{version}}} | style="background: #F2FAF9; text-align: center; border-bottom: 1px solid #2F6A47;" |{{{date}}} | style="background: #F2FAF9; border-bottom: 1px solid #2F6A47;" | {{{changelog}}}
Template documentation (view)
This is a base template for changelog tables. It is to be used in conjunction with Template:ChangelogTop (place above any uses of Template:Changelog) and Template:ChangelogBottom (place below).
Code | Function |
---|---|
version | Version number for game update |
date | Release date for game update |
changelog | Full changelog, detailing all additions and modifications made by the update |
By default, the table will only take up a portion of the browser's width. If you would like to save vertical space, you can add fullwidth=true
to Template:ChangelogTop to make the table take the full width of the page.
Below is an example of usage, taken from Animal Crossing: Pocket Camp#Update History.
{{ChangelogTop}}
{{Changelog
|version = 0.9.0
|date = October 25, 2017
|changelog =
* Initial release in {{wp|Australia}}
}}
{{ChangelogBottom}}