Name – Template

From Bohemia Interactive Community
Revision as of 07:07, 29 April 2014 by Fred Gandt (talk | contribs) (Greatly extended range of possible misconfigured inputs to handle. Added 3rd type of output. >> Unsure of correct "Zeus" convention(s) <<)
Jump to navigation Jump to search
Not currently in use. Awaiting peer review and feedback, before including in {{Command}} and {{Function}} to correct badly formed entries.

Eventually this should replace multiple templates, providing a simple way to organise game naming convention.

Please add any switch cases omitted, or if unsure about how to do it, leave a message on the talk page.

Usage

Takes two parameters
The first parameter is the format request. Either "img", "short" or "long"
The second parameter is the input string to be verified or corrected.

Will return the input string if no matches are found.

Examples

etc.

In other words, it takes a multitude of possible interpretations of how BI games should be named, and returns the conventionally correct version required, depending on circumstance.