Jump to content

Template:Infobox criminal organization/doc: Difference between revisions

From American Crime Wiki
Informer (talk | contribs)
Restore visible parameter example with the revamped field order
Informer (talk | contribs)
Document grouped infobox layout, new parameters and compatibility aliases
Line 4: Line 4:


== Usage ==
== Usage ==
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.
Use this template for real criminal organizations. Fields are grouped under '''Origins''', '''Lineage''', '''Profile''', '''Politics''' and '''Activity'''. Empty fields and empty groups are omitted. The infobox uses an opaque background so the groups remain visually distinct.


== Example ==
== Example ==
Line 10: Line 10:
| name
| name
| native_name
| native_name
| also_known_as
| named_after
| image
| image
| image_size
| image_size
| image_alt
| image_alt
| caption
| caption
| founded
| founder
| founder
| named_after
| founding_location
| founding_location
| preceded_by
| years_active
| followed_by
| territory
| territory
| headquarters
| locations
| predecessor
| parent_organization
| merged_with
| subsets
| splinter_groups
| absorbed
| successor
| structure
| ethnicity
| ethnicity
| membership
| membership
| leaders
| ideology
| activities
| leader
| notable_members
| notable_members
| activities
| puppets
| subsets
| allies
| allies
| rivals
| rivals
| eliminated_opponents
| enemies
| neutralized_persons
| status
| years_active
| founded_date
| dissolved_date
| dissolution_cause
}}
}}
{{clear}}
{{clear}}
Line 36: Line 50:
<syntaxhighlight lang="wikitext" style="overflow:auto;">
<syntaxhighlight lang="wikitext" style="overflow:auto;">
{{Infobox criminal organization
{{Infobox criminal organization
| name                 =
| name               =
| native_name         = <!-- displayed as Also Known As; aliases: also_known_as, aka -->
| native_name         =
| image                = <!-- filename only -->
| also_known_as      =
| image_size          =
| named_after        =
| image_alt            =
| image              = <!-- filename only -->
| caption              =
| image_size          =
| founded              =
| image_alt          =
| founder              = <!-- aliases: founders, founded_by -->
| caption            =
| named_after          =
 
| founding_location    =
<!-- Origins -->
| preceded_by          =
| founder            =
| years_active        =
| founding_location  =
| followed_by          =
| territory          =
| territory           =
| headquarters        =
| ethnicity            =
| locations          =
| membership          = <!-- use membership_est for an estimate -->
 
| leaders             =
<!-- Lineage -->
| notable_members     =
| predecessor        =
| activities          = <!-- alias: criminal_activities -->
| parent_organization =
| subsets             =
| merged_with        =
| allies              =
| subsets            =
| rivals              =
| splinter_groups    =
| eliminated_opponents =
| absorbed           =
| successor          =
 
<!-- Profile -->
| structure          =
| ethnicity           =
| membership          =
| ideology           =
| activities          =
 
<!-- Politics -->
| leader             =
| notable_members     =
| puppets            =
| allies              =
| rivals              =
| enemies            =
| neutralized_persons =
 
<!-- Activity -->
| status             =
| years_active        =
| founded_date        =
| dissolved_date      =
| dissolution_cause  =
}}
}}
</syntaxhighlight>
</syntaxhighlight>
== Compatibility aliases ==
Older calls remain supported: <code>aka</code> for <code>also_known_as</code>; <code>founders</code> or <code>founded_by</code> for <code>founder</code>; <code>preceded_by</code> for <code>predecessor</code>; <code>followed_by</code> for <code>successor</code>; <code>leaders</code> for <code>leader</code>; <code>membership_est</code> for <code>membership</code>; <code>criminal_activities</code> for <code>activities</code>; <code>founded</code> for <code>founded_date</code>; and <code>eliminated_opponents</code> for <code>neutralized_persons</code>.


== TemplateData ==
== TemplateData ==
Line 67: Line 108:
   "format": "block",
   "format": "block",
   "params": {
   "params": {
     "name": {"label": "Name", "type": "string", "description": "Organization name; defaults to the page title"},
     "name": {"label": "Name", "type": "string"},
     "native_name": {"label": "Also Known As", "aliases": ["also_known_as", "aka"], "type": "string", "description": "Other names or aliases used by the organization"},
    "native_name": {"label": "Native Name", "type": "string"},
     "native_name_lang": {"label": "Alias language code", "type": "string", "description": "Optional language code retained for compatibility"},
     "also_known_as": {"label": "Also Known As", "aliases": ["aka"], "type": "string"},
     "named_after": {"label": "Named After", "type": "string"},
     "image": {"label": "Image", "type": "wiki-file-name"},
     "image": {"label": "Image", "type": "wiki-file-name"},
     "image_size": {"label": "Image size", "type": "string"},
     "image_size": {"label": "Image size", "type": "string"},
     "image_alt": {"label": "Image alt text", "type": "string"},
     "image_alt": {"label": "Image alt text", "type": "string"},
     "caption": {"label": "Caption", "type": "string"},
     "caption": {"label": "Caption", "type": "string"},
    "founded": {"label": "Founded", "type": "string"},
     "founder": {"label": "Founder", "aliases": ["founders", "founded_by"], "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"},
     "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"},
     "territory": {"label": "Territory", "type": "string"},
    "headquarters": {"label": "Headquarters", "type": "string"},
    "locations": {"label": "Locations", "type": "string"},
    "predecessor": {"label": "Predecessor(s)", "aliases": ["preceded_by"], "type": "string"},
    "parent_organization": {"label": "Parent Organization", "type": "string"},
    "merged_with": {"label": "Merged With", "type": "string"},
    "subsets": {"label": "Subsets", "type": "string"},
    "splinter_groups": {"label": "Splinter Groups", "type": "string"},
    "absorbed": {"label": "Absorbed", "type": "string"},
    "successor": {"label": "Successor(s)", "aliases": ["followed_by"], "type": "string"},
    "structure": {"label": "Structure", "type": "string"},
     "ethnicity": {"label": "Ethnicity", "type": "string"},
     "ethnicity": {"label": "Ethnicity", "type": "string"},
     "membership": {"label": "Membership", "aliases": ["membership_est"], "type": "string"},
     "membership": {"label": "Membership", "aliases": ["membership_est"], "type": "string"},
     "leaders": {"label": "Leaders", "type": "string"},
     "ideology": {"label": "Ideology", "type": "string"},
    "notable_members": {"label": "Notable members", "type": "string"},
     "activities": {"label": "Activities", "aliases": ["criminal_activities"], "type": "string"},
     "activities": {"label": "Activities", "aliases": ["criminal_activities"], "type": "string"},
     "subsets": {"label": "Subsets", "type": "string"},
     "leader": {"label": "Leader", "aliases": ["leaders"], "type": "string"},
    "notable_members": {"label": "Notable Members", "type": "string"},
    "puppets": {"label": "Puppets", "type": "string"},
     "allies": {"label": "Allies", "type": "string"},
     "allies": {"label": "Allies", "type": "string"},
     "rivals": {"label": "Rivals", "type": "string"},
     "rivals": {"label": "Rivals", "type": "string"},
     "eliminated_opponents": {"label": "Eliminated Opponents", "type": "string"}
     "enemies": {"label": "Enemies", "type": "string"},
    "neutralized_persons": {"label": "Neutralized Persons", "aliases": ["eliminated_opponents"], "type": "string"},
    "status": {"label": "Status", "type": "string"},
    "years_active": {"label": "Years Active", "type": "string"},
    "founded_date": {"label": "Founded Date", "aliases": ["founded"], "type": "string"},
    "dissolved_date": {"label": "Dissolved Date", "type": "string"},
    "dissolution_cause": {"label": "Dissolution Cause", "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"]
   "paramOrder": ["name", "native_name", "also_known_as", "named_after", "image", "image_size", "image_alt", "caption", "founder", "founding_location", "territory", "headquarters", "locations", "predecessor", "parent_organization", "merged_with", "subsets", "splinter_groups", "absorbed", "successor", "structure", "ethnicity", "membership", "ideology", "activities", "leader", "notable_members", "puppets", "allies", "rivals", "enemies", "neutralized_persons", "status", "years_active", "founded_date", "dissolved_date", "dissolution_cause"]
}
}
</templatedata>
</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.


<includeonly>
<includeonly>

Revision as of 20:33, 18 August 2026

Template:Mbox__EXPECTED_UNCONNECTED_PAGE__

Usage

Use this template for real criminal organizations. Fields are grouped under Origins, Lineage, Profile, Politics and Activity. Empty fields and empty groups are omitted. The infobox uses an opaque background so the groups remain visually distinct.

Example

{{{name}}}
[[File:{{{image}}}|{{{image_size}}}|alt={{{image_alt}}}|class=infobox-criminal-image-file]]
{{{caption}}}
Native Name{{{native_name}}}
Also Known As{{{also_known_as}}}
Named After{{{named_after}}}
Origins
Founder{{{founder}}}
Founding Location{{{founding_location}}}
Territory{{{territory}}}
Headquarters{{{headquarters}}}
Locations{{{locations}}}
Lineage
Predecessor(s){{{predecessor}}}
Parent Organization{{{parent_organization}}}
Merged With{{{merged_with}}}
Subsets{{{subsets}}}
Splinter Groups{{{splinter_groups}}}
Absorbed{{{absorbed}}}
Successor(s){{{successor}}}
Profile
Structure{{{structure}}}
Ethnicity{{{ethnicity}}}
Membership{{{membership}}}
Ideology{{{ideology}}}
Activities{{{activities}}}
Politics
Leader{{{leader}}}
Notable Members{{{notable_members}}}
Auxiliaries{{{puppets}}}
Allies{{{allies}}}
Rivals{{{rivals}}}
Enemies{{{enemies}}}
Neutralized Persons{{{neutralized_persons}}}
Activity
Status{{{status}}}
Years Active{{{years_active}}}
Founded Date{{{founded_date}}}
Dissolved Date{{{dissolved_date}}}
Dissolution Cause{{{dissolution_cause}}}

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

Infobox criminal organization/doc

</syntaxhighlight>

Compatibility aliases

Older calls remain supported: aka for also_known_as; founders or founded_by for founder; preceded_by for predecessor; followed_by for successor; leaders for leader; membership_est for membership; criminal_activities for activities; founded for founded_date; and eliminated_opponents for neutralized_persons.

TemplateData

<templatedata> {

 "format": "block",
 "params": {
   "name": {"label": "Name", "type": "string"},
   "native_name": {"label": "Native Name", "type": "string"},
   "also_known_as": {"label": "Also Known As", "aliases": ["aka"], "type": "string"},
   "named_after": {"label": "Named After", "type": "string"},
   "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"},
   "founder": {"label": "Founder", "aliases": ["founders", "founded_by"], "type": "string"},
   "founding_location": {"label": "Founding Location", "type": "string"},
   "territory": {"label": "Territory", "type": "string"},
   "headquarters": {"label": "Headquarters", "type": "string"},
   "locations": {"label": "Locations", "type": "string"},
   "predecessor": {"label": "Predecessor(s)", "aliases": ["preceded_by"], "type": "string"},
   "parent_organization": {"label": "Parent Organization", "type": "string"},
   "merged_with": {"label": "Merged With", "type": "string"},
   "subsets": {"label": "Subsets", "type": "string"},
   "splinter_groups": {"label": "Splinter Groups", "type": "string"},
   "absorbed": {"label": "Absorbed", "type": "string"},
   "successor": {"label": "Successor(s)", "aliases": ["followed_by"], "type": "string"},
   "structure": {"label": "Structure", "type": "string"},
   "ethnicity": {"label": "Ethnicity", "type": "string"},
   "membership": {"label": "Membership", "aliases": ["membership_est"], "type": "string"},
   "ideology": {"label": "Ideology", "type": "string"},
   "activities": {"label": "Activities", "aliases": ["criminal_activities"], "type": "string"},
   "leader": {"label": "Leader", "aliases": ["leaders"], "type": "string"},
   "notable_members": {"label": "Notable Members", "type": "string"},
   "puppets": {"label": "Puppets", "type": "string"},
   "allies": {"label": "Allies", "type": "string"},
   "rivals": {"label": "Rivals", "type": "string"},
   "enemies": {"label": "Enemies", "type": "string"},
   "neutralized_persons": {"label": "Neutralized Persons", "aliases": ["eliminated_opponents"], "type": "string"},
   "status": {"label": "Status", "type": "string"},
   "years_active": {"label": "Years Active", "type": "string"},
   "founded_date": {"label": "Founded Date", "aliases": ["founded"], "type": "string"},
   "dissolved_date": {"label": "Dissolved Date", "type": "string"},
   "dissolution_cause": {"label": "Dissolution Cause", "type": "string"}
 },
 "paramOrder": ["name", "native_name", "also_known_as", "named_after", "image", "image_size", "image_alt", "caption", "founder", "founding_location", "territory", "headquarters", "locations", "predecessor", "parent_organization", "merged_with", "subsets", "splinter_groups", "absorbed", "successor", "structure", "ethnicity", "membership", "ideology", "activities", "leader", "notable_members", "puppets", "allies", "rivals", "enemies", "neutralized_persons", "status", "years_active", "founded_date", "dissolved_date", "dissolution_cause"]

} </templatedata>