Template:Prerelease/doc: Difference between revisions
From Vintage Story Wiki
(Created page with "<noinclude><languages /></noinclude> <templatedata> { "params": { "inline": { "description": "Whether or not the information is in-line", "type": "boolean", "required": false, "example": "true" } }, "description": "Marks a page or an in-line section as information that is relevant to a pre-release version of Vintage Story." } </templatedata> == Usage == If the entire article is only relevant to the pre-release version, add this template to the '''top...") |
(Added info about auto-categorization) |
||
(One intermediate revision by the same user not shown) | |||
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}}. | ||
Line 27: | Line 30: | ||
<pre> | <pre> | ||
{{Prerelease| | {{Prerelease|inline=true}} | ||
</pre> | </pre> | ||
Line 37: | Line 40: | ||
<pre> | <pre> | ||
{{Prerelease| | {{Prerelease|inline=true}} | ||
</pre> | </pre> | ||
{{Prerelease| | {{Prerelease|inline=true}} | ||
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude> | <noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude> |
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'.
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}}