Difference between revisions of "Template:Infobox criminal organization/sandbox"
imported>CherryPie94 |
imported>CherryPie94 |
||
Line 1: | Line 1: | ||
− | {{ | + | {{Infobox |
| title = {{if empty|{{{name|}}}|<includeonly>{{PAGENAMEBASE}}</includeonly>}} | | title = {{if empty|{{{name|}}}|<includeonly>{{PAGENAMEBASE}}</includeonly>}} | ||
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|alt={{{image_alt|}}}}} | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|alt={{{image_alt|}}}}} | ||
Line 6: | Line 6: | ||
| label1 = Founded | | label1 = Founded | ||
| data1 = {{{founded|}}} | | data1 = {{{founded|}}} | ||
+ | |||
| label2 = {{#if:{{{founded by|}}}{{{founded_by|}}}|Founded by|{{#if:{{{founder|}}}|Founder|Founders}}}} | | label2 = {{#if:{{{founded by|}}}{{{founded_by|}}}|Founded by|{{#if:{{{founder|}}}|Founder|Founders}}}} | ||
| data2 = {{if empty|{{{founded by|}}}|{{{founded_by|}}}|{{{founder|}}}|{{{founders|}}}}} | | data2 = {{if empty|{{{founded by|}}}|{{{founded_by|}}}|{{{founder|}}}|{{{founders|}}}}} | ||
+ | |||
| label3 = Named after | | label3 = Named after | ||
| data3 = {{if empty|{{{named after|}}}|{{{named_after|}}}}} | | data3 = {{if empty|{{{named after|}}}|{{{named_after|}}}}} | ||
+ | |||
| label4 = Founding location | | label4 = Founding location | ||
| data4 = {{if empty|{{{founding location|}}}|{{{founding_location|}}}}} | | data4 = {{if empty|{{{founding location|}}}|{{{founding_location|}}}}} | ||
+ | |||
| label5 = Years active | | label5 = Years active | ||
| data5 = {{if empty|{{{years active|}}}|{{{years_active|}}}}} | | data5 = {{if empty|{{{years active|}}}|{{{years_active|}}}}} | ||
+ | |||
| label6 = Territory | | label6 = Territory | ||
| data6 = {{{territory|}}} | | data6 = {{{territory|}}} | ||
+ | |||
| label7 = Ethnicity | | label7 = Ethnicity | ||
| data7 = {{if empty|{{{ethnicity|}}}|{{{ethnic makeup|}}}}}<!-- | | data7 = {{if empty|{{{ethnicity|}}}|{{{ethnic makeup|}}}}}<!-- | ||
-->{{#if:{{{ethnicity|}}}|[[Category:Pages using infobox criminal organization with ethnicity or ethnic makeup parameters|e{{PAGENAME}}]] | -->{{#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:{{{ethnic makeup|}}}|[[Category:Pages using infobox criminal organization with ethnicity or ethnic makeup parameters|m{{PAGENAME}}]]}} |
− | + | ||
| label8 = Membership {{#if:{{{membership est|}}}|{{nobold|(est.)}}}} | | label8 = Membership {{#if:{{{membership est|}}}|{{nobold|(est.)}}}} | ||
| data8 = {{if empty|{{{membership est|}}}|{{{membership|}}}}} | | data8 = {{if empty|{{{membership est|}}}|{{{membership|}}}}} | ||
+ | |||
| label9 = Leader(s) | | label9 = Leader(s) | ||
| data9 = {{{leaders|}}} | | data9 = {{{leaders|}}} | ||
+ | |||
| label10 = Criminal activities | | label10 = Criminal activities | ||
| data10 = {{if empty|{{{criminal activities|}}}|{{{criminal_activities|}}}|{{{activities|}}}}} | | data10 = {{if empty|{{{criminal activities|}}}|{{{criminal_activities|}}}|{{{activities|}}}}} | ||
+ | |||
| label11 = Allies | | label11 = Allies | ||
| data11 = {{{allies|}}} | | data11 = {{{allies|}}} | ||
+ | |||
| label12 = Rivals | | label12 = Rivals | ||
| data12 = {{#if:{{{rivals|}}}|{{{rivals}}}[[Category:Pages using infobox criminal organization with rivals parameter]]}} | | data12 = {{#if:{{{rivals|}}}|{{{rivals}}}[[Category:Pages using infobox criminal organization with rivals parameter]]}} | ||
+ | |||
| label13 = Notable members | | label13 = Notable members | ||
| data13 = {{if empty|{{{notable members|}}}|{{{notable_members|}}}}} | | data13 = {{if empty|{{{notable members|}}}|{{{notable_members|}}}}} | ||
+ | |||
| data14 = {{{misc|{{{module|}}}}}} | | data14 = {{{misc|{{{module|}}}}}} | ||
+ | | data15 = {{{misc2|{{{module2|}}}}}} | ||
+ | |||
}}<!-- Tracking categories: | }}<!-- 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_" | -->{{#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_" |
Latest revision as of 10:44, 2 February 2018
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". |
Criminal activities | Script error: No such module "If empty". |
Notable members | Script error: No such module "If empty". |
![]() | This is the template sandbox page for Template:Infobox criminal organization (diff). |
![]() | This template uses Lua: |
Contents
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
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. |
![]() | This is the template sandbox page for Template:Infobox criminal organization (diff). |
![]() | 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
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. |