Template:Valid: Difference between revisions

From railML 3 Wiki
Jump to navigation Jump to search
[checked revision][checked revision]
No edit summary
Line 1: Line 1:
<includeonly>{{note|This {{{scope|content}}} is only valid for version(s) {{{1}}}|file=timeline.svg}}{{valid/version|{{{1}}}|2.4}}{{valid/version|{{{1}}}|2.5}}{{valid/version|{{{1}}}|3.1}}{{valid/version|{{{1}}}|3.2}}{{valid/version|{{{1}}}|3.3}}{{valid/version|{{{1}}}|1.2|rtm}}{{valid/version|{{{1}}}|1.4|rtm}}{{valid/version|{{{1}}}|1.5|rtm}}</includeonly><noinclude>
<includeonly>{{note|This {{{scope|content}}} is only valid for version(s) {{{1}}}|file=timeline.svg}}{{valid/version|{{{1}}}|2.4}}{{valid/version|{{{1}}}|2.5}}{{valid/version|{{{1}}}|3.1}}{{valid/version|{{{1}}}|3.2}}{{valid/version|{{{1}}}|3.3}}{{valid/version|{{{1}}}|1.2|rtm}}{{valid/version|{{{1}}}|1.4|rtm}}{{valid/version|{{{1}}}|1.5|rtm}}</includeonly><noinclude>
== Usage ==
== Usage ==
This template  
This template marks and categorizes content that is not valid for all versions within the respective wiki.
===Arguments===
*1:String containing the versions, for which the content is valid


=== Example ===
=== Example ===
Line 7: Line 9:
{{valid|2.4 and 2.5}}
{{valid|2.4 and 2.5}}


<pre>{{valid|1.4 and 1.5}}</pre>delivers
<pre>{{valid|1.4 and 1.5|skope=paragraph}}</pre>delivers
{{valid|1.4 and 1.5}}
{{valid|1.4 and 1.5}}


{{interwiki|2=all}}
{{interwiki|2=all}}
</noinclude>
</noinclude>

Revision as of 16:06, 3 March 2025

Usage

This template marks and categorizes content that is not valid for all versions within the respective wiki.

Arguments

  • 1:String containing the versions, for which the content is valid

Example

{{valid|2.4 and 2.5}}

delivers

Timeline.svg This content is only valid for version(s) 2.4 and 2.5  
{{valid|1.4 and 1.5|skope=paragraph}}

delivers

Timeline.svg This content is only valid for version(s) 1.4 and 1.5