(Page creation, prototype Layout for testing) |
m (Protected "Template:Vehicle Asset": High traffic page ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) [cascading]) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{| class="wikitable" | <includeonly>{| class="wikitable" | ||
! | !colspan="2"| {{{Name}}} | ||
|- | |- | ||
| [[File: | | {{#if:{{{Image|}}}|[[File:{{{Image}}}|250px]]|[[File:Placeholder.png|250px]]}} | ||
! '''History''' | |||
{| class="wikitable mw-collapsible mw-collapsed" | <br /> | ||
! Status: | {{{History}}} | ||
{{#if:{{{Status|}}}{{{Class|}}}{{{Plate|}}}{{{Value|}}}{{{DateAcquired|}}}| | |||
{{{!}} class="wikitable mw-collapsible mw-collapsed" data-expandtext="{{int:▼}}" data-collapsetext="{{int:▲}}" | |||
!colspan="2"{{!}} Status: {{{Status}}} | |||
{{!}}- | |||
{{#if:{{{Class|}}}| | |||
{{!}} Class | |||
{{!}} {{{Class}}} | |||
{{!}}-}} | |||
{{#if:{{{Plate|}}}| | |||
{{!}} Plate | |||
{{!}} {{{Plate}}} | |||
{{!}}-}} | |||
{{#if:{{{Value|}}}| | |||
{{!}} Value | |||
{{!}} {{{Value}}} | |||
{{!}}-}} | |||
{{#if:{{{DateAcquired|}}}| | |||
{{!}} Date Acquired | |||
{{!}} {{{DateAcquired}}} | |||
{{!}}-}} | |||
{{!}}} | |||
}} | |||
{| class="wikitable mw-collapsible mw-collapsed" data-expandtext="{{int:▼}}" data-collapsetext="{{int:▲}}" | |||
!colspan="2"| Upgrades | |||
|- | |- | ||
| | | {{#if:{{{Upgrades|}}}|{{{Upgrades}}}|None Listed}} | ||
| | |||
| | |||
{ | |||
|} | |||
|} | |} | ||
|} | |} | ||
<templatestyles src="Template:Vehicle_Asset/styles.css" /> | |||
</includeonly><noinclude> | |||
{{/doc}} | |||
[[Category:Templates]] | |||
</noinclude> |
Latest revision as of 01:19, 13 February 2023
This documentation is transcluded from Template:Vehicle Asset/doc. Changes can be proposed in the talk page.
Template:Vehicle Asset invokes Template:Vehicle Asset/styles.css using TemplateStyles.
You can copy and paste the template parameters from below, or use the Template Wizard in the visual editor.
Usage
{{Vehicle Asset |Name= |Image= |History= |Status= |Class= |Plate= |Value= |DateAcquired= |Upgrades= }}
Template Data
A template for vehicle information, useful for the Character Page's Assets section.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Vehicle Make and Model | Name | Vehicle make and model
| String | required |
Image | Image | Image of Vehicle | File | suggested |
History | History | Information on the vehicle, any history or notability, why it was purchased etc. Try to keep under 255 characters. | String | suggested |
Status | Status | What's the current status of the vehicle?
| String | required |
Class | Class | Vehicle class if available. | Unknown | suggested |
License Plate | Plate | License Plate of vehicle if available. | String | suggested |
Value | Value | Estimated value of the vehicle with upgrades etc. | Number | suggested |
Date Acquired | DateAcquired | When was the vehicle acquired by the player?
| Date | suggested |
Upgrades | Upgrades | Bulletted list of upgrades on the vehicle. | Content | suggested |