User talk:Timeshifter/Sandbox134

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
Notes on editing the table: For some countries (such as Albania) GunPolicy.org does not have data for all the table columns. Table references use the short reference format "Guns in COUNTRY" since the long format used in the first reference does not need to be repeated. Add new countries to the table by adding the country name, and the data and years that are available. Then add the reference link (GunPolicy.org country page URL). Do not format the reference link, nor the combination link/flag for countries, if you don't know how. Others can do that later.
When all the countries that have data are filled in, then a static row number column can be added. This is because the visual editor can not be used to edit the table once this is done. The wikitext source editor then has to be used. Substitute the wikitext for the following headers (minus the blank placeholder row) in the table wikitext:
{{Rank |rows={{TRC|ignore=2|id=gunpolicy}} |header-lines=4 |header-text=Row |caption=Percent of households with handguns.<br>Percent of households with firearms.<br>Percent of adults in armed households.}} 
{| class="wikitable sortable mw-datatable nowrap" style=text-align:right; id="gunpolicy"
|-
! scope=col rowspan=2 style=text-align:left |<br>[[Country]],<br>[[dependent territory|territory]], or<br>[[Subnational administrative division|subnational]] area
! scope=col |Year
! scope=col |Firearm<br>%
! scope=col |Year
! scope=col |Handgun<br>%
! scope=col |Year
! scope=col |Adults<br>%
! scope=col |Sources<br><ref name=gunpolicy.org/>
|-
! <br>!! !! !! !! !! !!
|-
| style=text-align:left |<nowiki>{{flaglist}}</nowiki>
|
|
|
|
|
|
|}
{{End}}
At the bottom of the table wikitext add this:
{{End}}