Template:Command: Difference between revisions
Dorandraco (talk | contribs) No edit summary |
Dorandraco (talk | contribs) Test templatedata |
||
| Line 14: | Line 14: | ||
To find the destination, you can use {{Command|pathfind {{Command/Var|PLACE}}}}, where {{Command/Var|PLACE}} is any part of the destination's name. For example, to find the Crossroads Inn, you could type {{Command|pathfind crossroads}}. | To find the destination, you can use {{Command|pathfind {{Command/Var|PLACE}}}}, where {{Command/Var|PLACE}} is any part of the destination's name. For example, to find the Crossroads Inn, you could type {{Command|pathfind crossroads}}. | ||
<templatedata> | |||
{ | |||
"description": "Represents user input." | |||
} | |||
</templatedata> | |||
Revision as of 21:42, 14 December 2025
Represents user input.
{{Command|contents here}}→ contents here
For placeholders, use Template:Command/Var.
{{Command|appraise {{Command/Var|item}}}}→ appraise item
When using placeholders, be sure to explain each in the surrounding text. This improves clarity, especially for users who rely on screen readers.
Example with context
To find the destination, you can use {{Command|pathfind {{Command/Var|PLACE}}}}, where {{Command/Var|PLACE}} is any part of the destination's name (e.g., {{Command|crossroads}} for The Crossroads Inn).
To find the destination, you can use pathfind PLACE, where PLACE is any part of the destination's name. For example, to find the Crossroads Inn, you could type pathfind crossroads.