Naming Conventions – Bohemia Interactive Community

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Some wiki formatting)
Tag: New redirect
 
Line 1: Line 1:
{{Wiki|merge|Bohemia Interactive Community: Guidelines}}
#REDIRECT [[Bohemia Interactive Community: Guidelines#Format 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 {{hl|Namespace: PageTitle}}, e.g {{hl|GameTitleName: Subject}}.<br>
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 <syntaxhighlight lang="html+handlebars" inline>[[Category:{{arma3}}: Functions]]</syntaxhighlight> (result: [[:Category:{{arma3}}: Functions]])
{{Feature|informative|See also the [[Template:GameCategory|GameCategory]] template.}}
 
 
== Sorting Keys ==
 
When defining a category for an article you should include a search key in that definition:
[[<nowiki/>Category: CategoryName'''|Sort Key''']]
If not defined, the automatically created table of contents will sort everything alphabetically, sometimes unsuccessfully.
 
One can use the following:
<syntaxhighlight lang="html+handlebars" inline>[[Category:{{arma3}}|{{uc:{{PAGENAME}}}}]]</syntaxhighlight>
 
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 '''B'''IS_fnc/'''B'''IN_fnc.}}
 
 
== Wiki common names ==
 
The [[Template:Name|Name Template]] provides the expected names for various product and company names.<br>
Some shortcut templates exist for simplicity (e.g {{hl|<nowiki>{{arma3}}</nowiki>}} instead of {{hl|<nowiki>{{Name|arma3}}</nowiki>}}) and are listed in the table below.
 
{| class="wikitable"
! Long Names || Short Names || Template
|-
| {{Name|arma4}} || {{Name|arma4|short}} || [[Template:arma4]] ({{arma4}})
|-
| {{Name|armaR}} || {{Name|armaR|short}} || [[Template:armaR]] ({{armaR}})
|-
| {{Name|arma3}} || {{Name|arma3|short}} || [[Template:arma3]] ({{arma3}})
|-
| {{Name|arma2oa}} || {{Name|arma2oa|short}} || [[Template:arma2oa]] ({{arma2oa}})
|-
| {{Name|arma2}} || {{Name|arma2|short}} || [[Template:arma2]] ({{arma2}})
|-
| {{Name|arma1}} || {{Name|arma1|short}} || [[Template:arma1]] ({{arma1}})
|-
| | {{Name|bi}} || {{Name|bi|short}} ('''not''' BIS) || ''[[Template:Name|<nowiki>{{Name|bi}}</nowiki>]]'' ({{Name|bi}})
|-
| {{Name|ofp}} || {{Name|ofp|short}} || [[Template:ofp]] ({{ofp}})
|-
| {{Name|ofpr}} || {{Name|ofpr|short}} || [[Template:ofpr]] ({{ofpr}})
|-
| {{Name|ofpe}} || {{Name|ofpe|short}} || [[Template:ofpe]] ({{ofpe}})
|-
| {{Name|tkoh}} || {{Name|tkoh|short}} ('''not''' TOH) || [[Template:tkoh]] ({{tkoh}})
|-
| {{Name|tkom}} || {{Name|tkom|short}} ('''not''' TOM) || [[Template:tkom]] ({{tkom}})
|}
 
 
[[Category:Bohemia Interactive Community:Policies]]

Latest revision as of 16:44, 20 January 2023