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 - "</translate>" to "") |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
<languages/> | <languages/> | ||
− | </noinclude>{{#switch: | + | </noinclude>{{#switch: |
| = | | = | ||
{{mbox | {{mbox | ||
| type = content | | type = content | ||
− | | text = '''<!--T:1--> Warning | + | | text = '''<!--T:1--> Warning - <!--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. <!--T:3--> 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 12: | Line 12: | ||
== Usage == <!--T:4--> | == Usage == <!--T:4--> | ||
− | |||
− | <nowiki>{{Future|</nowiki><!--T:8--> version | + | |
+ | <nowiki>{{Future|</nowiki><!--T:8--> version}} | ||
Line 21: | Line 21: | ||
<!--T:6--> | <!--T:6--> | ||
− | 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. |
<!--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. | ||
− | + | ||
[[Category:Alert templates{{#translation:}}|{{PAGENAME}}]] | [[Category:Alert templates{{#translation:}}|{{PAGENAME}}]] | ||
[[Category:Categorizing templates{{#translation:}}|{{PAGENAME}}]] | [[Category:Categorizing templates{{#translation:}}|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> |
Revision as of 04:11, 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.