(→Return) |
No edit summary |
||
| Line 6: | Line 6: | ||
==Return== | ==Return== | ||
It returns the properly accented version of the name. For instance, {{Code|<nowiki>{{NPC|nura}}</nowiki>}} returns: {{Return|{{NPC|nura}}}} | It returns the properly accented version of the name. For instance, {{Code|<nowiki>{{NPC|nura}}</nowiki>}} returns: {{Return|{{NPC|nura}}}} | ||
An invalid input returns an error, such as | An invalid input returns an error, such as {{Code|<nowiki>{{NPC|mattias}}</nowiki>}} returing: {{Return|{{NPC|mattias}}}} | ||
{{Code|<nowiki>{{NPC|mattias}}</nowiki>}} returing: {{Return|{{NPC|mattias}}}} | |||
Latest 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!