Difference between revisions of "Template:Infobox criminal organization/doc"
(iw) |
imported>Frietjes |
||
| (41 intermediate revisions by 29 users not shown) | |||
| Line 1: | Line 1: | ||
{{documentation subpage}} | {{documentation subpage}} | ||
<!---PLEASE ADD METADATA TO THE <includeonly> SECTION AT THE BOTTOM OF THIS PAGE---> | <!---PLEASE ADD METADATA TO THE <includeonly> SECTION AT THE BOTTOM OF THIS PAGE---> | ||
| + | {{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}} | ||
| + | |||
== Usage == | == Usage == | ||
| − | + | '''Note:''' Please do not use this template for fictional criminal organisations. This template should be used for non-fictional criminal organisations only. | |
| + | {{Infobox criminal organization | ||
| + | | name = ''name'' | ||
| + | | image = Example-serious.jpg | ||
| + | | image_size = | ||
| + | | caption = ''caption'' | ||
| + | | founded = ''founded'' | ||
| + | | founder = ''founder'' or ''founders'' | ||
| + | | named_after = ''named after'' | ||
| + | | founding_location = ''founding_location'' | ||
| + | | years_active = ''years_active'' | ||
| + | | territory = ''territory'' | ||
| + | | ethnicity = ''ethnicity'' | ||
| + | | membership = ''membership'' | ||
| + | | leaders = ''leaders'' | ||
| + | | activities = ''activities'' | ||
| + | | allies = ''allies'' | ||
| + | | rivals = ''rivals'' | ||
| + | | notable_members = ''notable_members'' | ||
| + | }} | ||
<pre style="overflow:auto;"> | <pre style="overflow:auto;"> | ||
| − | {{Infobox | + | {{Infobox criminal organization |
| − | |name | + | | name = <!--(defaults to {{PAGENAME}})--> |
| − | |image | + | | image = <!--(filename only)--> |
| − | |image_size | + | | image_size = <!--(defaults to 220px)--> |
| − | |caption | + | | caption = |
| − | |founded | + | | founded = |
| − | |founding_location = | + | | founder = <!--or | founders = --> |
| − | |years_active = | + | | named_after = |
| − | |territory | + | | founding_location = |
| − | |ethnicity | + | | years_active = |
| − | |membership | + | | territory = |
| − | |activities | + | | ethnicity = |
| − | |allies | + | | membership = |
| − | |rivals | + | | leaders = |
| + | | activities = | ||
| + | | allies = | ||
| + | | rivals = | ||
| + | | notable_members = | ||
}} | }} | ||
</pre> | </pre> | ||
| + | {{clear}} | ||
| − | <includeonly> | + | == TemplateData == |
| + | {{TemplateData header}} | ||
| + | <templatedata> | ||
| + | { | ||
| + | "description": "", | ||
| + | "format": "block", | ||
| + | "params": { | ||
| + | "name": { | ||
| + | "label": "name", | ||
| + | "type": "string", | ||
| + | "required": false, | ||
| + | "suggested": false, | ||
| + | "deprecated": false, | ||
| + | "description": "defaults to {{PAGENAME}} if name not provided" | ||
| + | }, | ||
| + | "native_name": { | ||
| + | "label": "native_name", | ||
| + | "type": "string", | ||
| + | "required": false, | ||
| + | "suggested": false, | ||
| + | "deprecated": false, | ||
| + | "description": "Organization's name in its local language" | ||
| + | }, | ||
| + | "native_name_lang": { | ||
| + | "label": "native_name_lang", | ||
| + | "type": "string", | ||
| + | "required": false, | ||
| + | "suggested": false, | ||
| + | "deprecated": false, | ||
| + | "description": "Language code for native_name" | ||
| + | }, | ||
| + | "image": { | ||
| + | "label": "image", | ||
| + | "type": "string", | ||
| + | "required": false, | ||
| + | "suggested": false, | ||
| + | "deprecated": false, | ||
| + | "description": "image of 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", | ||
| + | "type": "string", | ||
| + | "required": false, | ||
| + | "suggested": false, | ||
| + | "deprecated": false, | ||
| + | "description": "see [[WP:ALT]]" | ||
| + | }, | ||
| + | "caption": { | ||
| + | "label": "caption", | ||
| + | "type": "string", | ||
| + | "required": false, | ||
| + | "suggested": false, | ||
| + | "deprecated": false, | ||
| + | "description": "caption" | ||
| + | }, | ||
| + | "founded": { | ||
| + | "label": "founded", | ||
| + | "type": "date", | ||
| + | "required": false, | ||
| + | "suggested": false, | ||
| + | "deprecated": false, | ||
| + | "description": "founding date, e.g. use {{start date and age|YYYY|MM|DD}}" | ||
| + | }, | ||
| + | "founder": { | ||
| + | "label": "founder", | ||
| + | "aliases": ["founders", "founded_by", "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", | ||
| + | "aliases": ["founding location"], | ||
| + | "type": "string", | ||
| + | "required": false, | ||
| + | "suggested": false, | ||
| + | "deprecated": false, | ||
| + | "description": "place 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", | ||
| + | "aliases": ["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": "Any particular region associated with the organization" | ||
| + | }, | ||
| + | "ethnicity": { | ||
| + | "label": "ethnicity", | ||
| + | "aliases": ["ethnic makeup"], | ||
| + | "type": "string", | ||
| + | "required": false, | ||
| + | "suggested": false, | ||
| + | "deprecated": false, | ||
| + | "description": "" | ||
| + | }, | ||
| + | "membership": { | ||
| + | "label": "membership", | ||
| + | "aliases": ["membership_est"], | ||
| + | "type": "string", | ||
| + | "required": false, | ||
| + | "suggested": false, | ||
| + | "deprecated": false, | ||
| + | "description": "membership 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", "criminal_activities"], | ||
| + | "type": "string", | ||
| + | "required": false, | ||
| + | "suggested": false, | ||
| + | "deprecated": false, | ||
| + | "description": "List of confirmed criminal activities" | ||
| + | }, | ||
| + | "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> | ||
| + | |||
| + | == Tracking categories == | ||
| + | * {{clc|Pages using infobox criminal organization with unsupported parameters}} | ||
| + | * {{clc|Pages using infobox criminal organization with rivals parameter}} | ||
| + | * {{clc|Pages using infobox criminal organization with ethnicity or ethnic makeup parameters}} | ||
| + | |||
| + | == See also == | ||
| + | * {{tl|Infobox organization}} | ||
| + | * {{tl|Infobox fictional organisation}} | ||
| + | |||
| + | <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:Templates that add a tracking category]] |
| − | </includeonly> | + | }}</includeonly> |
Latest revision as of 12:36, 28 September 2019
| This is a documentation subpage for Template:Infobox criminal organization. It contains usage information, categories and other content that is not part of the original template page. |
| This template uses Lua: |
Usage
Note: Please do not use this template for fictional criminal organisations. This template should be used for non-fictional criminal organisations only.
{{Infobox criminal organization
| name = <!--(defaults to {{PAGENAME}})-->
| image = <!--(filename only)-->
| image_size = <!--(defaults to 220px)-->
| caption =
| founded =
| founder = <!--or | founders = -->
| named_after =
| founding_location =
| years_active =
| territory =
| ethnicity =
| membership =
| leaders =
| activities =
| allies =
| rivals =
| notable_members =
}}
TemplateData
TemplateData for Infobox criminal organization
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| name | name | defaults to {{PAGENAME}} if name not provided | String | optional |
| native_name | native_name | Organization's name in its local language | String | optional |
| native_name_lang | native_name_lang | Language code for native_name | String | optional |
| image | image | image of the organization | String | optional |
| image_size | image_size | size of the image | Number | optional |
| image_alt | image_alt | see [[WP:ALT]] | String | optional |
| caption | caption | caption | String | optional |
| founded | founded | founding date, e.g. use {{start date and age|YYYY|MM|DD}} | Date | optional |
| founder | founder founders founded_by founded by | founder of the organization (use founders for a list of multiple founders) | String | optional |
| named_after | named_after named after | Entity the organization was named after, if any | String | optional |
| founding_location | founding_location founding location | place founded | String | optional |
| Years active | years_active | 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). | String | optional |
| territory | territory | Any particular region associated with the organization | String | optional |
| ethnicity | ethnicity ethnic makeup | String | optional | |
| membership | membership membership_est | membership of the organization (use membership_est for estimates) | String | optional |
| leaders | leaders | List of leaders of the organization | String | optional |
| activities | activities criminal activities criminal_activities | List of confirmed criminal activities | String | optional |
| allies | allies | List of known allies | String | optional |
| rivals | rivals | List of known rival organizations | String | optional |
| notable_members | notable_members | List of known notable members | String | optional |
Tracking categories
- Category:Pages using infobox criminal organization with unsupported parameters (0)
- Category:Pages using infobox criminal organization with rivals parameter (2)
- Category:Pages using infobox criminal organization with ethnicity or ethnic makeup parameters (2)
See also
