Template:Infobox criminal organization: Difference between revisions
Appearance
Copied from English Wikipedia revision 1339089719; https://en.wikipedia.org/w/index.php?oldid=1339089719 provides source history/attribution (CC BY-SA 4.0/GFDL) |
Revamp labels and field order; add preceded_by, followed_by, subsets and eliminated_opponents |
||
| Line 1: | Line 1: | ||
{{main other|{{short description|Criminal organization|noreplace}}}} | {{main other|{{short description|Criminal organization|noreplace}}}} | ||
{{ infobox | {{infobox | ||
| title | | title = {{if empty|{{{name|}}}|{{PAGENAMEBASE}}}} | ||
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|alt={{{image_alt|}}}}} | |||
| image | |||
| caption = {{{caption|}}} | | caption = {{{caption|}}} | ||
|label1 | | label1 = Also Known As | ||
| | | data1 = {{if empty|{{{also_known_as|}}}|{{{aka|}}}|{{{native_name|}}}}} | ||
| | | label2 = Founded | ||
| | | data2 = {{{founded|}}} | ||
| | | label3 = {{#if:{{{founded_by|}}}|Founded by|{{#if:{{{founder|}}}|Founder|Founders}}}} | ||
| | | data3 = {{if empty|{{{founded_by|}}}|{{{founder|}}}|{{{founders|}}}}} | ||
| | | label4 = Named after | ||
| | | data4 = {{{named_after|}}} | ||
| | | label5 = Founding location | ||
| | | data5 = {{{founding_location|}}} | ||
| | | label6 = Preceded by | ||
| | | data6 = {{{preceded_by|}}} | ||
| | | label7 = Years active | ||
| | | data7 = {{{years_active|}}} | ||
| | | label8 = Followed By | ||
| | | data8 = {{{followed_by|}}} | ||
| | | label9 = Territory | ||
| | | data9 = {{{territory|}}} | ||
| | | label10 = Ethnicity | ||
| | | data10 = {{{ethnicity|}}} | ||
| | | label11 = Membership {{#if:{{{membership_est|}}}|{{nobold|(est.)}}}} | ||
| | | data11 = {{if empty|{{{membership_est|}}}|{{{membership|}}}}} | ||
| | | label12 = Leader{{pluralize from text|{{{leaders|}}}|plural=s}} | ||
| | | data12 = {{{leaders|}}} | ||
| | | label13 = Notable members | ||
| | | data13 = {{{notable_members|}}} | ||
| label14 = {{#if:{{{criminal_activities|}}}|Criminal activities|Activities}} | |||
| data14 = {{if empty|{{{criminal_activities|}}}|{{{activities|}}}}} | |||
| label15 = Subsets | |||
| data15 = {{{subsets|}}} | |||
| label16 = Allies | |||
| data16 = {{{allies|}}} | |||
| label17 = Rivals | |||
| data17 = {{{rivals|}}} | |||
| label18 = Eliminated Opponents | |||
| data18 = {{{eliminated_opponents|}}} | |||
}}{{#if:{{{ethnicity|}}}|{{main other|[[Category:Pages using infobox criminal organization with ethnicity parameter]]}}}}<!-- | }}{{#if:{{{ethnicity|}}}|{{main other|[[Category:Pages using infobox criminal organization with ethnicity parameter]]}}}}<!-- | ||
-->{{#if:{{{rivals|}}}|{{main other|[[Category:Pages using infobox criminal organization with rivals parameter]]}}}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox criminal organization with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox criminal organization]] with unknown parameter "_VALUE_"|ignoreblank=y| activities | allies | caption | criminal_activities | ethnicity | founded | founded_by | founder | founders | founding_location | image | image_alt | image_size | leaders | membership | membership_est | name | named_after | native_name | native_name_lang | notable_members | rivals | territory | years_active }}{{#invoke:Check for conflicting parameters|check | -->{{#if:{{{rivals|}}}|{{main other|[[Category:Pages using infobox criminal organization with rivals parameter]]}}}}{{#invoke:Check for unknown parameters|check | ||
| unknown = {{main other|[[Category:Pages using infobox criminal organization with unknown parameters|_VALUE_{{PAGENAME}}]]}} | |||
| preview = Page using [[Template:Infobox criminal organization]] with unknown parameter "_VALUE_" | |||
| ignoreblank = y | |||
| activities | aka | allies | also_known_as | caption | criminal_activities | eliminated_opponents | ethnicity | followed_by | founded | founded_by | founder | founders | founding_location | image | image_alt | image_size | leaders | membership | membership_est | name | named_after | native_name | native_name_lang | notable_members | preceded_by | rivals | subsets | territory | years_active | |||
}}{{#invoke:Check for conflicting parameters|check | |||
| template = [[Template:Infobox criminal organization]] | | template = [[Template:Infobox criminal organization]] | ||
| cat = {{main other|Category:Pages using infobox criminal organization with conflicting parameters}} | | cat = {{main other|Category:Pages using infobox criminal organization with conflicting parameters}} | ||
| founded_by; founder; founders | | founded_by; founder; founders | ||
| membership_est; membership | | membership_est; membership | ||
| criminal_activities; activities | | criminal_activities; activities | ||
| native_name; also_known_as; aka | |||
}}<noinclude> | }}<noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> | ||
Revision as of 19:30, 18 August 2026
File:Test Template Info-Icon - Version (2).svg Template documentationviewedithistorypurge
| File:Information icon4.svg | This template adds an automatically generated short description. If the automatic short description is not optimal, override it by adding {{Short description}} at the top of the article. |
| File:Lua-Logo.svg | This template uses Lua: |
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
| [[File:{{{image}}}|{{{image_size}}}|alt={{{image_alt}}}]] {{{caption}}} | |
| Also Known As | {{{also_known_as}}} |
|---|---|
| Founder | {{{founder}}} |
| Named after | {{{named_after}}} |
| Founding location | {{{founding_location}}} |
| Years active | {{{years_active}}} |
| Territory | {{{territory}}} |
| Ethnicity | {{{ethnicity}}} |
| Membership | {{{membership}}} |
| Notable members | {{{notable_members}}} |
| Activities | {{{activities}}} |
| Subsets | {{{subsets}}} |
| Allies | {{{allies}}} |
| Rivals | {{{rivals}}} |
<syntaxhighlight lang="wikitext" style="overflow:auto;">
</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; puppets for auxiliaries; 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"},
"auxiliaries": {"label": "Auxiliaries", "aliases": ["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", "auxiliaries", "allies", "rivals", "enemies", "neutralized_persons", "status", "years_active", "founded_date", "dissolved_date", "dissolution_cause"]
} </templatedata>