Naming Conventions – Bohemia Interactive Community

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Fix <tt> usage)
m (Some wiki formatting)
Line 7: Line 7:
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.
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 {{ic|<nowiki>[[Category:{{arma3}}: Functions]]</nowiki>}} (result: [[:Category:{{arma3}}: Functions]])
You can use templates in the category name, e.g <syntaxhighlight lang="html+handlebars" inline>[[Category:{{arma3}}: Functions]]</syntaxhighlight> (result: [[:Category:{{arma3}}: Functions]])
{{Feature | informative | See also the [[Template:GameCategory|GameCategory]] template.}}
{{Feature|informative|See also the [[Template:GameCategory|GameCategory]] template.}}




Line 18: Line 18:


One can use the following:
One can use the following:
<nowiki>[[Category:{{arma3}}|{{uc:{{PAGENAME}}}}]]</nowiki>
<syntaxhighlight lang="html+handlebars" inline>[[Category:{{arma3}}|{{uc:{{PAGENAME}}}}]]</syntaxhighlight>


The {{ic|uc:}} wiki template will '''u'''pper'''c'''ase the given value, which is {{ic|<nowiki>{{PAGENAME}}</nowiki>}}.
The {{hl|uc:}} wiki template will '''u'''pper'''c'''ase the given value, which is <syntaxhighlight lang="html+handlebars" inline>{{PAGENAME}}</syntaxhighlight>.
{{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_*.}}
{{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 '''B'''IS_fnc/'''B'''IN_fnc.}}




Line 52: Line 52:
| {{Name|ofpe}} || {{Name|ofpe|short}} || [[Template:ofpe]] ({{ofpe}})
| {{Name|ofpe}} || {{Name|ofpe|short}} || [[Template:ofpe]] ({{ofpe}})
|-
|-
| {{Name|tkoh}} || {{Name|tkoh|short}} (not TOH) || [[Template:tkoh]] ({{tkoh}})
| {{Name|tkoh}} || {{Name|tkoh|short}} ('''not''' TOH) || [[Template:tkoh]] ({{tkoh}})
|-  
|-  
| {{Name|tkom}} || {{Name|tkom|short}} (not TOM) || [[Template:tkom]] ({{tkom}})
| {{Name|tkom}} || {{Name|tkom|short}} ('''not''' TOM) || [[Template:tkom]] ({{tkom}})
|}
|}




[[Category:Bohemia Interactive Community:Policies]]
[[Category:Bohemia Interactive Community:Policies]]

Revision as of 17:46, 27 July 2022


This article has been proposed to merge with Bohemia Interactive Community: Guidelines.


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)

See also the GameCategory template.


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}}.

See the interest of defining a custom key on a Functions page: if custom keys were not defined in the {{RV}} template, every function would be sorted under B, for BIS_fnc/BIN_fnc.


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 4 Arma 4 Template:arma4 (Arma 4)
Arma Reforger Reforger Template:armaR (Arma Reforger)
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) {{Name|bi}} (Bohemia Interactive)
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)