Difference between revisions of "Template:Infobox criminal organization/doc"
imported>DarkShadowTNT m (Undid revision 885686088 by Osama shaikh phenomenal fitness (talk). RV irrelevant content addition) |
imported>Frietjes (→Tracking categories: add templatedata) |
||
| Line 47: | Line 47: | ||
{{clear}} | {{clear}} | ||
| + | == 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" | ||
| + | }, | ||
| + | "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", | ||
| + | "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 == | == Tracking categories == | ||
* {{clc|Pages using infobox criminal organization with unsupported parameters}} | * {{clc|Pages using infobox criminal organization with unsupported parameters}} | ||
Revision as of 12:26, 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 |
| 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
