Naming Conventions – Bohemia Interactive Community
Lou Montana (talk | contribs) m (Remove non-existent template link) |
Lou Montana (talk | contribs) m (Text replacement - "\{\{( *)Informative( *)\|" to "{{$1Feature$2|$2Informative$2|") |
||
Line 17: | Line 17: | ||
The {{Inline code|uc:}} wiki template will '''u'''pper'''c'''ase the given value, which is {{Inline code|<nowiki>{{PAGENAME}}</nowiki>}}. | The {{Inline code|uc:}} wiki template will '''u'''pper'''c'''ase the given value, which is {{Inline code|<nowiki>{{PAGENAME}}</nowiki>}}. | ||
{{Informative | See the interest of defining a custom key on a [[:Category:Arma 3: Functions|Functions]] page: if custom keys were not defined in the {{Template|RV}} template, every function would be sorted under '''B''', for BIS_fnc_*.}} | {{Feature | Informative | See the interest of defining a custom key on a [[:Category:Arma 3: Functions|Functions]] page: if custom keys were not defined in the {{Template|RV}} template, every function would be sorted under '''B''', for BIS_fnc_*.}} | ||
Revision as of 00:10, 7 February 2021
The BI Community Wiki is attempting to maintain a consistent appearance with articles and categories. Please adhere to the following naming conventions when editing or creating an article.
When creating new topics or categories, use the common practice of Namespace: PageTitle, e.g GameTitleName: Subject.
For example, List of Actions OFP does not sound as good as Operation Flashpoint: Actions; this format is clearer about the concerned game and the mentioned topic of the article. It also makes linking to those articles much easier for editors.
You can use templates in the category name, e.g [[Category:{{arma3}}: Functions]]
(result: Category:Arma 3: Functions)
Sorting Keys
When defining a category for an article you should include a search key in that definition:
[[Category: CategoryName|Sort Key]]
If not defined, the automatically created table of contents will sort everything alphabetically, sometimes unsuccessfully.
One can use the following:
[[Category:{{arma3}}|{{uc:{{PAGENAME}}}}]]
The uc:
wiki template will uppercase the given value, which is {{PAGENAME}}
.
Wiki common names
The Name Template provides the expected names for various product and company names.
Some shortcut templates exist for simplicity (e.g {{arma3}} instead of {{Name|arma3}}) and are listed in the table below.
Long Names | Short Names | Template |
---|---|---|
Arma 3 | Arma 3 | Template:arma3 (Arma 3) |
Arma 2: Operation Arrowhead | Arma 2:OA | Template:arma2oa (Arma 2: Operation Arrowhead) |
Arma 2 | Arma 2 | Template:arma2 (Arma 2) |
Armed Assault | Arma | Template:arma1 (Armed Assault) |
Bohemia Interactive | BI (not BIS) | N/A |
Operation Flashpoint | OFP | Template:ofp (Operation Flashpoint) |
Operation Flashpoint: Resistance | OFP:R | Template:ofpr (Operation Flashpoint: Resistance) |
Operation Flashpoint: Elite | OFP:E | Template:ofpe (Operation Flashpoint: Elite) |
Take on Helicopters | TKOH (not TOH) | Template:tkoh (Take On Helicopters) |
Take on Mars | TKOM (not TOM) | Template:tkom (Take On Mars) |