Name – Template

From Bohemia Interactive Community
Revision as of 08:59, 29 April 2014 by Fred Gandt (talk | contribs) (Much more efficient, and many more catches.)
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.