Module:NVR/data/doc
This is a documentation subpage for Module:NVR/data. It may contain usage information, categories and other content that is not part of the original module page. |
This is the data module used by Module:NVR. 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:NVR/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.