Difference between revisions of "Template:ChangelogTop"
From Nookipedia, the Animal Crossing wiki
Dorsal Axe (talk | contribs) (Visual refresh to match new theme. Change documentation to use template.) |
SuperHamster (talk | contribs) (Adding optional parameter for fullwidth, to save vertical space) |
||
Line 1: | Line 1: | ||
− | <includeonly>{| class="unsortable roundCorners" align=center style="background: #5FB983; border: 4px solid #5FB983; {{roundy|14px}}" | + | <includeonly>{| class="unsortable roundCorners" align=center style="background: #5FB983; border: 4px solid #5FB983; {{#if: {{{fullwidth|}}}| width: 99%; | }} {{roundy|14px}}" |
|- | |- | ||
! style="font-weight: normal; font-family: Coustard; color: #2f6a47; font-size: 1.2em; text-align:center; width:50px; background-color:#CAE8D6; {{roundytl|9px}}"| Version | ! style="font-weight: normal; font-family: Coustard; color: #2f6a47; font-size: 1.2em; text-align:center; width:50px; background-color:#CAE8D6; {{roundytl|9px}}"| Version | ||
! width=100px style="font-weight: normal; font-family: Coustard; color: #2f6a47; font-size: 1.2em; background-color:#CAE8D6;"| Release Date | ! width=100px style="font-weight: normal; font-family: Coustard; color: #2f6a47; font-size: 1.2em; background-color:#CAE8D6;"| Release Date | ||
! width=600px style="font-weight: normal; font-family: Coustard; color: #2f6a47; font-size: 1.2em; background-color:#CAE8D6; {{roundytr|9px}}"| Changelog</includeonly><noinclude>{{Documentation|Template:Changelog}}[[Category:Table templates]]</noinclude> | ! width=600px style="font-weight: normal; font-family: Coustard; color: #2f6a47; font-size: 1.2em; background-color:#CAE8D6; {{roundytr|9px}}"| Changelog</includeonly><noinclude>{{Documentation|Template:Changelog}}[[Category:Table templates]]</noinclude> |
Revision as of 02:42, March 21, 2020
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}}