Template:Prerelease: Difference between revisions
From Vintage Story Wiki
(Created template, still WIP) |
(first version) |
||
Line 2: | Line 2: | ||
|bgcol= #d5f6f4 | |bgcol= #d5f6f4 | ||
|linecol = #2dd2c7 | |linecol = #2dd2c7 | ||
{{# | {{#ifeq: {{{inline|}}} | ||
| {{!}} mini = true | |||
{{!}} text = The following information applies only to the latest prerelease version. It may not be accurate for the current stable version. | |||
| {{!}} title=Prerelease content | |||
{{!}} text=This article is about a topic that is in the latest prerelease version. It may not be accurate for the current stable version. | |||
{{!}} image = Bellpepper.png | |||
{{!}} imagesize = 64px}} | |||
| discuss = true | |||
}}</onlyinclude><noinclude> | }}</onlyinclude><noinclude> | ||
{{doc}} | {{doc}} | ||
</noinclude> | </noinclude> |
Revision as of 14:29, 18 October 2024
[view | edit | history | purge this page]Documentation
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'.
Parameter | Description | Type | Status | |
---|---|---|---|---|
inline | inline | Whether or not the information is in-line
| Boolean | optional |
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}}
{{Prerelease|inline=true}}
[view | edit | history | purge this page]The above documentation is transcluded from Template:Prerelease/doc.