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

(Created page with "<includeonly>Category:Character Template</includeonly> {{Template|NPC}} is used to avoid having to remember or type special characters for certain non-player {{Category|character}} names. ==Usage== It accepts one {{parameter|mandatory}}, the name of the character to be adjusted. Acceptable inputs are: * {{Code|nura}} ==Return== It returns the properly accented version of the name. {{Code|<nowiki>{{NPC|nura}}</nowiki>}} returns: {{Return|{{NPC|nura}}}}. An invalid inp...")
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
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 {{Code|<nowiki>{{NPC|mattias}}</nowiki>}} returing: {{Return|{{NPC|mattias}}}}
An invalid input returns an error.
{{Code|<nowiki>{{NPC|mattias}}</nowiki>}} returns: {{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!