Difference between revisions of "Template:rrev multi"
From cppreference.com
(create) |
(Undo revision 92169 by 223.3.180.80 (talk)) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{rev begin|noborder={{{noborder|}}}}} | {{rev begin|noborder={{{noborder|}}}}} | ||
− | {{rev|since={{{since1|}}}|until={{{until1|{{{since2|}}}}}}| | + | {{rev|since={{{since1|}}}|until={{{until1|{{{since2|}}}}}}| |
− | {{{{{|safesubst:}}}#if:{{{rev2|}}}|{{rev|since={{{since2|{{{until1|}}}}}}|until={{{until2|{{{since3|}}}}}}| | + | {{{|{{{rev1}}}}}} |
− | {{{{{|safesubst:}}}#if:{{{rev3|}}}|{{rev|since={{{since3|{{{until2|}}}}}}|until={{{until3|{{{since4|}}}}}}| | + | }} |
− | {{{{{|safesubst:}}}#if:{{{rev4|}}}|{{rev|since={{{since4|{{{until3|}}}}}}|until={{{until4|{{{since5|}}}}}}| | + | {{{{{|safesubst:}}}#if:{{{rev2|}}}|{{rev|since={{{since2|{{{until1|}}}}}}|until={{{until2|{{{since3|}}}}}}| |
− | {{{{{|safesubst:}}}#if:{{{rev5|}}}|{{rev|since={{{since5|{{{until4|}}}}}}|until={{{until5|{{{since6|}}}}}}| | + | {{{|{{{rev2}}}}}} |
− | {{{{{|safesubst:}}}#if:{{{rev6|}}}|{{rev|since={{{since6|{{{until5|}}}}}}|until={{{until6|{{{since7|}}}}}}| | + | }} |
− | {{{{{|safesubst:}}}#if:{{{rev7|}}}|{{rev|since={{{since7|{{{until6|}}}}}}|until={{{until7|}}}| | + | {{{{{|safesubst:}}}#if:{{{rev3|}}}|{{rev|since={{{since3|{{{until2|}}}}}}|until={{{until3|{{{since4|}}}}}}| |
+ | {{{|{{{rev3}}}}}} | ||
+ | }} | ||
+ | {{{{{|safesubst:}}}#if:{{{rev4|}}}|{{rev|since={{{since4|{{{until3|}}}}}}|until={{{until4|{{{since5|}}}}}}| | ||
+ | {{{|{{{rev4}}}}}} | ||
+ | }} | ||
+ | {{{{{|safesubst:}}}#if:{{{rev5|}}}|{{rev|since={{{since5|{{{until4|}}}}}}|until={{{until5|{{{since6|}}}}}}| | ||
+ | {{{|{{{rev5}}}}}} | ||
+ | }} | ||
+ | {{{{{|safesubst:}}}#if:{{{rev6|}}}|{{rev|since={{{since6|{{{until5|}}}}}}|until={{{until6|{{{since7|}}}}}}| | ||
+ | {{{|{{{rev6}}}}}} | ||
+ | }} | ||
+ | {{{{{|safesubst:}}}#if:{{{rev7|}}}|{{rev|since={{{since7|{{{until6|}}}}}}|until={{{until7|}}}| | ||
+ | {{{|{{{rev7}}}}}} | ||
+ | }} | ||
{{{{{|safesubst:}}}#if:{{{rev8|{{{since8|{{{until8|}}}}}}}}}|{{error|{{tl|rrev multi}} only supports up to 7 revisions}}}} | {{{{{|safesubst:}}}#if:{{{rev8|{{{since8|{{{until8|}}}}}}}}}|{{error|{{tl|rrev multi}} only supports up to 7 revisions}}}} | ||
}}}}}}}}}}}} | }}}}}}}}}}}} | ||
− | {{rev end}} | + | {{rev end}}<noinclude> |
+ | {{documentation|Template:rev/doc}} | ||
+ | </noinclude> |
Latest revision as of 08:28, 10 April 2017
{{{rev1}}} |
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
noborder
parameter 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).
{{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)|text }}
{{rrev multi|noborder=true_if_noborder (optional)|sinceX=since-std (optional)|untilX=until-std (optional)|revX=text |... }}
- A combined {{rev begin}}/{{rev}}/{{rev end}}. Up to 7 snippets are supported. The default for
sinceX
isuntilX-1
and default foruntilX
issinceX+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)|noborder=true_if_noborder (optional)|text }}
- Same as {{rev}}, 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.
The above documentation is transcluded from Template:rev/doc. (edit | history) Subpages of this template. |