Template:Navbox vehicles: Difference between revisions

From PZwiki
m (added documentation)
m (Add engine to parts)
 
(15 intermediate revisions by 8 users not shown)
Line 1: Line 1:
<noinclude>{{languages}}</noinclude>{{Navbox/Core
<noinclude>
|size = default
{{Documentation/sandbox|doc=
|title = Vehicles
This template should be transcluded at the bottom of all [[Vehicles|vehicle]] pages.
|template = Navbox vehicles
 
|group1 = Standard
==Usage==
|list1 = [[Chevalier Cerise Wagon]] [[Chevalier Dart]] [[Dash Rancher]] [[Masterson Horizon]]
{{tll|Navbox vehicles}}
|group2 = Heavy-Duty
{{Navbox vehicles}}
|list2 = [[Chevalier D6]] [[Chevalier Step Van]] [[Dash Bulldriver]] [[Franklin All-Terrain]] [[Franklin Valuline]]
 
|group3 = Sport
{{Translation guide|<syntaxhighlight lang="html">
|list3 [[Chevalier Cossette]] [[Chevalier Nyala]] • [[Chevalier Primani]] [[Dash Elite]] [[Mercia Lang 4000]]
{{#switch: {{{1|}}}
|group4 = Parts
<!-- title -->
|list4 = [[Brake]] [[Car Battery]] [[Car Door|Door]] [[Gas Tank]] [[Hood]] [[Muffler]] [[Car Seat|Seat]] [[Spare Engine Parts]] [[Suspension]] [[Tire]] [[Trunk Lid]] [[Car Window|Window]]
| vehicles = Vehicles
}}<noinclude><br>{{Documentation}}[[Category:Navbox]]</noinclude>
<!-- group -->
| standard = Standard
| heavy-duty = Heavy-Duty
| sport = Sport
| trailer = Trailer
| manufacturers = Manufacturers
| parts = Parts
| #default = {{Error|translation}}
}}
</syntaxhighlight>}}
 
==See also==
{{navbox see also}}
 
}}{{ll|Category:Navbox}}
</noinclude><includeonly>{{Navbox
| title = {{ll|:Category:Vehicles|{{tt|name=Navbox vehicles|default=Vehicles|arg1=vehicles}}}}
| content = {{Navbox/row
  | group = {{tt|name=Navbox vehicles|default=Standard|arg1=standard}}
  | list = {{ll|Chevalier Cerise Wagon}} {{ll|Chevalier Dart}} • {{ll|Chevalier Nyala}} {{ll|Dash Rancher}} {{ll|Masterson Horizon}}
}}{{Navbox/row
  | group = {{tt|name=Navbox vehicles|default=Heavy-Duty|arg1=heavy-duty}}
  | list = {{ll|Chevalier D6}} {{ll|Chevalier Step Van}} {{ll|Dash Bulldriver}} {{ll|Franklin All-Terrain}} {{ll|Franklin Valuline}}
}}{{Navbox/row
  | group = {{tt|name=Navbox vehicles|default=Sport|arg1=sport}}
  | list {{ll|Chevalier Cossette}} {{ll|Chevalier Primani}} {{ll|Dash Elite}} {{ll|Mercia Lang 4000}}
}}{{Navbox/row
  | group = {{tt|name=Navbox vehicles|default=Trailer|arg1=trailer}}
  | list =  {{ll|Advert Trailer}} • {{ll|Trailer}}
}}{{Navbox/row
  | group = {{tt|name=Navbox vehicles|default=Manufacturers|arg1=manufacturers}}
  | list =  {{ll|Chevalier}} • {{ll|Dash}} • {{ll|Franklin}} • {{ll|Masterson}} • {{ll|Mercia Lang}}
}}{{Navbox/row
  | group = {{ll|:Category:Vehicle parts|{{tt|name=Navbox vehicles|default=Parts|arg1=parts}}}}
  | list = {{ll|Brake}} {{ll|Car Battery}} {{ll|Car Door}} • {{ll|Engine}} {{ll|Gas Tank}} • {{ll|Glove Box}} • {{ll|Headlight}} {{ll|Hood}} {{ll|Muffler}} {{ll|Car Seat}} • {{ll|Ham Radio}} • {{ll|Heater}} • {{ll|Radio}} {{ll|Spare Engine Parts}} {{ll|Suspension}} • {{ll|Taillight}} {{ll|Tire}} {{ll|Trunk Lid}} • {{ll|Trunk}} {{ll|Car Window}}
}}
| id = vehicles
}}</includeonly>

Latest revision as of 21:21, 19 April 2024

Notebook.pngTemplate Documentation

This template should be transcluded at the bottom of all vehicle pages.

Usage

{{Navbox vehicles}}

How to translate

This template is translatable.

Template code

Paste the following code into the <includeonly> tag of the translated template and translate the text after each = sign (except for #default =).

{{#switch: {{{1|}}}
<!-- title -->
| vehicles = Vehicles
<!-- group -->
| standard = Standard
| heavy-duty = Heavy-Duty
| sport = Sport
| trailer = Trailer
| manufacturers = Manufacturers
| parts = Parts
| #default = {{Error|translation}}
}}

Template documentation

Copy the code wrapped in the <noinclude> tag in this template and translate the text after doc = in the {{Documentation}} template.

{{Translation guide}} template should be removed from the translated documentation.

See also

Editors can experiment in this template's sandbox.