Template:Infobox criminal organization: Difference between revisions
From Roses, Tulips, & Liberty
Content added Content deleted
(empty parameter logic) |
|||
Line 1: | Line 1: | ||
{{ infobox |
{{ infobox |
||
| title = {{{name|<includeonly>{{BASEPAGENAME}}</includeonly> |
| title = {{if empty|{{{name|}}}|<includeonly>{{BASEPAGENAME}}</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|}}}}} |
||
| caption = {{{caption|}}} |
| caption = {{{caption|}}} |
||
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 = Founder |
|||
| data2 = {{{founded by|{{{founded_by|{{{founder|}}} |
| data2 = {{if empty|{{{founded by|}}}|{{{founded_by|}}}|{{{founder|}}}|{{{founders|}}}}} |
||
| label3 = Named after |
| label3 = Named after |
||
| data3 = {{{named after|{{{named_after| |
| data3 = {{if empty|{{{named after|}}}|{{{named_after|}}}}} |
||
| label4 = Founding location |
| label4 = Founding location |
||
| data4 = {{{founding location|{{{founding_location| |
| data4 = {{if empty|{{{founding location|}}}|{{{founding_location|}}}}} |
||
| label5 = Years active |
| label5 = Years active |
||
| data5 = {{{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|}}}}}<!-- |
|||
⚫ | |||
-->{{#if:{{{ethnicity|}}}|[[Category:Pages using infobox criminal organization with ethnicity or ethnic makeup parameters|e{{PAGENAME}}]] |
|||
| label8 = Membership |
|||
⚫ | |||
⚫ | |||
}} |
|||
| label8 = Membership {{#if:{{{membership est|}}}|{{nobold|(est.)}}}} |
|||
⚫ | |||
| label9 = Leader(s) |
| label9 = Leader(s) |
||
| data9 = {{{leaders|}}} |
| data9 = {{{leaders|}}} |
||
| label10 = Criminal activities |
| label10 = Criminal activities |
||
| data10 = {{{criminal activities|{{{criminal_activities|{{{activities| |
| data10 = {{if empty|{{{criminal activities|}}}|{{{criminal_activities|}}}|{{{activities|}}}}} |
||
| label11 = Allies |
| label11 = Allies |
||
| data11 = {{{allies|}}} |
| data11 = {{{allies|}}} |
||
Line 29: | Line 32: | ||
| 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 = {{{notable members|{{{notable_members| |
| data13 = {{if empty|{{{notable members|}}}|{{{notable_members|}}}}} |
||
}}<!-- 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_" |