No edit summary |
(→Return) |
||
| Line 5: | Line 5: | ||
* {{Code|nura}} | * {{Code|nura}} | ||
==Return== | ==Return== | ||
It returns the properly accented version of the name. | It returns the properly accented version of the name. For instance, {{Code|<nowiki>{{NPC|nura}}</nowiki>}} returns: {{Return|{{NPC|nura}}}} | ||
{{Code|<nowiki>{{NPC|nura}}</nowiki>}} returns: {{Return|{{NPC|nura}}}} | An invalid input returns an error, such as | ||
An invalid input returns an error | {{Code|<nowiki>{{NPC|mattias}}</nowiki>}} returing: {{Return|{{NPC|mattias}}}} | ||
{{Code|<nowiki>{{NPC|mattias}}</nowiki>}} | |||
Revision as of 14:06, 9 May 2023
Template:NPC is used to avoid having to remember or type special characters for certain non-player Character names.
Usage
It accepts one mandatory parameter, the name of the character to be adjusted. Acceptable inputs are:
nura
Return
It returns the properly accented version of the name. For instance, {{NPC|nura}} returns:
Núra
An invalid input returns an error, such as
{{NPC|mattias}} returing:
Error!
Template:NPC has 1 mandatory parameters!