Template:Future: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[checked revision][checked revision]
No edit summary
(5 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 an artifact. Please check, if this {{{unit|article}}} contains information that is only vallid for future {{rml}} versions. If this is not the case, feel free to remove this template.|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|}}}| {{{user}}}|}}
|{{#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|}}}| {{{user}}}|}}
|}
|}
|}
|}
Line 10: Line 10:
<noinclude>
<noinclude>
==Usage==
==Usage==
This template can be used to mark articles with missing contents. Please always add a summary of the working tasks on the discussion page of the article in question if you are using this template!
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.


To mark an article as incomplete include <nowiki>{{Template:Missing Information}}</nowiki> into the source code '''and''' please leave a summary on the discussion page of the article, telling the community, which information is missing.
To mark information on future versions include <nowiki>{{Template:Future}}</nowiki> 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:Missing information]].
Articles, where this template is included, are listed in [[:Category:Future]].


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===
'''It is highly recomended to use both arguments of this template'''
This template has there named parameters.


The arguments are
The arguments are
* ''topic:'' The reason, why the template was set
* ''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 <tt>user=<nowiki>&#x7e;&#x7e;&#x7e;&#x7e;</nowiki></tt>
* ''user:'' Your signature. For convenience, use <tt>user=<nowiki>&#x7e;&#x7e;&#x7e;&#x7e;</nowiki></tt>
==Examples==
==Examples==
<nowiki>{{Missing information}}</nowiki>
Under version 2.3,
<pre>{{future|version=3.0}}</pre>
 
delivers
<nowiki/>
{|border="5"
|
{|type="wikitable" border="0"
|[[File:sunrise.png|50px]]
|{{#ifeq:3.0|{{current}}|This instance of [[Template:Future]] seems to be '''obsolete'''. Please check, if this article contains information that is only vallid 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 article contains information that is only valid for a '''future {{rml}} version'''. The article refers to version 3.0, whereas the current {{rml}} version is {{current}}.}}{{#if:|&nbsp;{{{user}}}|}}
|}
|}
 
 
 
[[Category:future]]
 
<pre>{{future|version=3.0|unit=section|user=~~~~}}</pre>


delivers
delivers
<nowiki/>
{|border="5"
{|border="5"
|
|
{|type="wikitable" border="0"
{|type="wikitable" border="0"
|[[File:Missinginformation.png|50px]]
|[[File:sunrise.png|50px]]
|In this article there is '''information missing'''. Please help improving the {{rml}} wiki by filling the gaps. Possibly, you will find further details on the [[{{TALKSPACE}}:{{PAGENAME}}|discussion page]].{{#if:|&nbsp;{{{user}}}|}}
|{{#ifeq:3.0|{{current}}|This instance of [[Template:Future]] seems to be '''obsolete'''. Please check, if this section contains information that is only vallid 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 section contains information that is only valid for a '''future {{rml}} version'''. The section refers to version 3.0, whereas the current {{rml}} version is {{current}}.}}{{#if:[[User:Ferri Leberl|Ferri Leberl]] ([[User talk:Ferri Leberl|talk]]) 20:03, 19 October 2017 (CEST)|&nbsp;[[User:Ferri Leberl|Ferri Leberl]] ([[User talk:Ferri Leberl|talk]]) 20:03, 19 October 2017 (CEST)|}}
|}
|}
|}
|}


<nowiki>{{Missing information|topic=the list of attributes|user=&#x7e;&#x7e;&#x7e;&#x7e;}}</nowiki>
 
 
[[Category:future]]
 
<pre>{{future|version=2.3|unit=section|user=~~~~}}</pre>


delivers
delivers
<nowiki/>
{|border="5"
{|border="5"
|
|
{|type="wikitable" border="0"
{|type="wikitable" border="0"
|[[File:Missinginformation.png|50px]]
|[[File:sunrise.png|50px]]
|In this article there is '''information missing with respect to the list of attributes.'''. Please help improving the {{rml}} wiki by filling the gaps. Possibly, you will find further details on the [[{{TALKSPACE}}:{{PAGENAME}}|discussion page]]. <Your Signature>
|{{#ifeq:2.3|{{current}}|This instance of [[Template:Future]] seems to be '''obsolete'''. Please check, if this section contains information that is only vallid 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 section contains information that is only valid for a '''future {{rml}} version'''. The section refers to version 2.3, whereas the current {{rml}} version is {{current}}.}}{{#if:[[User:Ferri Leberl|Ferri Leberl]] ([[User talk:Ferri Leberl|talk]]) 20:03, 19 October 2017 (CEST)|&nbsp;[[User:Ferri Leberl|Ferri Leberl]] ([[User talk:Ferri Leberl|talk]]) 20:03, 19 October 2017 (CEST)|}}
|}
|}
|}
|}


[[Category:future]]
[[Category:Template]]
[[Category:Template]]
</noinclude>
</noinclude>


<includeonly>[[Category:future]]</includeonly>
<includeonly>[[Category:future]]</includeonly>

Revision as of 09:08, 26 March 2018


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.3,

{{future|version=3.0}}

delivers

Sunrise.png This article contains information that is only valid for a future railML® version. The article refers to version 3.0, whereas the current railML® version is 2.5.
{{future|version=3.0|unit=section|user=~~~~}}

delivers

Sunrise.png This section contains information that is only valid for a future railML® version. The section refers to version 3.0, whereas the current railML® version is 2.5. Ferri Leberl (talk) 20:03, 19 October 2017 (CEST)
{{future|version=2.3|unit=section|user=~~~~}}

delivers

Sunrise.png This section contains information that is only valid for a future railML® version. The section refers to version 2.3, whereas the current railML® version is 2.5. Ferri Leberl (talk) 20:03, 19 October 2017 (CEST)