Module:Naval Vessel Register URL/data/doc: Difference between revisions
m Pppery moved page Module:NVR/data/doc to Module:Naval Vessel Register URL/data/doc |
Post-move update |
||
Line 1: | Line 1: | ||
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> |
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> |
||
This is the data module used by [[Module: |
This is the data module used by [[Module:Naval Vessel Register URL]]. It is divided into two tables, ships and service craft, following the distinction made by NVR. Each of these tables holds hull-type tables and the hull-type tables hold tables for each ship of that type in the NVR. The ship entries are tables holding an NVR page name and the associated ship name. The ship name is not currently used but is included in these tables in lieu of 'documentation'. |
||
All of these tables were created using [[Module: |
All of these tables were created using [[Module:Naval Vessel Register URL/data extraction tool]] which creates whole hull-type tables by scraping content from the NVR website. Some of the tables require manual tweaking: <code>['CONSTITUTION']</code>, <code>['MAINE']</code>, <code>['TEXAS']</code> and, <code>['AFDB']</code>. |
||
When it is necessary to add a ship to these tables, except for the manual tables, it is best practice to use the data extraction tool. Instructions on its use are there. |
When it is necessary to add a ship to these tables, except for the manual tables, it is best practice to use the data extraction tool. Instructions on its use are there. |
Latest revision as of 20:00, 22 October 2020
This is the data module used by Module:Naval Vessel Register URL. It is divided into two tables, ships and service craft, following the distinction made by NVR. Each of these tables holds hull-type tables and the hull-type tables hold tables for each ship of that type in the NVR. The ship entries are tables holding an NVR page name and the associated ship name. The ship name is not currently used but is included in these tables in lieu of 'documentation'.
All of these tables were created using Module:Naval Vessel Register URL/data extraction tool which creates whole hull-type tables by scraping content from the NVR website. Some of the tables require manual tweaking: ['CONSTITUTION']
, ['MAINE']
, ['TEXAS']
and, ['AFDB']
.
When it is necessary to add a ship to these tables, except for the manual tables, it is best practice to use the data extraction tool. Instructions on its use are there.