Template:Future: Difference between revisions
[checked revision] | [checked revision] |
No edit summary |
No edit summary |
||
(15 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
{|type="wikitable" border="0" | {|type="wikitable" border="0" | ||
|[[File:sunrise.png|50px]] | |[[File:sunrise.png|50px]] | ||
|{{#ifeq:{{{version}}}|{{current}}|This instance of [[Template:Future]] seems to be '''obsolete'''. Please check, if this {{{unit|article}}} contains information that is only | |{{#ifeq:{{{version}}}|{{current}}|This instance of [[Template:Future]] seems to be '''obsolete'''. Please check, if this {{{unit|article}}} contains information that is only valid for future {{rml}} versions. If this is not the case, feel free to remove this template. Don't forget to check [[:Category:Future]] if there are more obsolete instances.|This {{{unit|article}}} contains information that is only valid for a '''future {{rml}} version'''. The {{{unit|article}}} refers to version {{{version}}}, whereas the current {{rml}} version is {{current}}.}}{{#if:{{{user|}}}| {{current}}|}} | ||
|} | |} | ||
|} | |}[[Category:Future]]</includeonly><noinclude> | ||
</includeonly> | |||
<noinclude> | |||
==Usage== | ==Usage== | ||
This template can be used to mark articles with contents refering to future {{rml}} versions. This is necessary because the claim of this wiki is to represent the current shema. Generally speaking, information on future versions should be removed, but especially just prior to a new release it can be too puristic to avoid any prospects. | This template can be used to mark articles with contents refering to future {{rml}} versions. This is necessary because the claim of this wiki is to represent the current shema. Generally speaking, information on future versions should be removed, but especially just prior to a new release it can be too puristic to avoid any prospects. | ||
Line 17: | Line 15: | ||
For other templates see [[:Category:Template]]. | For other templates see [[:Category:Template]]. | ||
Alternatively, employ [[template:unlock]] to prepare hidden content that becomes visible with the coming version change. | |||
===Options=== | ===Options=== | ||
This template has there named parameters. | This template has there named parameters. | ||
Line 24: | Line 24: | ||
* ''unit:'' optional; the scope of the text on future versions: does it affect the complete article or only e.g. a section or paragraph? The defult is ''Article''. | * ''unit:'' optional; the scope of the text on future versions: does it affect the complete article or only e.g. a section or paragraph? The defult is ''Article''. | ||
* ''user:'' Your signature. For convenience, use <tt>user=<nowiki>~~~~</nowiki></tt> | * ''user:'' Your signature. For convenience, use <tt>user=<nowiki>~~~~</nowiki></tt> | ||
==Examples== | ==Examples== | ||
< | Under version 2.4, | ||
<pre>{{future|version=2.9}}</pre> | |||
delivers | delivers | ||
{ | {{future|version=2.9}} | ||
{| | |||
< | <pre>{{future|version=2.9|unit=section|user=~~~~}}</pre> | ||
delivers | delivers | ||
{| | {{future|version=2.9|unit=section|user=[[User:Ferri Leberl|Ferri Leberl]] ([[User talk:Ferri Leberl|talk]]) 17:34, 15 April 2020 (CEST)}} | ||
| | |||
<pre>{{future|version=2.4|unit=section|user=~~~~}}</pre> | |||
|[[ | delivers | ||
| | |||
|} | {{future|version=2.4|unit=section|user=[[User:Ferri Leberl|Ferri Leberl]] ([[User talk:Ferri Leberl|talk]]) 17:32, 15 April 2020 (CEST)}} | ||
[[Category: | [[Category:ContentTemplate]] | ||
{{interwiki}} | |||
</noinclude> | </noinclude> | ||
Latest revision as of 11:29, 16 April 2021
Usage
This template can be used to mark articles with contents refering to future railML® versions. This is necessary because the claim of this wiki is to represent the current shema. Generally speaking, information on future versions should be removed, but especially just prior to a new release it can be too puristic to avoid any prospects.
To mark information on future versions include {{Template:Future}} into the source code. When the new version is published, please remember to check Category:Future and remove obsolete instances of this template.
Articles, where this template is included, are listed in Category:Future.
For other templates see Category:Template.
Alternatively, employ template:unlock to prepare hidden content that becomes visible with the coming version change.
Options
This template has there named parameters.
The arguments are
- version: obligatory; the version to which the content refers
- unit: optional; the scope of the text on future versions: does it affect the complete article or only e.g. a section or paragraph? The defult is Article.
- user: Your signature. For convenience, use user=~~~~
Examples
Under version 2.4,
{{future|version=2.9}}
delivers
|
{{future|version=2.9|unit=section|user=~~~~}}
delivers
|
{{future|version=2.4|unit=section|user=~~~~}}
delivers
|