Template:Command: Difference between revisions

From Unwritten Legends Wiki
Created page with "<includeonly><kbd>{{{1}}}</kbd></includeonly><noinclude>Represents user input. *<code><nowiki>{{Command|contents here}}</nowiki></code> → {{Command|contents here}} For placeholders, use Template:Command/Var. *<code><nowiki>{{Command|appraise {{Command/Var|item}}}}</nowiki></code> → {{Command|appraise {{Command/Var|item}}}} When using placeholders, be sure to explain each in the surrounding text. This improves clarity, especially for users who rely on screen r..."
 
No edit summary
Line 13: Line 13:
<pre><nowiki>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).</nowiki></pre>
<pre><nowiki>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).</nowiki></pre>


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 {{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}}.

Revision as of 21:41, 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.