Editing Module:Vehicle specifications
From Emergency Response: Liberty County Wiki
More actions
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
| Latest revision | Your text | ||
| Line 4: | Line 4: | ||
local getArgs = require('Module:Arguments').getArgs |
local getArgs = require('Module:Arguments').getArgs |
||
local args = getArgs(frame) |
local args = getArgs(frame) |
||
local title = mw.uri.encode(mw.title.getCurrentTitle().text, 'WIKI'); |
|||
local wikitext = '|-|General=\n{|class="wikitable vehicle-specifications-table' |
local wikitext = '|-|General=\n{|class="wikitable vehicle-specifications-table' |
||
| Line 77: | Line 76: | ||
if not (args['form_factor'] == 'Trailer') then |
if not (args['form_factor'] == 'Trailer') then |
||
| ⚫ | |||
wikitext = wikitext .. '\n|}\n<div class="vehicle-charts-tabber">{{#tag:tabber|Acceleration={{#chart:' .. title .. '_acceleration.chart|data=' .. title .. '_acceleration.tab}}{{!}}-{{!}}Deceleration={{#chart:' .. title .. '_deceleration.chart|data=' .. title .. '_deceleration.tab}}}}</div>' |
|||
end |
|||
if not (args['form_factor'] == 'Trailer') then |
|||
| ⚫ | |||
end |
end |
||
| Line 159: | Line 154: | ||
mw.smw.set(properties) |
mw.smw.set(properties) |
||
return wikitext |
return wikitext |
||
end |
end |
||