Template:Valid: Difference between revisions

From railML 3 Wiki
Jump to navigation Jump to search
[checked revision][checked revision]
No edit summary
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
This template marks and categorizes content that is not valid for all versions within the respective wiki.
This template marks and categorizes content that is not valid for all versions within the respective wiki.
===Arguments===
===Arguments===
*1:String containing the versions, for which the content is valid
*1:String containing the versions, for which the content is valid (and '''not''' those, for which it is not valid!)
*scope: String to clarify the scope of this note; something like paragraph, chapter, page ...


=== Example ===
=== Example ===
Line 10: Line 11:


<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>

Latest revision as of 16:09, 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 (and not those, for which it is not valid!)
  • scope: String to clarify the scope of this note; something like paragraph, chapter, page ...

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