Jump to content

Template:Infobox criminal organization/doc: Difference between revisions

From American Crime Wiki
Informer (talk | contribs)
Copied from English Wikipedia revision 1339090259; https://en.wikipedia.org/w/index.php?oldid=1339090259 provides source history/attribution (CC BY-SA 4.0/GFDL)
 
Informer (talk | contribs)
Document local infobox labels, ordering and added parameters
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}
{{Auto short description}}
{{Auto short description}}
<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata -->
{{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}}
{{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}}


== Usage ==
== Usage ==
:'''Note:''' Please do not use this template for fictional criminal organisations. Use {{tl|Infobox fictional organisation}} instead.
Use this template for real criminal organizations. The legacy <code>native_name</code> parameter now displays as '''Also Known As'''; <code>also_known_as</code> or <code>aka</code> may also be used.
{{Parameter names example
 
| name
| native_name
| native_name_lang
| image
| image_size
| image_alt
| caption
| founded
| founder
| named_after
| founding_location
| years_active
| territory
| ethnicity
| membership
| leaders
| activities
| allies
| rivals
| notable_members
}}
<syntaxhighlight lang="wikitext" style="overflow:auto;">
<syntaxhighlight lang="wikitext" style="overflow:auto;">
{{Infobox criminal organization
{{Infobox criminal organization
| name             = <!-- defaults to {{PAGENAME}} -->
| name                 =
| native_name      =
| native_name          = <!-- displayed as Also Known As; aliases: also_known_as, aka -->
| native_name_lang  =
| image               = <!-- filename only -->
| image             = <!-- filename only -->
| image_size           =
| image_size       = <!-- defaults to 220px -->
| image_alt           =
| image_alt         =  
| caption             =
| caption           =  
| founded             =
| founded           =  
| founder             = <!-- aliases: founders, founded_by -->
| founder           = <!-- or |founders= -->
| named_after         =
| named_after       =  
| founding_location   =
| founding_location =  
| preceded_by          =
| years_active     =  
| years_active         =
| territory         =  
| followed_by          =
| ethnicity         =  
| territory           =
| membership       =  
| ethnicity           =
| leaders           =  
| membership           = <!-- use membership_est for an estimate -->
| activities       =  
| leaders             =
| allies            =  
| notable_members      =
| rivals            =  
| activities           = <!-- alias: criminal_activities -->
| notable_members  =  
| subsets              =
| religion          =  
| allies              =
| rivals              =
| eliminated_opponents =
}}
}}
</syntaxhighlight>
</syntaxhighlight>
{{clear}}


== TemplateData ==
== TemplateData ==
{{TemplateData header}}
<templatedata>
<templatedata>
{
{
"format": "block",
  "format": "block",
"params": {
  "params": {
"name": {
    "name": {"label": "Name", "type": "string", "description": "Organization name; defaults to the page title"},
"label": "Name",
    "native_name": {"label": "Also Known As", "aliases": ["also_known_as", "aka"], "type": "string", "description": "Other names or aliases used by the organization"},
"type": "string",
    "native_name_lang": {"label": "Alias language code", "type": "string", "description": "Optional language code retained for compatibility"},
"required": false,
    "image": {"label": "Image", "type": "wiki-file-name"},
"suggested": false,
    "image_size": {"label": "Image size", "type": "string"},
"deprecated": false,
    "image_alt": {"label": "Image alt text", "type": "string"},
"description": "defaults to {{PAGENAME}} if name not provided"
    "caption": {"label": "Caption", "type": "string"},
},
    "founded": {"label": "Founded", "type": "string"},
"native_name": {
    "founder": {"label": "Founder", "aliases": ["founders", "founded_by"], "type": "string"},
"label": "Native name",
    "named_after": {"label": "Named after", "type": "string"},
"type": "string",
    "founding_location": {"label": "Founding location", "type": "string"},
"required": false,
    "preceded_by": {"label": "Preceded by", "type": "string"},
"suggested": false,
    "years_active": {"label": "Years active", "type": "string"},
"deprecated": false,
    "followed_by": {"label": "Followed By", "type": "string"},
"description": "Organization's name in its local language"
    "territory": {"label": "Territory", "type": "string"},
},
    "ethnicity": {"label": "Ethnicity", "type": "string"},
"native_name_lang": {
    "membership": {"label": "Membership", "aliases": ["membership_est"], "type": "string"},
"label": "Native name language",
    "leaders": {"label": "Leaders", "type": "string"},
"type": "string",
    "notable_members": {"label": "Notable members", "type": "string"},
"required": false,
    "activities": {"label": "Activities", "aliases": ["criminal_activities"], "type": "string"},
"suggested": false,
    "subsets": {"label": "Subsets", "type": "string"},
"deprecated": false,
    "allies": {"label": "Allies", "type": "string"},
"description": "Language code for native name"
    "rivals": {"label": "Rivals", "type": "string"},
},
    "eliminated_opponents": {"label": "Eliminated Opponents", "type": "string"}
"image": {
  },
"label": "Image",
  "paramOrder": ["name", "native_name", "native_name_lang", "image", "image_size", "image_alt", "caption", "founded", "founder", "named_after", "founding_location", "preceded_by", "years_active", "followed_by", "territory", "ethnicity", "membership", "leaders", "notable_members", "activities", "subsets", "allies", "rivals", "eliminated_opponents"]
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Image relevant to identifying the organization"
},
"image_size": {
"label": "Image size",
"type": "number",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Size of the image"
},
"image_alt": {
"label": "Image alt text",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Alternative text for image; see [[WP:ALT]]"
},
"caption": {
"label": "Caption",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Caption for the image"
},
"founded": {
"label": "Date founded",
"type": "date",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Founding date, use {{start date and age|YYYY|MM|DD}}"
},
"founder": {
"label": "Founder",
"aliases": [
"founders",
"founded_by"
],
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Founder of the organization (use founders for a list of multiple founders)"
},
"founding_location": {
"label": "Founding location",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Place the location was founded"
},
"years_active": {
"label": "Years active",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Date range in years during which the organization was active. Use the format 1950–2000, or 1970–present if still active (note the use of an en dash, not hyphen)."
},
"named_after": {
"label": "Named after",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Entity the organization was named after, if any"
},
"territory": {
"label": "Territory",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Region the organization is or was active in/associated with"
},
"ethnicity": {
"label": "Ethnicity",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Ethnicity of organization (e.g. a prison gang or terror group). Do not add unless relevant."
},
"membership": {
"label": "Membership",
"aliases": [
"membership_est"
],
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Membership count of the organization (use membership_est for estimates)"
},
"leaders": {
"label": "Leaders",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "List of leaders of the organization"
},
"activities": {
"label": "Activities",
"aliases": [
"criminal_activities"
],
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "List of confirmed criminal activities carried out by the organization"
},
"allies": {
"label": "Allies",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "List of known allies"
},
"rivals": {
"label": "Rivals",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "List of known rival organizations"
},
"notable_members": {
"label": "Notable members",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "List of known notable members"
}
},
"paramOrder": [
"name",
"native_name",
"native_name_lang",
"image",
"image_size",
"image_alt",
"caption",
"founded",
"founder",
"named_after",
"founding_location",
"years_active",
"territory",
"ethnicity",
"membership",
"leaders",
"activities",
"allies",
"rivals",
"notable_members"
]
}
}
</templatedata>
</templatedata>


== Tracking categories ==
== Field order ==
{{Infobox tracking cats}}
The rendered rows are ordered as follows: Also Known As; founding information; Preceded by; Years active; Followed By; Territory; Ethnicity; Membership; Leaders; Notable members; Activities; Subsets; Allies; Rivals; Eliminated Opponents. Empty fields are omitted.
* {{clc|Pages using infobox criminal organization with ethnicity parameter}}
* {{clc|Pages using infobox criminal organization with rivals parameter}}


== See also ==
<includeonly>
* {{tl|Infobox organization}}
* {{tl|Infobox fictional organisation}}
{{Organization infoboxes}}
<includeonly>{{sandbox other||
<!-- Categories below this line; interwikis at Wikidata -->
[[Category:Law infobox templates|Criminal organization]]
[[Category:Law infobox templates|Criminal organization]]
[[Category:Crime templates|Criminal organization]]
[[Category:Crime templates|Criminal organization]]
[[Category:Organization infobox templates|Criminal]]
[[Category:Organization infobox templates|Criminal]]
[[Category:Templates that add a tracking category|{{PAGENAME}}]]
</includeonly>
}}</includeonly>

Revision as of 19:30, 18 August 2026

Template:Mbox__EXPECTED_UNCONNECTED_PAGE__

Usage

Use this template for real criminal organizations. The legacy native_name parameter now displays as Also Known As; also_known_as or aka may also be used.

<syntaxhighlight lang="wikitext" style="overflow:auto;">

Infobox criminal organization/doc

</syntaxhighlight>

TemplateData

<templatedata> {

 "format": "block",
 "params": {
   "name": {"label": "Name", "type": "string", "description": "Organization name; defaults to the page title"},
   "native_name": {"label": "Also Known As", "aliases": ["also_known_as", "aka"], "type": "string", "description": "Other names or aliases used by the organization"},
   "native_name_lang": {"label": "Alias language code", "type": "string", "description": "Optional language code retained for compatibility"},
   "image": {"label": "Image", "type": "wiki-file-name"},
   "image_size": {"label": "Image size", "type": "string"},
   "image_alt": {"label": "Image alt text", "type": "string"},
   "caption": {"label": "Caption", "type": "string"},
   "founded": {"label": "Founded", "type": "string"},
   "founder": {"label": "Founder", "aliases": ["founders", "founded_by"], "type": "string"},
   "named_after": {"label": "Named after", "type": "string"},
   "founding_location": {"label": "Founding location", "type": "string"},
   "preceded_by": {"label": "Preceded by", "type": "string"},
   "years_active": {"label": "Years active", "type": "string"},
   "followed_by": {"label": "Followed By", "type": "string"},
   "territory": {"label": "Territory", "type": "string"},
   "ethnicity": {"label": "Ethnicity", "type": "string"},
   "membership": {"label": "Membership", "aliases": ["membership_est"], "type": "string"},
   "leaders": {"label": "Leaders", "type": "string"},
   "notable_members": {"label": "Notable members", "type": "string"},
   "activities": {"label": "Activities", "aliases": ["criminal_activities"], "type": "string"},
   "subsets": {"label": "Subsets", "type": "string"},
   "allies": {"label": "Allies", "type": "string"},
   "rivals": {"label": "Rivals", "type": "string"},
   "eliminated_opponents": {"label": "Eliminated Opponents", "type": "string"}
 },
 "paramOrder": ["name", "native_name", "native_name_lang", "image", "image_size", "image_alt", "caption", "founded", "founder", "named_after", "founding_location", "preceded_by", "years_active", "followed_by", "territory", "ethnicity", "membership", "leaders", "notable_members", "activities", "subsets", "allies", "rivals", "eliminated_opponents"]

} </templatedata>

Field order

The rendered rows are ordered as follows: Also Known As; founding information; Preceded by; Years active; Followed By; Territory; Ethnicity; Membership; Leaders; Notable members; Activities; Subsets; Allies; Rivals; Eliminated Opponents. Empty fields are omitted.