Template:Key: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(Created first draft of template to test with Options)
 
No edit summary
Line 30: Line 30:
; Wikitext
; Wikitext
<pre>
<pre>
{{Key|Page Down}}
{{Key|page down}}
</pre>
</pre>


Line 48: Line 48:
}
}
},
},
"description": "Adds a visual representation of a key",
"description": "Adds a visual representation of a key. Special keys must be in lowercase.",
"format": "inline"
"format": "inline"
}
}
</templatedata>
</templatedata>
}}</noinclude>
}}</noinclude>

Revision as of 11:59, 2 January 2024

Template documentation

Creates a visual representation of a key

Examples

Wikitext
{{Key|page down}}
Result

⇟ Page Down

Template data

Adds a visual representation of a key. Special keys must be in lowercase.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Key1

The key to input

Stringrequired