Template:InfoBoxVehicleStaff: Difference between revisions
Template page
More actions
Sqwishyish (talk | contribs) m Added contributors to template data |
m Protected "Template:InfoBoxVehicleStaff": High used template ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
|+ class="infobox__title rarity-{{lc:{{#invoke:String|replace|{{{Rarity|Mythical}}}| |}}}}" | {{{name|{{PAGENAME}}}}} | |+ class="infobox__title rarity-{{lc:{{#invoke:String|replace|{{{Rarity|Mythical}}}| |}}}}" | {{{name|{{PAGENAME}}}}} | ||
|- | |- | ||
| colspan="2" class="infobox__image" | {{#ifexist: {{ | | colspan="2" class="infobox__image" | {{#ifexist: File:{{{photo}}} | [[File:{{{photo}}}|300px]]| [[File:Aerowikiplaceholder.jpg|300px]]}} | ||
|- | |- | ||
| colspan="2" class="infobox__caption" | {{{caption|(Empty Caption)}}} | | colspan="2" class="infobox__caption" | {{{caption|(Empty Caption)}}} | ||
Line 17: | Line 17: | ||
|- | |- | ||
! class="infobox__field-name" | Obtainability | ! class="infobox__field-name" | Obtainability | ||
| class="infobox__field-value" | {{#if: {{{Obtainability Type|}}} | [[Category:{{{Obtainability Type}}}s]][[:Category:{{{Obtainability Type}}}s|{{{Obtainability Type}}}]] | Unknown}} | | class="infobox__field-value" | {{#if: {{{Obtainability Type|}}} | {{#if: {{{category_disable|}}} ||[[Category:{{{Obtainability Type}}}s]]}}[[:Category:{{{Obtainability Type}}}s|{{{Obtainability Type}}}]] | Unknown}} | ||
|- | |- | ||
{{#ifeq: {{{Obtainability Type}}} | Event Vehicle | | {{#ifeq: {{{Obtainability Type}}} | Event Vehicle | | ||
{{#iferror: {{#expr: {{{Owner|}}} + 0 }} || | {{#iferror: {{#expr: {{{Owner|a}}} + 0 }} || | ||
<tr> | <tr> | ||
<th class="infobox__field-name">Event Tier</th> | <th class="infobox__field-name">Event Tier</th> | ||
Line 53: | Line 53: | ||
| split_list | {{{Contributors|}}} | {split}, | Unknown/None}} | | split_list | {{{Contributors|}}} | {split}, | Unknown/None}} | ||
|- | |- | ||
</includeonly> | |}</includeonly> | ||
<noinclude> | <noinclude> | ||
<!-- Example values --> | <!-- Example values --> | ||
{{Template: | {{Template:StaffVehicleInfoBox | ||
| name = R'M 37.2 SG Mobula Specter | | name = R'M 37.2 SG Mobula Specter | ||
| caption = The Mobula flying low over the [[Thalassan Sea]] | | caption = The Mobula flying low over the [[Thalassan Sea]] | ||
| Type = Jet Engine | | Type = Jet Engine | ||
| Rarity = Mythical | | Rarity = Mythical | ||
| Obtainability Type = | | Obtainability Type = Event Vehicle | ||
| Owner = RentoHonda | | Owner = RentoHonda | ||
| Contributors = RentoHonda | | Contributors = RentoHonda | ||
| Customization = Advanced Liveries, Advanced Customization | | Customization = Advanced Liveries, Advanced Customization | ||
| photo = Aerowikiplaceholder.jpg | | photo = Aerowikiplaceholder.jpg | ||
| category_disable = yes | |||
}} | }} | ||
<templatedata> | <templatedata> | ||
Line 154: | Line 155: | ||
"type": "string", | "type": "string", | ||
"example": "Advanced Liveries, Advanced Customization, Cockpit", | "example": "Advanced Liveries, Advanced Customization, Cockpit", | ||
"suggested": true | "suggested": true | ||
} | } | ||
Line 172: | Line 166: | ||
"Owner", | "Owner", | ||
"Customization", | "Customization", | ||
"photo", | "photo", | ||
"caption" | "caption" | ||
] | ] | ||
} | } | ||
</templatedata></noinclude> | </templatedata>[[Category:Infoboxes]]</noinclude> |
Latest revision as of 21:21, 4 August 2025
![]() | |
The Mobula flying low over the Thalassan Sea | |
General Information | |
Type | Jet Engine |
---|---|
Rarity | Mythical |
Obtainability | Event Vehicle |
Customization | ![]() ![]() |
Contributors | RentoHonda |
Vehicle InfoBox for Staff/Event vehicles
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name | The name of the vehicle, this should be the same as the name of the page.
| String | suggested |
Type | Type | The license required to operate this vehicle
| String | suggested |
Rarity | Rarity | The ingame rarity of the vehicle.
| String | suggested |
Obtainability | Obtainability Type | Current location of the vehicle
| String | suggested |
(Previous) Owner / Event Tier | Owner | The current (original if in mod pool) owner of the vehicle
| String | suggested |
Vehicle customization | Customization | List of customization options the vehicle has. Options are to be separated by commas.
| String | suggested |
Image | photo | Image shown at the top of the InfoBox.
| File | suggested |
Image caption | caption | A brief description of the image shown in the InfoBox.
| String | suggested |