Template

GroundVehicle: Difference between revisions

From Rise: The Vieneo Province

(Create shared vehicle specifications with class extensions, visible missing fields, and rain-protection defaults)
 
(Show literal wiki-link and escaped-pipe syntax in vehicle template editing instructions)
 
Line 71: Line 71:
* Omit an unknown parameter entirely. Omitted specification fields display '''Not specified''' and place the article in [[:Category:Vehicles needing specifications]]. An explicitly empty assignment (for example, <code>|weight=</code>) overrides the default and remains blank; remove the assignment to restore the marker.
* Omit an unknown parameter entirely. Omitted specification fields display '''Not specified''' and place the article in [[:Category:Vehicles needing specifications]]. An explicitly empty assignment (for example, <code>|weight=</code>) overrides the default and remains blank; remove the assignment to restore the marker.
* Use <code>None</code>, <code>0</code>, or <code>Not applicable</code> only when that is known, rather than when a value has not been researched.
* Use <code>None</code>, <code>0</code>, or <code>Not applicable</code> only when that is known, rather than when a value has not been researched.
* Supply units and operating conditions in the value, including <code>[[CR]]</code> for prices. This preserves distinctions such as kg versus MT, km/h versus m/s, and empty versus fully loaded performance. Units are not appended automatically.
* Supply units and operating conditions in the value, including <code><nowiki>[[CR]]</nowiki></code> for prices. This preserves distinctions such as kg versus MT, km/h versus m/s, and empty versus fully loaded performance. Units are not appended automatically.
* Parameter names are case-sensitive. Standard wiki links are supported in values. Use <code>{{!}}</code> for a literal pipe outside a wiki link.
* Parameter names are case-sensitive. Standard wiki links are supported in values. Use <code><nowiki>{{!}}</nowiki></code> for a literal pipe outside a wiki link.
* Existing images can stay outside the specification table. The optional <code>image</code> parameter accepts a complete file link, for example <code><nowiki>|image=[[File:A-4.png|thumb|right|400px]]</nowiki></code>, including the filename extension.
* Existing images can stay outside the specification table. The optional <code>image</code> parameter accepts a complete file link, for example <code><nowiki>|image=[[File:A-4.png|thumb|right|400px]]</nowiki></code>, including the filename extension.
* <code>name</code> defaults to the article title; <code>notes</code> adds free-form notes below the table. These optional parameters do not generate missing-field markers.
* <code>name</code> defaults to the article title; <code>notes</code> adds free-form notes below the table. These optional parameters do not generate missing-field markers.


</noinclude>
</noinclude>

Latest revision as of 16:07, 9 October 2026

Ground-vehicle extension of Template:Vehicle. Rain protection defaults to wipers; override with rain_protection.

Core vehicle · Ground · Air · Aerospace · Space

Usage

{{GroundVehicle|price=13,800 [[CR]]|weight=915 kg|max_speed=150 km/h|gears=3|seats=2}}

All common vehicle parameters are supported, together with name, image, and notes.

Class parameters

Parameter Field Default
gears Gears Not specified
power Power Not specified
torque Torque Not specified
wheelbase Wheelbase Not specified
max_grade Maximum grade Not specified
suspension Suspension Not specified
rain_protection Rain Protection Type Wipers

Editing conventions

  • Omit an unknown parameter entirely. Omitted specification fields display Not specified and place the article in Category:Vehicles needing specifications. An explicitly empty assignment (for example, |weight=) overrides the default and remains blank; remove the assignment to restore the marker.
  • Use None, 0, or Not applicable only when that is known, rather than when a value has not been researched.
  • Supply units and operating conditions in the value, including [[CR]] for prices. This preserves distinctions such as kg versus MT, km/h versus m/s, and empty versus fully loaded performance. Units are not appended automatically.
  • Parameter names are case-sensitive. Standard wiki links are supported in values. Use {{!}} for a literal pipe outside a wiki link.
  • Existing images can stay outside the specification table. The optional image parameter accepts a complete file link, for example |image=[[File:A-4.png|thumb|right|400px]], including the filename extension.
  • name defaults to the article title; notes adds free-form notes below the table. These optional parameters do not generate missing-field markers.