Template:Valid: Difference between revisions

From railML 3 Wiki
Jump to navigation Jump to search
[checked revision][checked revision]
No edit summary
No edit summary
Line 10: Line 10:


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


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

Revision as of 16:07, 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|scope=paragraph}}

delivers

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