Открыть меню
Открыть персональное меню
Вы не представились системе
Your IP address will be publicly visible if you make any edits.

Шаблон:Vehicle/doc

Материал из wiki.iccup.org

{{#seo:

| type = website | description = Шаблон:Vehicle/doc 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.

Параметры шаблона

Шаблон использует собственное форматирование параметров.

ПараметрОписаниеТипСтатус
Imageimage

The file name of the image of the ship/vehicle

Пример
Defender0.jpg
Строковый (без форматирования)предложенный
Namename

The name of the ship/vehicle

Пример
Defender
Строковый (без форматирования)обязательный
Manufacturermanufacturer

The manufacturer code of the manufacturer who made the ship/vehicle

Пример
BANU
Строковый (без форматирования)предложенный
Rolerole

The role of the ship/vehicle

Пример
Light fighter
Строковый (без форматирования)предложенный
Sizesize

The size of the ship/vehicle (Vehicle/Snub/Small/Medium/Large/Capital)

Пример
Small
Строковый (без форматирования)предложенный
Numeric sizesizenum

Numeric size of the vehicle

Пример
2
Числопредложенный
Min crewmincrew

The minimum crew of the ship/vehicle

Пример
1
Числообязательный
Max crewmaxcrew

The maximum crew of the ship/vehicle

Пример
2
Числообязательный
Ship/vehicle seriesseries

The ship/vehicle series that this ship/vehicle belongs to

Пример
Avenger
Строковый (без форматирования)необязательный
Cargo capacitycargocapacity

The cargo capacity of the ship in SCU

Пример
300
Числопредложенный
Production stateproductionstate

The production state of the ship/vehicle from RSI website

Пример
In production
Строковый (без форматирования)необязательный
Production state descriptionproductionstatedesc

Additional description that will explain the production state

Пример
Active for [[Star Citizen Alpha 3.7.0|Alpha 3.7]]
Строковый (без форматирования)необязательный
Pledge avaliabilitypledgeavailability

The pledge availability of the ship/vehicle

Пример
Time-limited sales
Строковый (без форматирования)необязательный
Pledge costpledgecost

The pledge cost in USD of the ship/vehicle on RSI website

Пример
185
Числонеобязательный
Original pledge costoriginalpledgecost

The original pledge cost in USD of the vehicle when it first announced

Пример
90
Числонеобязательный
Warbond costwarbondcost

The warbond cost in USD of the ship/vehicle on RSI website

Числонеобязательный
Original Warbond costoriginalwarbondcost

The original pledge cost in USD of the vehicle when it first announced

Числонеобязательный
Lengthlength

The length of the ship/vehicle

Пример
33.5
Числопредложенный
Widthwidth beam

The width of the ship/vehicle

Пример
13.2
Числопредложенный
Heightheight

The height of the ship/vehicle

Пример
4
Числопредложенный
Combat speedcombatspeed

The combat speed of the ship/vehicle, where the default speed limiter is (only needed if different from in-game or ship matrix data)

Пример
200
Числонеобязательный
Maximum speedmaxspeed

The maximum speed of the ship/vehicle (only needed if different from in-game or ship matrix data)

Пример
1200
Числонеобязательный
Massmass

The null cargo mass of the ship (only needed if different from in-game or ship matrix data)

Пример
78406
Числонеобязательный
Introductionreleasedate

First release date of the vehicle in lore

Пример
2772
Датанеобязательный
Retiredretiredate

Retirement date of the vehicle in lore

Пример
2912
Датанеобязательный
RSI store URLrsistoreurl

The URL of the ship/vehicle on RSI store (note that it is not the package page)

Пример
https://robertsspaceindustries.com/pledge/ships/defender/Defender
URLпредложенный
Galactapedia URLgalactapediaurl

The URL of the ship/vehicle on Galactapedia

Пример
https://robertsspaceindustries.com/galactapedia/article/V3qgm9vdxm-defender
URLнеобязательный
Presentation URLpresentationurl1 presentationurl

The URL of the presentation page in Comm-Link

Пример
https://robertsspaceindustries.com/comm-link/transmission/15862-Banu-Defender
Автозначение
URLпредложенный
Brochure URLbrochureurl

The URL of the vehicle brochure

Пример
https://robertsspaceindustries.com/media/q47zalzz81ml4r/source/Banu-Defender.pdf
URLнеобязательный
Trailer URLtrailerurl

The URL of the vehicle trailer

Пример
https://www.youtube.com/watch?v=O6hXjxQ0_lk
URLнеобязательный
Q&A URL 1qandaurl1

The URL of the Q&A

Пример
https://robertsspaceindustries.com/comm-link/engineering/16872-Q-A-Aopoa-Santoky-i
URLнеобязательный
Q&A URL 2qandaurl2

The URL of the Q&A

Пример
https://robertsspaceindustries.com/comm-link/engineering/16872-Q-A-Aopoa-Santoky-i
URLнеобязательный
Q&A URL 3qandaurl3

The URL of the Q&A

Пример
https://robertsspaceindustries.com/comm-link/engineering/16872-Q-A-Aopoa-Santoky-i
URLнеобязательный
Presentation URL 2presentationurl2

The URL of the presentation page in Comm-Link

URLнеобязательный
Presentation URL 3presentationurl3

The URL of the presentation page in Comm-Link

URLнеобязательный
Announced dateconceptdate

Date when the vehicle was first announced

Пример
2021-11-12
Датанеобязательный
Whitley's Guide URLwhitleysguideurl

The URL of the Whitley's Guide page in Comm-Link

Пример
https://robertsspaceindustries.com/comm-link/spectrum-dispatch/19081-Whitleys-Guide-Terrapin
URLпредложенный
Retracted lengthretractedlength

Length of the vehicle in retracted state

Числонеобязательный
Retracted heightretractedheight

Height of the vehicle in retracted state

Числонеобязательный
Retracted widthretractedwidth

Width of the vehicle in retracted state

Числонеобязательный
UUIDuuid

UUID of the Vehicle/Ship

Пример
97648869-5fa5-42da-b804-4d9314289539
Строковый (без форматирования)предложенный
SMW query namesmwqueryname

The page name to load data from

Имя страницынеобязательный
Query imagequeryimage

The file name of the alternative image of the ship/vehicle used by other templates

Пример
Defender.jpg
Имя файланеобязательный
Содержание