Difference between revisions of "Template:Future"
Jump to navigation
Jump to search
Joelmartin (talk | contribs) m (Text replacement - "<!--T:(.*)-->" to "") |
Joelmartin (talk | contribs) m (Text replacement - "</>" to "") |
||
Line 5: | Line 5: | ||
{{mbox | {{mbox | ||
| type = content | | type = content | ||
− | | text = ''' Warning - {{<tvar|1>#if: {{{1|}}}| | + | | text = ''' Warning - {{<tvar|1>#if: {{{1|}}}|{{<tvar|2>#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 18: | Line 18: | ||
− | Adds a notice that the feature is part of a future version of MediaWiki, and places the page in <tvar|future>[[:Category:Future]] | + | 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). |
Revision as of 15:45, 21 December 2019
![]() | Warning - {{<tvar|1>#if: |{{<tvar|2>#ifexist:MediaWiki {{{1|[[Special:MyLanguage/MediaWiki {{{1|MediaWiki {{{1]]|v<tvar|ver>{{{1}}}}}|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.