Difference between revisions of "Template:Step/doc"

From Summertime Saga Wiki
Jump to: navigation, search
(Created page with "The {{tlg|step}} formats a bullet list for the walkthrough. == Usage == : {{tlg|code=yes|nolink=yes|step|step number{{=}}{{var|number of the step}}|step content{{=}}{{var|co...")
 
m
Line 1: Line 1:
The {{tlg|step}} formats a bullet list for the walkthrough.
+
The {{tlg|step}} formats an ordered list for the walkthrough.
  
 
== Usage ==
 
== Usage ==

Revision as of 21:09, 22 July 2020

The {{step}} formats an ordered list for the walkthrough.

Usage

{{step|step number=number of the step|step content=content of the numbered step}}

Parameters

|step number= or |1= 
The number of the step.
|step content= or |2= 
The content labbeled by the step.

Examples

Markup Renders as
{{steplist|
{{step|step number=1|step content=Content 1}}
{{step|step number=2|step content=Content 2}}
{{step|step number=3|step content=Content 3}}
}}
  1. Content 1
  2. Content 2
  3. Content 3
{{steplist|
{{step|1|Content 3}}
{{step|2|Content 4}}
{{step|3|Content 5}}
}}
  1. Content 1
  2. Content 2
  3. Content 3

Limitations

If you do not provide text, the template generates a parser error message, which will appear in red text in the rendered page.

If the value of the |content= parameter contains an equals sign “=”, you must use a named parameter (e.g. |text=“E=MC2 is a formula everyone knows but few understand, not a blank‐name positional parameter. The text before the equals sign gets misinterpreted as a named parameter otherwise. Be wary of URLs, which frequently contain this character. Named parameters are always safer, in this and other templates.