Difference between revisions of "Template:Infobox state gun laws"

From blackwiki
Jump to navigation Jump to search
imported>Plastikspork
(Add section dividers)
imported>Frietjes
(make more print friendly)
Line 2: Line 2:
 
|bodyclass = vcard
 
|bodyclass = vcard
 
|aboveclass = fn org
 
|aboveclass = fn org
|above         = {{{state}}}
+
|above = {{{state|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}
|image     = {{#invoke:InfoboxImage|InfoboxImage|image={{{state-flag|{{{image|}}}}}}|size={{{imagesize|}}}|alt={{{alt|}}}}}  
+
|image = {{#invoke:InfoboxImage|InfoboxImage|image={{{state-flag|{{{image|}}}}}}|size={{{imagesize|}}}|alt={{{alt|}}}}}  
  
 
|labelstyle = border-top:#eee 1px solid;
 
|labelstyle = border-top:#eee 1px solid;
 
|datastyle = border-top:#eee 1px solid;
 
|datastyle = border-top:#eee 1px solid;
|data1 = {{collapsed infobox section begin|Constitution|titlestyle=background-color:#eee}}
+
|headerstyle = background-color:#eee
|label2        = {{{constitution-sections|}}}
 
|data2        = {{{constitution-synopsis|<div style="text-align:center;">Constitutional provision unknown</div>}}}
 
  
|data3 = {{collapsed infobox section end}}
+
<!--- --->
{{collapsed infobox section begin|Preemption and local regulation|titlestyle=background-color:#eee}}
+
|header1 = {{#if:{{{constitution-sections|}}}{{{constitution-synopsis|}}}|Constitution}}
|label4        = {{{preemption-sections|}}}
+
<!--- --->
|data4        = {{{preemption-synopsis|<div style="text-align:center;">Preemption unknown</div>}}}
+
|label2 = Constitution sections
|label5        = {{{local-regulation-sections|}}}
+
|data2 = {{{constitution-sections|}}}
|data5        = {{{local-regulation-synopsis|<div style="text-align:center;">Existing local regulations unknown</div>}}}
+
|data3 = {{#if:{{{constitution-synopsis|}}}|
 +
{{hidden begin|title={{#if:{{{constitution-sections|}}}|Synopsis|Constitution}}}}
 +
{{{constitution-synopsis|}}}
 +
{{hidden end}} }}
  
|data6 = {{collapsed infobox section end}}
+
<!--- --->
{{collapsed infobox section begin|Registration|titlestyle=background-color:#eee}}
+
|header5 = {{#if:{{{preemption-sections|}}}{{{preemption-synopsis|}}}{{{local-regulation-sections|}}}{{{local-regulation-synopsis|}}}|Preemption and local regulation}}
|label7        = {{{ownership-registration-sections|}}}
+
<!--- --->
|data7        = {{{ownership-registration-synopsis|<div style="text-align:center;">Ownership registration unknown</div>}}}
+
|label6 = Preemption sections
|label8        = {{{purchase-registration-sections|}}}
+
|data6 = {{{preemption-sections|}}}
|data8        = {{{purchase-registration-synopsis|<div style="text-align:center;">Purchase registration unknown</div>}}}
+
|data7 = {{#if:{{{preemption-synopsis|}}}|
|label9        = {{{lost-stolen-registration-sections|}}}
+
{{hidden begin|title={{#if:{{{preemption-sections|}}}|Synopsis|Preemption}}}}
|data9        = {{{lost-stolen-registration-synopsis|<div style="text-align:center;">Lost/stolen registration unknown</div>}}}
+
{{{preemption-synopsis|}}}
 +
{{hidden end}} }}
  
|data10 = {{collapsed infobox section end}}
+
|label9 = Local regulation sections
{{collapsed infobox section begin|Restricted or prohibited items|titlestyle=background-color:#eee}}
+
|data9 = {{{local-regulation-sections|}}}
|label11        = {{{restricted-firearms-sections|}}}
+
|data10 = {{#if:{{{local-regulation-synopsis|}}}|
|data11        = {{{restricted-firearms-synopsis|<div style="text-align:center;">Restricted firearms unknown</div>}}}
+
{{hidden begin|title={{#if:{{{local-regulation-sections|}}}|Synopsis|Local regulation}}}}
|label12        = {{{restricted-ammunition-sections|}}}
+
{{{local-regulation-synopsis|}}}
|data12        = {{{restricted-ammunition-synopsis|<div style="text-align:center;">Restricted ammunition unknown</div>}}}
+
{{hidden end}} }}
|label13        = {{{restricted-accessories-sections|}}}
 
|data13        = {{{restricted-accessories-synopsis|<div style="text-align:center;">Restricted accessories unknown</div>}}}
 
  
|data14 = {{collapsed infobox section end}}
+
<!--- --->
{{collapsed infobox section begin|Restricted or prohibited places|titlestyle=background-color:#eee}}
+
|header11 = {{#if:{{{ownership-registration-sections|}}}{{{ownership-registration-synopsis|}}}{{{purchase-registration-sections|}}}{{{purchase-registration-synopsis|}}}{{{lost-stolen-registration-sections|}}}{{{lost-stolen-registration-synopsis|}}}|Registration}}
|label15        = {{{restricted-places-sections|}}}
+
<!--- --->
|data15        = {{{restricted-places-synopsis|<div style="text-align:center;">Restricted places unknown</div>}}}
+
|label12 = Ownership registration sections
 +
|data12 = {{{ownership-registration-sections|}}}
 +
|data13 = {{#if:{{{ownership-registration-synopsis|}}}|
 +
{{hidden begin|title={{#if:{{{ownership-registration-sections|}}}|Synopsis|Ownership registration}}}}
 +
{{{ownership-registration-synopsis|}}}
 +
{{hidden end}} }}
  
|data16 = {{collapsed infobox section end}}
+
|label15 = Purchase registration sections
{{collapsed infobox section begin|Restricted or prohibited persons|titlestyle=background-color:#eee}}
+
|data15 = {{{purchase-registration-sections|}}}
|label17        = {{{underage-persons-sections|}}}
+
|data16 = {{#if:{{{purchase-registration-synopsis|}}}|
|data17        = {{{underage-persons-synopsis|<div style="text-align:center;">Underage persons unknown</div>}}}
+
{{hidden begin|title={{#if:{{{purchase-registration-sections|}}}|Synopsis|Purchase registration}}}}
|label18        = {{{alien-persons-sections|}}}
+
{{{purchase-registration-synopsis|}}}
|data18        = {{{alien-persons-synopsis|<div style="text-align:center;">Alien persons unknown</div>}}}
+
{{hidden end}} }}
|label19        = {{{restricted-persons-sections|}}}
 
|data19        = {{{restricted-persons-synopsis|<div style="text-align:center;">Restricted persons unknown</div>}}}
 
|label20      = {{{convicted-persons-sections|}}}
 
|data20        = {{{convicted-persons-synopsis|<div style="text-align:center;">Convicted persons unknown</div>}}}
 
  
|data21 = {{collapsed infobox section end}}
+
|label17 = Lost/stolen registration sections
{{collapsed infobox section begin|Manufacturing|titlestyle=background-color:#eee}}
+
|data17 = {{{lost-stolen-registration-sections|}}}
|label22        = {{{manufacturing-sections|}}}
+
|data18 = {{#if:{{{lost-stolen-registration-synopsis|}}}|
|data22        = {{{manufacturing-synopsis|<div style="text-align:center;">Manufacturing regulations unknown</div>}}}
+
{{hidden begin|title={{#if:{{{lost-stolen-registration-sections|}}}|Synopsis|Lost/stolen registration}}}}
               
+
{{{lost-stolen-registration-synopsis|}}}
|data23 = {{collapsed infobox section end}}
+
{{hidden end}} }}
{{collapsed infobox section begin|Sale, purchase, and transfer|titlestyle=background-color:#eee}}
+
 
|label24        = {{{dealer-sections|}}}
+
<!--- --->
|data24        = {{{dealer-synopsis|<div style="text-align:center;">Dealer regulations unknown</div>}}}
+
|header20 = {{#if:{{{restricted-firearms-sections|}}}{{{restricted-firearms-synopsis|}}}{{{restricted-ammunition-sections|}}}{{{restricted-ammunition-synopsis|}}}{{{restricted-accessories-sections|}}}{{{restricted-accessories-synopsis|}}}|Restricted or prohibited items}}
|label25        = {{{private-sections|}}}
+
<!--- --->
|data25        = {{{private-synopsis|<div style="text-align:center;">Private sale regulations unknown</div>}}}
+
|label21 = Restricted firearms sections
|label26        = {{{gun-show-sections|}}}
+
|data21 = {{{restricted-firearms-sections|}}}
|data26        = {{{gun-show-synopsis|<div style="text-align:center;">Gun show regulations unknown</div>}}}
+
|data22 = {{#if:{{{restricted-firearms-synopsis|}}}|
 +
{{hidden begin|title={{#if:{{{restricted-firearms-sections|}}}|Synopsis|Restricted firearms}}}}
 +
{{{restricted-firearms-synopsis|}}}
 +
{{hidden end}} }}
 +
 
 +
|label23 = Restricted ammunition sections
 +
|data23 = {{{restricted-ammunition-sections|}}}
 +
|data24 = {{#if:{{{restricted-ammunition-synopsis|}}}|
 +
{{hidden begin|title={{#if:{{{restricted-ammunition-sections|}}}|Synopsis|Restricted ammunition}}}}
 +
{{{restricted-ammunition-synopsis|}}}
 +
{{hidden end}} }}
 +
 
 +
|label25 = Restricted accessories sections
 +
|data25 = {{{restricted-accessories-sections|}}}
 +
|data26 = {{#if:{{{restricted-accessories-synopsis|}}}|
 +
{{hidden begin|title={{#if:{{{restricted-accessories-sections|}}}|Synopsis|Restricted accessories}}}}
 +
{{{restricted-accessories-synopsis|}}}
 +
{{hidden end}} }}
 +
 
 +
<!--- --->
 +
|header30 = {{#if:{{{restricted-places-sections|}}}{{{restricted-places-synopsis|}}}|Restricted or prohibited places}}
 +
<!--- --->
 +
|label31 = Restricted places sections
 +
|data31 = {{{restricted-places-sections|}}}
 +
|data32 = {{#if:{{{restricted-places-synopsis|}}}|
 +
{{hidden begin|title={{#if:{{{restricted-places-sections|}}}|Synopsis|Restricted places}}}}
 +
{{{restricted-places-synopsis|}}}
 +
{{hidden end}} }}
 +
 
 +
<!--- --->
 +
|header35 = {{#if:{{{underage-persons-sections|}}}{{{underage-persons-synopsis|}}}{{{alien-persons-sections|}}}{{{alien-persons-synopsis|}}}{{{restricted-persons-sections|}}}{{{restricted-persons-synopsis|}}}{{{convicted-persons-sections|}}}{{{convicted-persons-synopsis|}}}|Restricted or prohibited persons}}
 +
<!--- --->
 +
|label36 = Underage persons sections
 +
|data36 = {{{underage-persons-sections|}}}
 +
|data37 = {{#if:{{{underage-persons-synopsis|}}}|
 +
{{hidden begin|title={{#if:{{{underage-persons-sections|}}}|Synopsis|Underage persons}}}}
 +
{{{underage-persons-synopsis|}}}
 +
{{hidden end}} }}
 +
 
 +
|label38 = Alien persons sections
 +
|data38 = {{{alien-persons-sections|}}}
 +
|data39 = {{#if:{{{alien-persons-synopsis|}}}|
 +
{{hidden begin|title={{#if:{{{alien-persons-sections|}}}|Synopsis|Alien persons}}}}
 +
{{{alien-persons-synopsis|}}}
 +
{{hidden end}} }}
 +
 
 +
|label40 = Restricted persons sections
 +
|data40 = {{{restricted-persons-sections|}}}
 +
|data41 = {{#if:{{{restricted-persons-synopsis|}}}|
 +
{{hidden begin|title={{#if:{{{restricted-persons-sections|}}}|Synopsis|Restricted persons}}}}
 +
{{{restricted-persons-synopsis|}}}
 +
{{hidden end}} }}
 +
 
 +
|label42 = Convicted persons sections
 +
|data42 = {{{convicted-persons-sections|}}}
 +
|data43 = {{#if:{{{convicted-persons-synopsis|}}}|
 +
{{hidden begin|title={{#if:{{{convicted-persons-sections|}}}|Synopsis|Convicted persons}}}}
 +
{{{convicted-persons-synopsis|}}}
 +
{{hidden end}} }}
 +
 
 +
<!--- --->
 +
|header45 = {{#if:{{{manufacturing-sections|}}}{{{manufacturing-synopsis|}}}|Manufacturing}}
 +
<!--- --->
 +
|label46 = Manufacturing regulations sections
 +
|data46 = {{{manufacturing-sections|}}}
 +
|data47 = {{#if:{{{manufacturing-synopsis|}}}|
 +
{{hidden begin|title={{#if:{{{manufacturing-sections|}}}|Synopsis|Manufacturing regulations}}}}
 +
{{{manufacturing-synopsis|}}}
 +
{{hidden end}} }}
 +
 
 +
<!--- --->
 +
|header50 = {{#if:{{{dealer-sections|}}}{{{dealer-synopsis|}}}{{{private-sections|}}}{{{private-synopsis|}}}{{{gun-show-sections|}}}{{{gun-show-synopsis|}}}|Sale, purchase, and transfer}}
 +
<!--- --->
 +
|label51 = Dealer regulations sections
 +
|data51 = {{{dealer-sections|}}}
 +
|data52 = {{#if:{{{dealer-synopsis|}}}|
 +
{{hidden begin|title={{#if:{{{dealer-sections|}}}|Synopsis|Dealer regulations}}}}
 +
{{{dealer-synopsis|}}}
 +
{{hidden end}} }}
 +
 
 +
|label53 = Private sale regulations sections
 +
|data53 = {{{private-sections|}}}
 +
|data54 = {{#if:{{{private-synopsis|}}}|
 +
{{hidden begin|title={{#if:{{{private-sections|}}}|Synopsis|Private sale regulations}}}}
 +
{{{private-synopsis|}}}
 +
{{hidden end}} }}
 +
 
 +
|label55 = Gun show regulations sections
 +
|data55 = {{{gun-show-sections|}}}
 +
|data56 = {{#if:{{{gun-show-synopsis|}}}|
 +
{{hidden begin|title={{#if:{{{gun-show-sections|}}}|Synopsis|Gun show regulations}}}}
 +
{{{gun-show-synopsis|}}}
 +
{{hidden end}} }}
 +
 
 +
<!--- --->
 +
|header60 = {{#if:{{{transportation-sections|}}}{{{transportation-synopsis|}}}{{{open-carry-sections|}}}{{{open-carry-synopsis|}}}{{{concealed-carry-sections|}}}{{{concealed-carry-synopsis|}}}|Transportation and carry}}
 +
<!--- --->
 +
|label61 = Transportation restrictions sections
 +
|data61 = {{{transportation-sections|}}}
 +
|data62 = {{#if:{{{transportation-synopsis|}}}|
 +
{{hidden begin|title={{#if:{{{transportation-sections|}}}|Synopsis|Transportation restrictions}}}}
 +
{{{transportation-synopsis|}}}
 +
{{hidden end}} }}
 +
 
 +
|label63 = Open carry restrictions sections
 +
|data63 = {{{open-carry-sections|}}}
 +
|data64 = {{#if:{{{open-carry-synopsis|}}}|
 +
{{hidden begin|title={{#if:{{{open-carry-sections|}}}|Synopsis|Open carry restrictions}}}}
 +
{{{open-carry-synopsis|}}}
 +
{{hidden end}} }}
 +
 
 +
|label65 = Concealed carry restrictions sections
 +
|data65 = {{{concealed-carry-sections|}}}
 +
|data66 = {{#if:{{{concealed-carry-synopsis|}}}|
 +
{{hidden begin|title={{#if:{{{concealed-carry-sections|}}}|Synopsis|Concealed carry restrictions}}}}
 +
{{{concealed-carry-synopsis|}}}
 +
{{hidden end}} }}
  
|data27 = {{collapsed infobox section end}}
 
{{collapsed infobox section begin|Transportation and carry|titlestyle=background-color:#eee}}
 
|label28        = {{{transportation-sections|}}}
 
|data28        = {{{transportation-synopsis|<div style="text-align:center;">Transportation restrictions unknown</div>}}}
 
|label29        = {{{open-carry-sections|}}}
 
|data29        = {{{open-carry-synopsis|<div style="text-align:center;">Open carry restrictions unknown</div>}}}
 
|label30        = {{{concealed-carry-sections|}}}
 
|data30        = {{{concealed-carry-synopsis|<div style="text-align:center;">Concealed carry restrictions unknown</div>}}}
 
|below = {{collapsed infobox section end}}
 
 
}}<noinclude>
 
}}<noinclude>
 
{{documentation}}</noinclude>
 
{{documentation}}</noinclude>

Revision as of 14:39, 16 March 2017

[[Category:Infobox templates|Template:Remove first word]]

Template documentation[view] [edit] [history] [purge]

Usage

{{Infobox state gun laws
|name          = Infobox state gun laws
|state         = Name of the state.
|state-flag    = Filename of State flag.  This file should already exist within wikipedia, though it is an optional field.

|constitution-sections = The arms provision of the State Constitution, if any.  
                         Provide a hyperlink to the constitution, even if there is no arms provision.
|constitution-synopsis = Quote or synopsis of the constitutional provision, if any.  Default: "Constitutional provision unknown."

|preemption-sections = State firearms regulation preemption laws, if any.
|preemption-synopsis = Synopsis of State preemption laws, if any.  Default: "Preemption status unknown."
|local-regulation-sections = Local or municipal firearms ordinances, if any.
|local-regulation-synopsis = Synopsis of the local regulations, if any.  Default: "Existing local regulations unknown."


|ownership-registration-sections = Ownership registration laws, if any.
|ownership-registration-synopsis = Synopsis of ownership registration, if any.  Default: "Ownership registration unknown."
|purchase-registration-sections = Purchase registration laws, if any.
|purchase-registration-synopsis = Synopsis of firearms purchase registration, if any.  Default: "Purchase registration unknown."
|lost-stolen-registration-sections = Lost or stolen registration laws, if any.
|lost-stolen-registration-synopsis = Synopsis of lost or stolen registration, if any.  Default: "Lost/stolen registration unknown."

|restricted-firearms-sections = Restricted or prohibited firearms laws, if any.
|restricted-firearms-synopsis = Synopsis of restricted or prohibited firearms, if any.  Default: "Restricted firearms unknown."
|restricted-ammunition-sections = Restricted or prohibited ammunition laws, if any.
|restricted-ammunition-synopsis = Synopsis of restricted or prohibited ammunition, if any.  Default: "Restricted ammunition unknown."
|restricted-accessories-sections = Restricted or prohibited accessories laws, if any.  An example is magazine capacity limitations.
|restricted-accessories-synopsis = Synopsis of restricted or prohibited accessories, if any.  Default: "Restricted accessories unknown."

|restricted-places-sections = Restricted or prohibited place laws, if any.
|restricted-places-synopsis = Synopsis of restricted or prohibited places, if any.  Default: "Restricted places unknown."

|underage-persons-sections = Underage person laws, if any.
|underage-persons-synopsis = Synopsis of underage person laws, if any.  Default: "Age restrictions unknown."

|alien-persons-sections = Laws restricting persons who are not citizens, not lawful permanent residents, 
                          or otherwise known as aliens of the United States or *the* state; if any.
|alien-persons-synopsis = Synopsis of alien person laws, if any.  Default: "Alien restrictions unknown."

|restricted-persons-sections = Persons who have not been convicted of any crime, but who are prohibited or restricted from firearms ownership, 
                               possession, or transportation; if any.  Examples would be someone acquitted by reason of insanity, 
                               adjudicated mentally incompetent, committed to a mental institution, or persons who have other disabilities.
|restricted-persons-synopsis = Synopsis of restricted person laws, if any.  Default: "Restricted persons unknown."

|convicted-persons-sections = Laws restricting or prohibiting persons who have been convicted of certain crimes, if any.
|convicted-persons-synopsis = Synopsis of convicted person laws, if any.  Default: "Convicted persons unknown."

|manufacturing-sections = Manufacturing laws, if any.
|manufacturing-synopsis = Synopsis of manufacturing laws, if any.  Default: "Manufacturing regulations unknown."

|dealer-sections = Dealer regulations, if any.
|dealer-synopsis = Synopsis of dealer regulations, if any.  Default: "Dealer regulations unknown."

|private-sections = Private sales regulations, if any.
|private-synopsis = Synopsis of private sale regulations, if any.  Default: "Private sale regulations unknown."

|gun-show-sections = Gun show regulations, if any.
|gun-show-synopsis = Synopsis of gun show regulations, if any.  Default: "Gun show regulations unknown."

|transportation-sections = Transportation (unloaded and cased) laws, if any.
|transportation-synopsis = Synopsis of transportation laws, if any.  Default: "Transportation restrictions unknown."

|open-carry-sections = Open carry laws, if any.
|open-carry-synopsis = Synopsis of the open carry status.  Default: "Open carry restrictions unknown."

|concealed-carry-sections = Concealed carry laws, if any.
|concealed-carry-synopsis = Synopsis of the concealed carry status.  Default: "Concealed carry restrictions unknown."

}}