Template:Prerelease/doc: Difference between revisions

From Vintage Story Wiki
(wow i know how to use my own template)
(Added info about auto-categorization)
 
Line 10: Line 10:
}
}
},
},
"description": "Marks a page or an in-line section as information that is relevant to a pre-release version of Vintage Story."
"description": "Marks a page or an in-line section as information that is relevant to a pre-release version of Vintage Story. Also adds that page to the category 'Pages with prerelease information'."
}
}
</templatedata>
</templatedata>


== Usage ==
== Usage ==
Place the template in the article with prerelease information. This template will automatically include any pages that use it in [[:Category:Pages with prerelease information]].
=== Article ===


If the entire article is only relevant to the pre-release version, add this template to the '''top of the page''', along with any other notice templates such as {{tl|Stub}}.
If the entire article is only relevant to the pre-release version, add this template to the '''top of the page''', along with any other notice templates such as {{tl|Stub}}.

Latest revision as of 21:49, 18 October 2024

Marks a page or an in-line section as information that is relevant to a pre-release version of Vintage Story. Also adds that page to the category 'Pages with prerelease information'.

Template parameters

ParameterDescriptionTypeStatus
inlineinline

Whether or not the information is in-line

Example
true
Booleanoptional

Usage

Place the template in the article with prerelease information. This template will automatically include any pages that use it in Category:Pages with prerelease information.

Article

If the entire article is only relevant to the pre-release version, add this template to the top of the page, along with any other notice templates such as {{Stub}}.

{{Prerelease}}

In-line

Add the following template at the beginning of the section that talks about pre-release information.

{{Prerelease|inline=true}}

Examples

{{Prerelease}}
Bellpepper.png

The following information applies only to the latest prerelease version. It may not be accurate for the current stable version.

{{Prerelease|inline=true}}
Bellpepper.png

The following information applies only to the latest prerelease version. It may not be accurate for the current stable version.