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
Line 6: Line 6:
==Return==
==Return==
It returns the properly accented version of the name.
It returns the properly accented version of the name.
{{Code|<nowiki>{{NPC|nura}}</nowiki>}} returns: {{Return|{{NPC|nura}}}}.
{{Code|<nowiki>{{NPC|nura}}</nowiki>}} returns: {{Return|{{NPC|nura}}}}
An invalid input returns an error.
An invalid input returns an error.
{{Code|<nowiki>{{NPC|mattias}}</nowiki>}} returns: {{Return|{{NPC|mattias}}}}.
{{Code|<nowiki>{{NPC|mattias}}</nowiki>}} returns: {{Return|{{NPC|mattias}}}}

Revision as of 14:05, 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.

{{NPC|nura}} returns:

Núra

An invalid input returns an error.

{{NPC|mattias}} returns:

Error! Template:NPC has 1 mandatory parameters!