View source for Module:Team appearances list
MyWikiBiz, Author Your Legacy — Friday July 25, 2025
Jump to navigationJump to searchYou do not have permission to edit this page, for the following reasons:
You can view and copy the source of this page.
-- This module implements [[Template:Team appearances list]].
local p = {}
local data_competitions
local data_old_names
local function load_data(frame)
-- Load data module (or its sandbox) and set variables from its exported data.
if not data_competitions then
frame = frame or mw.getCurrentFrame()
local sandbox = frame:getTitle():find('sandbox', 1, true) and '/sandbox' or ''
local datamod = mw.loadData('Module:Team appearances list/data' .. sandbox)
data_competitions = datamod.competitions
data_old_names = datamod.old_names
end
end
local function strip_to_nil(text)
-- If text is a string, return its trimmed content, or nil if empty.
-- Otherwise return text (which may, for example, be nil).
if type(text) == 'string' then
000
1:0
Templates used on this page:
- Template:Module rating (view source)
- Template:Tl (view source)
- Module:Convert/tester (view source)
- Module:Team appearances list (view source)
- Module:Team appearances list/data (view source)
- Module:Team appearances list/data/sandbox (view source)
- Module:Team appearances list/doc (view source)
- Module:Team appearances list/sandbox (view source)
- Module:Team appearances list/show (view source)
- Module:Team appearances list/show/sandbox (view source)
Return to Module:Team appearances list.