Difference between revisions of "Template:Future"
Jump to navigation
Jump to search
Joelmartin (talk | contribs) m (Text replacement - "</translate>" to "") |
Joelmartin (talk | contribs) m (Text replacement - "<tvar|2>" to "") |
||
(3 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
{{mbox | {{mbox | ||
| type = content | | type = content | ||
− | | text = ''' | + | | text = ''' Warning - {{#if: {{{1|}}}|{{#ifexist:MediaWiki {{padleft:|4|{{{1}}}}}|[[Special:MyLanguage/MediaWiki {{padleft:|4|{{{1}}}}}|MediaWiki {{padleft:|4|{{{1}}}}}]]|v<tvar|ver>{{{1}}}}}|This version}} has not been released yet. This feature may be modified or removed before the final release.''' |
}}{{#if:{{{nocat|}}}||<includeonly>{{#if: {{{1|}}}|[[Category:Due in v{{{1}}}{{#translation:}}]]|[[Category:Future{{#translation:}}]]}}</includeonly>}} | }}{{#if:{{{nocat|}}}||<includeonly>{{#if: {{{1|}}}|[[Category:Due in v{{{1}}}{{#translation:}}]]|[[Category:Future{{#translation:}}]]}}</includeonly>}} | ||
| #default= | | #default= | ||
Line 11: | Line 11: | ||
}}<noinclude> | }}<noinclude> | ||
− | == Usage == | + | == Usage == |
− | <nowiki>{{Future|</nowiki | + | <nowiki>{{Future|</nowiki> version}} |
− | |||
− | |||
− | < | + | Adds a notice that the feature is part of a future version of MediaWiki, and places the page in <tvar|future>[[:Category:Future]], if no version is supplied, or <tvar|due><code><nowiki>[[Category:Due in vX]]</nowiki></code> if it is (where X is the version number). |
+ | |||
+ | |||
If the <code>nocat</code> parameter is specified, the page will not be categorized. | If the <code>nocat</code> parameter is specified, the page will not be categorized. | ||
− | + | ||
This can be useful for extension pages that wish to use this template. | This can be useful for extension pages that wish to use this template. | ||
Latest revision as of 19:19, 21 December 2019
![]() | Warning - This version has not been released yet. This feature may be modified or removed before the final release. |
Usage
{{Future| version}}
Adds a notice that the feature is part of a future version of MediaWiki, and places the page in <tvar|future>Category:Future, if no version is supplied, or <tvar|due>[[Category:Due in vX]]
if it is (where X is the version number).
If the nocat
parameter is specified, the page will not be categorized.
This can be useful for extension pages that wish to use this template.