Difference between revisions of "Template:Future"
Jump to navigation
Jump to search
Joelmartin (talk | contribs) m (1 revision imported) |
Joelmartin (talk | contribs) m (Text replacement - "<translate>" to "") |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
<languages/> | <languages/> | ||
− | </noinclude>{{#switch: | + | </noinclude>{{#switch:</translate> |
| = | | = | ||
{{mbox | {{mbox | ||
| type = content | | type = content | ||
− | | text = ''' | + | | text = '''<!--T:1--> Warning</translate> - <!--T:2--> {{<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.</translate> <!--T:3--> This feature may be modified or removed before the final release.</translate>''' |
}}{{#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= | ||
{{#invoke:Template translation|renderTranslatedTemplate|template=Template:Future|noshift=1}} | {{#invoke:Template translation|renderTranslatedTemplate|template=Template:Future|noshift=1}} | ||
}}<noinclude> | }}<noinclude> | ||
− | + | ||
== Usage == <!--T:4--> | == Usage == <!--T:4--> | ||
</translate> | </translate> | ||
− | <nowiki>{{Future|</nowiki | + | <nowiki>{{Future|</nowiki><!--T:8--> version</translate>}} |
+ | |||
− | |||
<!--T:5--> | <!--T:5--> | ||
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). | 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). | ||
Line 22: | Line 22: | ||
<!--T:6--> | <!--T:6--> | ||
If the <code>nocat</code> parameter is specified, the page will not be categorized.</translate> | If the <code>nocat</code> parameter is specified, the page will not be categorized.</translate> | ||
− | + | ||
<!--T:7--> | <!--T:7--> | ||
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. |
Revision as of 03:37, 21 December 2019
![]() | Warning - This version has not been released yet. This feature may be modified or removed before the final release. |
Usage
</translate>
{{Future| version</translate>}}
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.</translate>
This can be useful for extension pages that wish to use this template. </translate>