Дополнительные действия
| type = website | description = Шаблон:Vehicle is a template page used on the iCCup Wiki. Templates are pages that are embedded (transcluded) into other pages to allow for the repetition of information. | site_name = iCCup Wiki | locale = ru }} This template handles data related to vehicles.
On the vehicle page
- Saves template parameters and API data as SMW data
- Set category from SMW data
- Set short description from SMW data
- Display infobox from SMW data
On other pages, it can be used to display the infobox of other vehicles.
Usage
The template should fill in data automatically from API even if there are no template parameters.
{{Vehicle}}
Optional parameters:
{{Vehicle
| uuid = <!-- UUID of the vehicle -->
| image = <!-- Image name on wiki -->
| manufacturer = <!-- Manufacturer code -->
| productionstate = <!-- In Concept/In Production/Flight Ready -->
| productionstatedesc = <!-- [[Star Citizen Alpha X.X.X|Alpha X.X.X]] -->
| mincrew = <!-- Minimum crew of the vehicle -->
| maxcrew = <!-- Maximum crew of the vehicle -->
| pledgecost = <!-- Current pledge store price -->
| originalpledgecost = <!-- Initial pledge store price -->
| warbondcost = <!-- Current warbond pledge store price -->
| originalwarbondcost = <!-- Initial warbond pledge store price -->
| pledgeavailability = <!-- Always available/Time-limited sales/Quantity-limited sales/Promotion-only -->
| length = <!-- Length of the vehicle -->
| retractedlength = <!-- Length of the vehicle in retracted state -->
| height = <!-- Height of the vehicle -->
| retractedheight = <!-- Height of the vehicle in retracted state -->
| width = <!-- Width of the vehicle -->
| retractedwidth = <!-- Width of the vehicle in retracted state -->
| releasedate = <!-- Lore release date of the vehicle -->
| retiredate = <!-- Lore retirement date of the vehicle -->
| developedfrom = <!-- Wikilink of the predecessor of the vehicle -->
| developedinto = <!-- Wikilink of the successor of the vehicle -->
| conceptdate = <!-- Date when the vehicle was first announced -->
| rsistoreurl = <!-- URL of pledge store page -->
| brochureurl = <!-- URL of vehicle brochure page -->
| trailerurl = <!-- URL of trailer page on YouTube -->
| presentationurl1 = <!-- URL of the comm-link presentation page -->
| qandaurl1 = <!-- URL of Q&A page -->
| galactapediaurl = <!-- URL of Galactapedia page -->
| whitleysguideurl = <!-- URL of Whitley's Guide page -->
| name = <!-- Name override of the vehicle if different from the page name -->
| smwqueryname = <!-- SMW query override -->
| queryimage = <!-- Image override for other templates such as vehicle variants -->
}}
The following parameters are needed if there are no data in game or on ship matrix.
{{Vehicle
| name = <!-- Vehicle name -->
| size = <!-- Size of the vehicle (e.g. vehicle/small/medium/large/capital) -->
| role = <!-- Role in game description or RSI website -->
| cargocapacity = <!-- Cargo capacity in SCU -->
}}
TemplateData
Handles data related to vehicles.
| Параметр | Описание | Тип | Статус | |
|---|---|---|---|---|
| Image | image | The file name of the image of the ship/vehicle
| Строковый (без форматирования) | предложенный |
| Name | name | The name of the ship/vehicle
| Строковый (без форматирования) | обязательный |
| Manufacturer | manufacturer | The manufacturer code of the manufacturer who made the ship/vehicle
| Строковый (без форматирования) | предложенный |
| Role | role | The role of the ship/vehicle
| Строковый (без форматирования) | предложенный |
| Size | size | The size of the ship/vehicle (Vehicle/Snub/Small/Medium/Large/Capital)
| Строковый (без форматирования) | предложенный |
| Numeric size | sizenum | Numeric size of the vehicle
| Число | предложенный |
| Min crew | mincrew | The minimum crew of the ship/vehicle
| Число | обязательный |
| Max crew | maxcrew | The maximum crew of the ship/vehicle
| Число | обязательный |
| Ship/vehicle series | series | The ship/vehicle series that this ship/vehicle belongs to
| Строковый (без форматирования) | необязательный |
| Cargo capacity | cargocapacity | The cargo capacity of the ship in SCU
| Число | предложенный |
| Production state | productionstate | The production state of the ship/vehicle from RSI website
| Строковый (без форматирования) | необязательный |
| Production state description | productionstatedesc | Additional description that will explain the production state
| Строковый (без форматирования) | необязательный |
| Pledge avaliability | pledgeavailability | The pledge availability of the ship/vehicle
| Строковый (без форматирования) | необязательный |
| Pledge cost | pledgecost | The pledge cost in USD of the ship/vehicle on RSI website
| Число | необязательный |
| Original pledge cost | originalpledgecost | The original pledge cost in USD of the vehicle when it first announced
| Число | необязательный |
| Warbond cost | warbondcost | The warbond cost in USD of the ship/vehicle on RSI website | Число | необязательный |
| Original Warbond cost | originalwarbondcost | The original pledge cost in USD of the vehicle when it first announced | Число | необязательный |
| Length | length | The length of the ship/vehicle
| Число | предложенный |
| Width | width beam | The width of the ship/vehicle
| Число | предложенный |
| Height | height | The height of the ship/vehicle
| Число | предложенный |
| Combat speed | combatspeed | The combat speed of the ship/vehicle, where the default speed limiter is (only needed if different from in-game or ship matrix data)
| Число | необязательный |
| Maximum speed | maxspeed | The maximum speed of the ship/vehicle (only needed if different from in-game or ship matrix data)
| Число | необязательный |
| Mass | mass | The null cargo mass of the ship (only needed if different from in-game or ship matrix data)
| Число | необязательный |
| Introduction | releasedate | First release date of the vehicle in lore
| Дата | необязательный |
| Retired | retiredate | Retirement date of the vehicle in lore
| Дата | необязательный |
| RSI store URL | rsistoreurl | The URL of the ship/vehicle on RSI store (note that it is not the package page)
| URL | предложенный |
| Galactapedia URL | galactapediaurl | The URL of the ship/vehicle on Galactapedia
| URL | необязательный |
| Presentation URL | presentationurl1 presentationurl | The URL of the presentation page in Comm-Link
| URL | предложенный |
| Brochure URL | brochureurl | The URL of the vehicle brochure
| URL | необязательный |
| Trailer URL | trailerurl | The URL of the vehicle trailer
| URL | необязательный |
| Q&A URL 1 | qandaurl1 | The URL of the Q&A
| URL | необязательный |
| Q&A URL 2 | qandaurl2 | The URL of the Q&A
| URL | необязательный |
| Q&A URL 3 | qandaurl3 | The URL of the Q&A
| URL | необязательный |
| Presentation URL 2 | presentationurl2 | The URL of the presentation page in Comm-Link | URL | необязательный |
| Presentation URL 3 | presentationurl3 | The URL of the presentation page in Comm-Link | URL | необязательный |
| Announced date | conceptdate | Date when the vehicle was first announced
| Дата | необязательный |
| Whitley's Guide URL | whitleysguideurl | The URL of the Whitley's Guide page in Comm-Link
| URL | предложенный |
| Retracted length | retractedlength | Length of the vehicle in retracted state | Число | необязательный |
| Retracted height | retractedheight | Height of the vehicle in retracted state | Число | необязательный |
| Retracted width | retractedwidth | Width of the vehicle in retracted state | Число | необязательный |
| UUID | uuid | UUID of the Vehicle/Ship
| Строковый (без форматирования) | предложенный |
| SMW query name | smwqueryname | The page name to load data from | Имя страницы | необязательный |
| Query image | queryimage | The file name of the alternative image of the ship/vehicle used by other templates
| Имя файла | необязательный |