Template:VersionFrame/doc

From RimWorld Wiki
Jump to navigation Jump to search


Description[edit]

An unified look for all individual version pages.
This template removes Title by using an Extension Magic Word : __NOTITLE__.
This template add pages to Category:Version.

Syntax[edit]

Simple Style (no headers) Complex Style (with headers)
{{ VersionFrame | Version = | Description = | Body = }} {{ VersionFrame | Version = | Description = | Installation = | Changes = | NewContents = | Bugfixes = | Hotfixes = }}
Version
the version number of this version
Description
a short description about this version
Body
(optional) the details of this version
Installation
(optional) special instructions for installing this version
Changes
(optional) list of changes released in this version
NewContents
(optional) list of new contents released in this version
Bugfixes
(optional) list of bug fixes in this version
Bug fix refers to fixed issues that is found during internal development and testing
Hotfixes
(optional) list of hotfixes in this version
Hotfix are fixes for issues that is found in current released version of product, and the fix is released prior to the next scheduled update. Usually hotfixes are part of current released version as Cumulative Update (CU)


Cheat Sheet[edit]

A quick copy & paste setup for new version pages

{{ VersionFrame | Version = | Description =

| Body = <noinclude>{{Version}}</noinclude>
| Installation =
| Changes =
| NewContents =
| Bugfixes =
| Hotfixes =
}}

Samples[edit]

You Type You Get
{{ VersionFrame | Version = 0.0.249a

| Description = Internal Version 0.0249a was released on November 2, 2013.
| Body =
* Fixed various bugs
* T and G are now zoom keys
* Traders now stay around for two days, not a half day
* Reorganized options menu
* Added video quality levels. Mostly it just turns off AA
}}

0.0.249a
Internal Version 0.0249a was released on November 2, 2013.
  • Fixed various bugs
  • T and G are now zoom keys
  • Traders now stay around for two days, not a half day
  • Reorganized options menu
  • Added video quality levels. Mostly it just turns off AA

{{ VersionFrame | Version = 0.0249a

| Description = Internal Version 0.0249a was released on November 2, 2013.
| Changes = * T and G are now zoom keys
* Traders now stay around for two days, not a half day
* Reorganized options menu
| NewContents = * Added video quality levels. Mostly it just turns off AA
| Bugfixes = * Fixed various bugs
}}

0.0249a
Internal Version 0.0249a was released on November 2, 2013.

Changes

  • T and G are now zoom keys
  • Traders now stay around for two days, not a half day
  • Reorganized options menu

New Contents

  • Added video quality levels. Mostly it just turns off AA

Bug Fixes

  • Fixed various bugs

{{ VersionFrame | Version = 0.0.0

| Description = Example of showing all optional content
| Body = * this is body section; usually not used with other headers
| Installation = * this is installation guide section
| Changes = * this is change section
| NewContents = * this is new content section
| Bugfixes = * this is bug fix section
| Hotfixes = * this is hotfix section
}}

0.0.0
Example of showing all optional content
  • this is body section; usually not used with other headers

Installation

  • this is installation guide section

Changes

  • this is change section

New Contents

  • this is new content section

Bug Fixes

  • this is bug fix section

Hotfixes

  • this is hotfix section

Technical Information[edit]

Original Version[edit]

<div style="width:100%; overflow:hidden;" class="mpb br15tr br15tl br15bl br15br"> <div class="mpth mpbr mpbb br15br version_num">{{{VERSION}}}</div> <div style="padding:0 10px; display:inline-block;">{{{DESCRIPTION}}}</div> {{{BODY}}} </div>

Table Version[edit]

{| class="mpb br15tr br15tl br15bl br15br" style="width:100%; overflow:hidden;" | class="mpth br15tl br15br version_num" | {{{VERSION}}} | style="width:100%;padding-left:10px;" | {{{DESCRIPTION}}} |- | colspan="2" | {{{BODY}}} |}

CSS Class Information[edit]

CSS Class URL = http://rimworldwiki.com/load.php?modules=site


.mpb{border:1px solid #aaa}
.mpbl{border-left:1px solid #aaa}
.mpbr{border-right:1px solid #aaa}
.mpbt{border-top:1px solid #aaa}
.mpbb{border-bottom:1px solid #aaa}


.mpth{font-family:EasonPro,\"Times New Roman\",serif;font-size:1.7692307692em;color:#fff;text-shadow:rgba(0,0,0,0.75) 0 0 .25em;background-color:#666;font-weight:400;height:48px}
.mpth2{background-color:#e7e7e7}


.version_sm{background:#000;color:#fff;padding:2px 2px 0;line-height:8px;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;display:inline-block }
.version_cat{max-width:200px;padding:2px 10px;margin:20px 0 0 0}
.version_num{padding:10px 20px;max-height:19px;display:inline-block}


.text-left{text-align:left}
.text-center{text-align:center}
.text-right{text-align:right}
.text-top{vertical-align:top}
.text-middle{vertical-align:middle}
.text-bottom{vertical-align:bottom}


.br10tl{-webkit-border-top-left-radius:10px;-moz-border-radius-topleft:10px;border-top-left-radius:10px}
.br10tr{-webkit-border-top-right-radius:10px;-moz-border-radius-topright:10px;border-top-right-radius:10px}
.br10bl{-webkit-border-bottom-left-radius:10px;-moz-border-radius-bottomleft:10px;border-bottom-left-radius:10px}
.br10br{-webkit-border-bottom-right-radius:10px;-moz-border-radius-bottomright:10px;border-bottom-right-radius:10px}


.br15tl{-webkit-border-top-left-radius:15px;-moz-border-radius-topleft:15px;border-top-left-radius:15px}
.br15tr{-webkit-border-top-right-radius:15px;-moz-border-radius-topright:15px;border-top-right-radius:15px}
.br15bl{-webkit-border-bottom-left-radius:15px;-moz-border-radius-bottomleft:15px;border-bottom-left-radius:15px}
.br15br{-webkit-border-bottom-right-radius:15px;-moz-border-radius-bottomright:15px;border-bottom-right-radius:15px}


.br20tl{-webkit-border-top-left-radius:20px;-moz-border-radius-topleft:20px;border-top-left-radius:20px}
.br20tr{-webkit-border-top-right-radius:20px;-moz-border-radius-topright:20px;border-top-right-radius:20px}
.br20bl{-webkit-border-bottom-left-radius:20px;-moz-border-radius-bottomleft:20px;border-bottom-left-radius:20px}
.br20br{-webkit-border-bottom-right-radius:20px;-moz-border-radius-bottomright:20px;border-bottom-right-radius:20px}

See Also[edit]