Difference between revisions of "Template:ChangelogTop"
From Nookipedia, the Animal Crossing wiki
SuperHamster (talk | contribs) (Merging version and date columns (better for mobile experience)) |
Dorsal Axe (talk | contribs) (Convert table to styled class) |
||
Line 1: | Line 1: | ||
− | <includeonly>{| class=" | + | <includeonly>{| class="styled color-updates" style="margin: 0 auto; {{#if: {{{fullwidth|}}}| width: 99%; | }}" |
|- | |- | ||
− | ! style=" | + | ! style="font-size: 1.2em;"| Version |
− | ! width=600px style=" | + | ! width=600px style="font-size: 1.2em;"| Changelog</includeonly><noinclude>{{Documentation|Template:Changelog}}[[Category:Table templates]]</noinclude> |
Revision as of 13:11, March 17, 2021
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}}