Difference between revisions of "Template:History"

From Raft Wiki
Jump to: navigation, search
m (Merge from Template:History/Draft)
(ughhh)
 
(One intermediate revision by the same user not shown)
Line 12: Line 12:
 
**** Footer ****
 
**** Footer ****
   
-->{{#if: {{{foot|}}} |</table> {{#vardefine: history-head|0}}|<tr>}} |<!--
+
-->{{#ifeq: {{{1}}}|foot|</table> {{#vardefine: history-head|0}}|<tr>}} |<!--
   
 
**** Collums ****
 
**** Collums ****
Line 25: Line 25:
   
 
-->{{#if: {{{6|}}}|</tr><tr><td colspan="4">{{{6|}}}</td>}}
 
-->{{#if: {{{6|}}}|</tr><tr><td colspan="4">{{{6|}}}</td>}}
</tr>}}}}<noinclude>{{Doc}}</noinclude>
+
</tr>}}}}<!--
  +
  +
--><noinclude>{{Doc}}</noinclude>

Latest revision as of 09:33, 7 April 2021

About the Documentation template Documentation - Template:HistoryViewEditHistoryPurge

Template:History is a wiki's new standard. It informs people about history of item/animal. Its content should be in ascending order (this means the newer ones are placed on top of an article).

Usage

{{History
|Type of version (beta/early access/upcoming/foot)
|This is for Update identification.
|This is a first change done in the listed update
|This is a second change done in the listed update
|This is a third change done in the listed update
|This is a fourth change done in the listed update
}}

Example

{{History|early access}}
{{History||Update 7|Screecher was added.}}
{{History|foot}}

will give you

Early Access
Update 7 Screecher was added.

TemplateData

Adds history template to the section

Template parameters

ParameterDescriptionTypeStatus
Type of version1

no description

Example
beta/early access/upcoming
Stringsuggested
Update2

Displays Update version

Example
Update 11, Update 12
Stringsuggested
Description3

Describes the changes in specific version

Example
Tangaroa was added
Linesuggested
2nd Description4

Adds new line for description

Example
The Balboa Island had a secret building, which was removed
Lineoptional
3rd Description5

Adds new line for description

Lineoptional
4th description6

Adds new line for description

Lineoptional

The above was transcluded from Template:History/doc