Difference between revisions of "Template:Infobox criminal organization"
imported>Sardanaphalus ({{Infobox}}, start/end infobox page) |
imported>Jay D. Easy |
||
| (53 intermediate revisions by 29 users not shown) | |||
| Line 1: | Line 1: | ||
| − | + | {{ infobox | |
| − | {{ | + | | title = {{if empty|{{{name|}}}|<includeonly>{{PAGENAMEBASE}}</includeonly>}} |
| − | | | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | | | + | | subheader = {{#if:{{{native_name|}}}|<div class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}"}}>{{{native_name}}}</div>}} |
| − | |||
| − | |||
| − | |||
| − | | | ||
| − | |||
| − | |||
| − | |||
| − | | | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | <!---Please add metadata to the <includeonly> section at the bottom of the /doc subpage | + | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|alt={{{image_alt|}}}}} |
| − | </noinclude> | + | | caption = {{{caption|}}} |
| + | |||
| + | |label1 = Founded | ||
| + | | data1 = {{{founded|}}} | ||
| + | |label2 = {{#if:{{{founded by|}}}{{{founded_by|}}}|Founded by|{{#if:{{{founder|}}}|Founder|Founders}}}} | ||
| + | | data2 = {{if empty|{{{founded by|}}}|{{{founded_by|}}}|{{{founder|}}}|{{{founders|}}}}} | ||
| + | |label3 = Named after | ||
| + | | data3 = {{if empty|{{{named after|}}}|{{{named_after|}}}}} | ||
| + | |label4 = Founding location | ||
| + | | data4 = {{if empty|{{{founding location|}}}|{{{founding_location|}}}}} | ||
| + | |label5 = Years active | ||
| + | | data5 = {{if empty|{{{years active|}}}|{{{years_active|}}}}} | ||
| + | |label6 = Territory | ||
| + | | data6 = {{{territory|}}} | ||
| + | |label7 = Ethnicity | ||
| + | | data7 = {{if empty|{{{ethnicity|}}}|{{{ethnic makeup|}}}}} | ||
| + | |label8 = Membership {{#if:{{{membership est|}}}{{{membership_est|}}}|{{nobold|(est.)}}}} | ||
| + | | data8 = {{if empty|{{{membership est|}}}|{{{membership_est|}}}|{{{membership|}}}}} | ||
| + | |label9 = Leader(s) | ||
| + | | data9 = {{{leaders|}}} | ||
| + | |label10 = {{#if:{{{criminal activities|{{{criminal_activities|}}}}}}|Criminal activities|Activities}} | ||
| + | | data10 = {{{criminal activities|{{{criminal_activities|{{{activities|}}}}}}}}} | ||
| + | |label11 = Allies | ||
| + | | data11 = {{{allies|}}} | ||
| + | |label12 = Rivals | ||
| + | | data12 = {{{rivals|}}} | ||
| + | |label13 = Notable members | ||
| + | | data13 = {{if empty|{{{notable members|}}}|{{{notable_members|}}}}} | ||
| + | }}<!-- Tracking categories: | ||
| + | -->{{#invoke:Check for unknown parameters|check|unknown=[[Category:Pages using infobox criminal organization with unsupported parameters|_VALUE_{{PAGENAME}}]]|preview=Page using [[Template:Infobox criminal organization]] with unknown parameter "_VALUE_"|ignoreblank=y | ||
| + | | name | native_name | native_name_lang | image | image_size | image_alt | caption | founded | founded by | founded_by | founder | founders | named after | named_after | founding location | founding_location | years active | years_active | territory | ethnicity | ethnic makeup | membership_est | membership est | membership | leaders | criminal activities | criminal_activities | activities | allies | rivals | notable members | notable_members | ||
| + | }}<!-- | ||
| + | -->{{#if:{{{ethnicity|}}}|[[Category:Pages using infobox criminal organization with ethnicity or ethnic makeup parameters|e{{PAGENAME}}]] | ||
| + | }}{{#if:{{{ethnic makeup|}}}|[[Category:Pages using infobox criminal organization with ethnicity or ethnic makeup parameters|m{{PAGENAME}}]] | ||
| + | }}<!-- | ||
| + | -->{{#if:{{{rivals|}}}|[[Category:Pages using infobox criminal organization with rivals parameter]] | ||
| + | }}<noinclude>{{documentation}}<!-- Please add metadata to the <includeonly> section at the bottom of the /doc subpage, not here --></noinclude> | ||
Latest revision as of 00:34, 19 January 2020
| Founders | Script error: No such module "If empty". |
|---|---|
| Named after | Script error: No such module "If empty". |
| Founding location | Script error: No such module "If empty". |
| Years active | Script error: No such module "If empty". |
| Ethnicity | Script error: No such module "If empty". |
| Membership | Script error: No such module "If empty". |
| Notable members | Script error: No such module "If empty". |
[[Category:Infobox templates|Template:Remove first word]]
| 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.
Template:Remove first word]]{{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
| The above documentation is transcluded from Template:Infobox criminal organization/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |
