Template:drev
Used to declare that certain part of the description is valid to only specific revisions of the standard.
{{rev begin|noborder=true-if-noborder (optional)}}
- Begins the set of text snippets specific to a specific revision(s) of the standard. If the
noborderparameter is true then the table is displayed with no border and as little padding as possible.
{{rev|since=since-std (optional)|until=until-std (optional)|text }}
- Specifies that text is valid only for standard revisions since since-std until until-std (until-std is not inclusive).
{{drev|since=since-std (optional)|until=until-std (optional)|since_doc=since-doc (optional)|until_doc=until-doc (optional)|text }}
- Specifies that text is valid only for standard revisions since since-std until until-std (until-std is not inclusive).
- since_doc / until_doc generate links to their corresponding Compiler Support Table (CST) entries. The provided argument must exactly match capitalized proposal name used within the CST (excluding file extension, if any).
- In rare cases where a proposal appears in more than one CST entries, an additional ID anchor can be explicitly assigned to the target entry in the CST. This ID can then be passed as the argument to since_doc / until_doc.
{{rev end}}
- Ends the set of text snippets specific to a specific revision(s) of the standard.
{{rrev|noborder=true-if-noborder (optional)|since=since-std (optional)|until=until-std (optional)|since_doc=since-doc (optional)|until_doc=until-doc (optional)|text }}
{{rrev multi|noborder=true-if-noborder (optional)|sinceX=since-std (optional)|untilX=until-std (optional)|since_docX=since-doc (optional)|until_docX=until-doc (optional)|revX=text |... }}
- A combined {{rev begin}}/{{drev}}/{{rev end}}. Up to 7 snippets are supported. The default for
sinceXisuntilX-1and default foruntilXissinceX+1. Thus, it is most useful when the snippets are relatively short and the revision ranges consecutive. This template may be substituted.
{{rev inl|id=id (optional)|since=since-std (optional)|until=until-std (optional)|since_doc=since-doc (optional)|until_doc=until-doc (optional)|noborder=true-if-noborder (optional)|text }}
- Same as {{drev}}, just is displayed inline. {{rev begin}} and {{rev end}} must not be used. The text can be referenced with id .
Border is omitted if the noborder parameter is true .
{{rel|table }} - allows the first row of a table to stay in the same row as a label generated by @@-family.
| Wiki text | Effect | ||
|---|---|---|---|
@1@ item 1
|
1) item 1
2)
| ||
@1@ item 1
|
1) item 1
2)
|
| The above documentation is transcluded from Template:rev/doc. (edit | history) Subpages of this template. |