Anonymous
×
Create a new article
Write your page title here:
We currently have 205 articles on Shadowrun Seattle Shutdown. Type your article name above or click on one of the titles below and start writing!



Shadowrun Seattle Shutdown

Template:NPC/Documentation: Difference between revisions

No edit summary
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>}} returns: {{Return|{{NPC|mattias}}}}

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!