Editing Template:VersionFrame/doc

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
{{Obsolete|reason=Not in use}}
 
 
 
==Description==
 
==Description==
 
An unified look for all individual version pages.
 
An unified look for all individual version pages.
<br/>This template removes Title by using an Extension Magic Word : <nowiki>__NOTITLE__</nowiki>.
 
<br/>This template add pages to [[:Category:Version]].
 
  
 
==Syntax==
 
==Syntax==
{| class="wikitable" style="width:100%;"
+
<code><nowiki>
! style="width:50%;" | Simple Style (no headers) !! style="width:50%;" | Complex Style (with headers)
+
{{ VersionFrame | VERSION = | DESCRIPTION = | BODY = }}
|-
+
</nowiki></code>
| <code><nowiki>{{ VersionFrame | Version = | Description = | Body = }}</nowiki></code>
 
| <code><nowiki>{{ VersionFrame | Version = | Description = | Installation = | Changes = | NewContents = | Bugfixes = | Hotfixes = }}</nowiki></code>
 
|}
 
  
; Version
+
; VERSION
 
: the version number of this version
 
: the version number of this version
 
+
;DESCRIPTION
; Description
 
 
: a short description about this version
 
: a short description about this version
 
+
;BODY
; Body
+
: the details of this version
: (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 <br/>Bug fix refers to fixed issues that is found during internal development and testing
 
 
 
; Hotfixes
 
: (optional) list of hotfixes in this version <br/>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===
 
A quick copy & paste setup for new version pages
 
{| class="wikitable" style="width:100%;"
 
| <code><nowiki>{{</nowiki> VersionFrame <nowiki>|</nowiki> Version = <nowiki>|</nowiki> Description = <br/>
 
<nowiki>|</nowiki> Body = <nowiki><noinclude>{{</nowiki>Version<nowiki>}}</noinclude></nowiki><br/>
 
<nowiki>|</nowiki> Installation = <br/>
 
<nowiki>|</nowiki> Changes = <br/>
 
<nowiki>|</nowiki> NewContents = <br/>
 
<nowiki>|</nowiki> Bugfixes = <br/>
 
<nowiki>|</nowiki> Hotfixes = <br/>
 
<nowiki>}}</nowiki></code>
 
|}
 
  
 
==Samples==
 
==Samples==
 
{| class="wikitable" style="width:100%;"
 
{| class="wikitable" style="width:100%;"
! style="width:40%;" | You Type !! style="width:60%;" | You Get
+
! style="width:50%;" | You Type !! style="width:50%;" | You Get
 
|-
 
|-
| style="padding:10px;" | <nowiki>{{</nowiki> VersionFrame <nowiki>|</nowiki> Version = 0.0.249a
+
| style="padding:10px;" | <nowiki>{{</nowiki> VersionFrame
<nowiki>|</nowiki> Description = '''Internal Version 0.0249a''' was released on November 2, 2013.<br/>
+
<nowiki>|</nowiki> VERSION = 0.0.1<br/>
<nowiki>|</nowiki> Body =<br/>
+
<nowiki>|</nowiki> DESCRIPTION = introduced walls<br/>
<nowiki>*</nowiki> Fixed various bugs<br/>
+
<nowiki>|</nowiki> BODY =<br/>
<nowiki>*</nowiki> T and G are now zoom keys <br/>
+
<nowiki>*</nowiki> added wood wall<br/>
<nowiki>*</nowiki> Traders now stay around for two days, not a half day<br/>
+
<nowiki>*</nowiki> added steel wall<br/>
<nowiki>*</nowiki> Reorganized options menu<br/>
 
<nowiki>*</nowiki> Added video quality levels. Mostly it just turns off AA<br/>
 
}}
 
| style="padding:10px;" | {{ 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
 
}}
 
|-
 
| style="padding:10px;" | <nowiki>{{</nowiki> VersionFrame <nowiki>|</nowiki> Version = 0.0249a
 
<nowiki>|</nowiki> Description = '''Internal Version 0.0249a''' was released on November 2, 2013.<br/>
 
<nowiki>|</nowiki> Changes = * T and G are now zoom keys<br/>
 
<nowiki>*</nowiki> Traders now stay around for two days, not a half day<br/>
 
<nowiki>*</nowiki> Reorganized options menu<br/>
 
<nowiki>|</nowiki> NewContents = <nowiki>*</nowiki> Added video quality levels. Mostly it just turns off AA<br/>
 
<nowiki>|</nowiki> Bugfixes = <nowiki>*</nowiki> Fixed various bugs<br/>
 
}}
 
| style="padding:10px;" | {{ 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
 
}}
 
|-
 
| style="padding:10px;" | <nowiki>{{</nowiki> VersionFrame <nowiki>|</nowiki> Version = 0.0.0
 
<nowiki>|</nowiki> Description = Example of showing all optional content<br/>
 
<nowiki>|</nowiki> Body = <nowiki>*</nowiki> this is body section; usually not used with other headers<br/>
 
<nowiki>|</nowiki> Installation = <nowiki>*</nowiki> this is installation guide section<br/>
 
<nowiki>|</nowiki> Changes = <nowiki>*</nowiki> this is change section<br/>
 
<nowiki>|</nowiki> NewContents = <nowiki>*</nowiki> this is new content section<br/>
 
<nowiki>|</nowiki> Bugfixes = <nowiki>*</nowiki> this is bug fix section<br/>
 
<nowiki>|</nowiki> Hotfixes = <nowiki>*</nowiki> this is hotfix section<br/>
 
}}
 
| style="padding:10px;" | {{ 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
 
 
}}
 
}}
 +
| style="padding:10px;" | {{ VersionFrame
 +
  | VERSION = 0.0.1
 +
  | DESCRIPTION = introduced walls
 +
  | BODY =
 +
* added wood wall
 +
* added steel wall
 +
  }}
 
|}
 
|}
  
==Technical Information==
+
==See Also==
===Original Version===
+
* [[Template:Version]]
<code><nowiki>
+
* [[Template:V]]
<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>
 
</nowiki></code>
 
  
===Table Version===
+
<includeonly>
<code><nowiki>
+
<!-- Any categories for the template itself -->
{| class="mpb br15tr br15tl br15bl br15br" style="width:100%; overflow:hidden;"
+
</includeonly>
| class="mpth br15tl br15br version_num" | {{{VERSION}}}
 
| style="width:100%;padding-left:10px;" | {{{DESCRIPTION}}}
 
|-
 
| colspan="2" | {{{BODY}}}
 
|}
 
</nowiki></code>
 
  
===CSS Class Information===
+
<noinclude>
<nowiki>CSS Class URL = http://rimworldwiki.com/load.php?modules=site</nowiki>
+
[[Category:Template documentation]]
 
+
</noinclude>
<br/>.mpb{border:1px solid #aaa}
 
<br/>.mpbl{border-left:1px solid #aaa}
 
<br/>.mpbr{border-right:1px solid #aaa}
 
<br/>.mpbt{border-top:1px solid #aaa}
 
<br/>.mpbb{border-bottom:1px solid #aaa}
 
 
 
<br/>.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}
 
<br/>.mpth2{background-color:#e7e7e7}
 
 
 
<br/>.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 }
 
<br/>.version_cat{max-width:200px;padding:2px 10px;margin:20px 0 0 0}
 
<br/>.version_num{padding:10px 20px;max-height:19px;display:inline-block}
 
 
 
<br/>.text-left{text-align:left}
 
<br/>.text-center{text-align:center}
 
<br/>.text-right{text-align:right}
 
<br/>.text-top{vertical-align:top}
 
<br/>.text-middle{vertical-align:middle}
 
<br/>.text-bottom{vertical-align:bottom}
 
 
 
<br/>.br10tl{-webkit-border-top-left-radius:10px;-moz-border-radius-topleft:10px;border-top-left-radius:10px}
 
<br/>.br10tr{-webkit-border-top-right-radius:10px;-moz-border-radius-topright:10px;border-top-right-radius:10px}
 
<br/>.br10bl{-webkit-border-bottom-left-radius:10px;-moz-border-radius-bottomleft:10px;border-bottom-left-radius:10px}
 
<br/>.br10br{-webkit-border-bottom-right-radius:10px;-moz-border-radius-bottomright:10px;border-bottom-right-radius:10px}
 
 
 
<br/>.br15tl{-webkit-border-top-left-radius:15px;-moz-border-radius-topleft:15px;border-top-left-radius:15px}
 
<br/>.br15tr{-webkit-border-top-right-radius:15px;-moz-border-radius-topright:15px;border-top-right-radius:15px}
 
<br/>.br15bl{-webkit-border-bottom-left-radius:15px;-moz-border-radius-bottomleft:15px;border-bottom-left-radius:15px}
 
<br/>.br15br{-webkit-border-bottom-right-radius:15px;-moz-border-radius-bottomright:15px;border-bottom-right-radius:15px}
 
 
 
<br/>.br20tl{-webkit-border-top-left-radius:20px;-moz-border-radius-topleft:20px;border-top-left-radius:20px}
 
<br/>.br20tr{-webkit-border-top-right-radius:20px;-moz-border-radius-topright:20px;border-top-right-radius:20px}
 
<br/>.br20bl{-webkit-border-bottom-left-radius:20px;-moz-border-radius-bottomleft:20px;border-bottom-left-radius:20px}
 
<br/>.br20br{-webkit-border-bottom-right-radius:20px;-moz-border-radius-bottomright:20px;border-bottom-right-radius:20px}
 
 
 
==See Also==
 
* [[Template:VersionNavbox]]
 
* [[Template:V]]
 
* [https://www.mediawiki.org/wiki/Extension:NoTitle Extension:NoTitle]
 

Please note that all contributions to RimWorld Wiki are considered to be released under the CC BY-SA 3.0 (see RimWorld Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)