Difference between revisions of "Template:Steps/doc"
From LFS Manual
Jump to navigationJump to searchm |
(description intro) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude>{{documentation subpage}}</noinclude> | <noinclude>{{documentation subpage}}</noinclude> | ||
+ | |||
+ | Used to compile a set of steps in a visual way. Supports a maximum of 10 steps. | ||
== Usage == | == Usage == | ||
Line 5: | Line 7: | ||
=== Inline steps === | === Inline steps === | ||
− | A paragraph. | + | {{markup| |
+ | <nowiki>A paragraph. | ||
+ | |||
+ | {{steps|one|two|three}} | ||
+ | |||
+ | Another paragraph.</nowiki>|A paragraph. | ||
{{steps|one|two|three}} | {{steps|one|two|three}} | ||
− | Another paragraph. | + | Another paragraph.}}<!-- Template:Mra --> |
=== Steps with multiple block elements === | === Steps with multiple block elements === | ||
− | Steps with multiple block elements inside them. | + | {{markup| |
+ | <nowiki>Steps with multiple block elements inside them. | ||
{{steps | {{steps | ||
Line 21: | Line 29: | ||
<p>[[image:Autocross Drag Strip.jpg|Replays]]</p> | <p>[[image:Autocross Drag Strip.jpg|Replays]]</p> | ||
<p>Continuing step 2.</p> | <p>Continuing step 2.</p> | ||
+ | | Finally, magic. | ||
+ | }} | ||
+ | |||
+ | Test paragraph with a text that follows up the steps.</nowiki>|Steps with multiple block elements inside them. | ||
+ | {{steps | ||
+ | | Do this first. | ||
+ | | Then, do this. | ||
+ | <p>And also this. This is still step 2.</p> | ||
+ | <p>[[image:Autocross Drag Strip.jpg|Replays]]</p> | ||
+ | <p>Continuing step 2.</p> | ||
| Finally, magic. | | Finally, magic. | ||
}} | }} | ||
− | Test paragraph. | + | Test paragraph with a text that follows up the steps.}}<!-- Template:Mra --> |
+ | |||
+ | === Maximum steps === | ||
+ | |||
+ | The maximum is 10 steps. | ||
+ | |||
+ | {{markup| | ||
+ | <nowiki>{{steps|one|two|three|four|five|six|seven|eight|nine|ten}}</nowiki>|{{steps|one|two|three|four|five|six|seven|eight|nine|ten}}}}<!-- Template:Mra --> | ||
<includeonly> | <includeonly> | ||
[[Category:Text formatting templates]] | [[Category:Text formatting templates]] | ||
</includeonly> | </includeonly> |
Latest revision as of 15:22, 6 June 2024
This is a documentation subpage for Template:Steps.
It may contain usage information, categories and other content that is not part of the original page. |
Used to compile a set of steps in a visual way. Supports a maximum of 10 steps.
Usage
Inline steps
Markup | Renders as |
---|---|
A paragraph. {{steps|one|two|three}} Another paragraph. |
A paragraph.
Another paragraph. |
Steps with multiple block elements
Markup | Renders as |
---|---|
Steps with multiple block elements inside them. {{steps | Do this first. | Then, do this. <p>And also this. This is still step 2.</p> <p>[[image:Autocross Drag Strip.jpg|Replays]]</p> <p>Continuing step 2.</p> | Finally, magic. }} Test paragraph with a text that follows up the steps. |
|
Maximum steps
The maximum is 10 steps.
Markup | Renders as |
---|---|
{{steps|one|two|three|four|five|six|seven|eight|nine|ten}} |
|