Jump to content

Module:Naval Vessel Register URL/data/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
create;
 
m ce;
Line 3: Line 3:
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'.
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:Sandbox/trappist_the_monk/nvr]] 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>.
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: <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.
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
<!-- Categories below this line, please; interwikis at Wikidata -->
<!-- Categories below this line, please; interwikis at Wikidata -->

Revision as of 11:25, 16 December 2017


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.