Difference between revisions of "Template:Changelog"

From Krafties
Jump to navigation Jump to search
m
m
Line 1: Line 1:
 
<onlyinclude>{{#switch:{{{item}}}
 
<onlyinclude>{{#switch:{{{item}}}
 
|necessitypack=Necessity Pack v{{{version}}}
 
|necessitypack=Necessity Pack v{{{version}}}
<!--- --->{{#if:{{{blog|}}}|:[{{{blog}}} blog entry]}}
 
 
|kraftieshud=Krafties HUD v{{{version}}}
 
|kraftieshud=Krafties HUD v{{{version}}}
<!--- --->{{#if:{{{blog|}}}|:[{{{blog}}} blog entry]|}}
 
 
|hometemple=Home Temple v{{{version}}}
 
|hometemple=Home Temple v{{{version}}}
<!--- --->{{#if:{{{blog|}}}|:[{{{blog}}} blog entry]|}}
 
 
|gianttemple=Giant Temple v{{{version}}}
 
|gianttemple=Giant Temple v{{{version}}}
<!--- --->{{#if:{{{blog|}}}|:[{{{blog}}} blog entry]}}
 
 
|craftingtemple=Crafting Temple v{{{version}}}
 
|craftingtemple=Crafting Temple v{{{version}}}
<!--- --->{{#if:{{{blog|}}}|:[{{{blog}}} blog entry]}}
 
 
|battletemple=Battle Temple v{{{version}}}
 
|battletemple=Battle Temple v{{{version}}}
<!--- --->{{#if:{{{blog|}}}|:[{{{blog}}} blog entry]}}
 
 
|#default={{{item}}} v{{{version}}}
 
|#default={{{item}}} v{{{version}}}
<!--- --->{{#if:{{{blog|}}}|:[{{{blog}}} blog entry]}}
+
}}
}}</onlyinclude>
+
{{#if:{{{blog|}}}|*[{{{blog}}} blog entry]}}</onlyinclude>
 
{{Documentation}}
 
{{Documentation}}

Revision as of 05:40, 11 May 2017

{{{item}}} v{{{version}}}

Documentation icon Template documentation ( view · talk · edit)

This template creates a changelog entry link, to easily document changes in the game.

  • It will create subpages for Krafties changelog.
  • only use numbers in the "version" parameter
  • The creature and tool attachments have not been included since they simply do not function without the HUD, so just document the Necessity Pack rather than the individual items. Krafties HUD can be an exception.

Usage

{{changelog
| item=
| version= number
}}

Items

If you use an item word not on this list, then it will not work correctly. Remember that it is case sensitive.

necessitypack is the Necessity Pack
kraftieshud is the Krafties HUD
hometemple is the home temple
gianttemple is the giant temple
battletemple is the battle temple
miningrock is the mining rock
designer is the attachment designer
Example Usage
{{changelog|item=necessitypack|version=4}} Necessity Pack v4
The above documentation is transcluded from Template:Changelog/doc.
Editors can experiment in this template's sandbox
Please add categories to the /doc subpage within <includeonly>...</includeonly>