Difference between revisions of "Template:Future"

From RobotX
Jump to navigation Jump to search
Mediawiki>TheStoneBot
m (migration to {{#translation:}}, replaced: {{translation}} → {{#translation:}} (4))
 
m (Text replacement - "<tvar|2>" to "")
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
 
<languages/>
 
<languages/>
</noinclude>{{#switch:<translate></translate>
+
</noinclude>{{#switch:
 
| =
 
| =
 
{{mbox
 
{{mbox
 
   | type = content
 
   | type = content
   | text = '''<translate><!--T:1--> Warning</translate> - <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> <translate><!--T:3--> This feature may be modified or removed before the final release.</translate>'''
+
   | 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=
 
   {{#invoke:Template translation|renderTranslatedTemplate|template=Template:Future|noshift=1}}
 
   {{#invoke:Template translation|renderTranslatedTemplate|template=Template:Future|noshift=1}}
 
}}<noinclude>
 
}}<noinclude>
<translate>
 
== Usage == <!--T:4-->
 
</translate>
 
  
  <nowiki>{{Future|</nowiki><translate><!--T:8--> version</translate>}}
+
== Usage ==
 +
 
 +
 
 +
  <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.
  
<translate>
 
<!--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).
 
  
<!--T:6-->
 
If the <code>nocat</code> parameter is specified, the page will not be categorized.</translate>
 
<translate>
 
<!--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.
</translate>
+
 
  
 
[[Category:Alert templates{{#translation:}}|{{PAGENAME}}]]
 
[[Category:Alert templates{{#translation:}}|{{PAGENAME}}]]
 
[[Category:Categorizing templates{{#translation:}}|{{PAGENAME}}]]
 
[[Category:Categorizing templates{{#translation:}}|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

Latest revision as of 19:19, 21 December 2019


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.