Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Module documentation[view][edit][history][purge]
This documentation is transcluded from Module:ListOfCoaches/doc. Changes can be proposed in the talk page.
Function list
L 7 — p.showList

Creates a list of all coaches in Category:Carriages based on SMW data.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
No parameters specified

local articleList = require('Module:ArticleList'):new()

local p = {}

--- Shows a list of all carriages
---@param frame table the frame object
function p.showList(frame)
    articleList:addArticlesForCategory("Carriages")
    articleList:registerProperties({
        "Title",
        "Image",
        "Coupled With",
        "Status",
        "Spawn Points",
        "Seats",
        "Doors",
        "Gangway Doors"
    })

    return articleList:render(frame)
end

return p
🍪 Yum Yum Yum! Cookies help us better deliver our services. By using our site, you agree to our use of cookies.