View source for Module:Availability

Jump to: navigation, search

You do not have permission to edit this page, for the following reasons:

  • The action you have requested is limited to users in the group: Users.
  • This page has been protected to prevent editing or other actions.

You can view and copy the source of this page.

local p = {}
-- Imports the functions case_link(num) and crate_link(num), which return the pages for active/inactive cases and crates, based on the series number.
-- This is stored in a separate file so that it can be updated *without* staff intervention.
require('Module:Availability/active')
-- Defined here so that it can be referenced inside the template helper functions
local frame = nil
-- Equivalent to {{tooltip|tool|tip}}
function tooltip(tool, tip)
return frame:expandTemplate{title='Tooltip', args={tool, tip}}
end
-- Equivalent to {{item name|arg}}
function item_name(arg)
return frame:expandTemplate{title='Item name', args={arg}}
end
-- Equivalent to {{item link|arg}}
function item_link(arg)
הההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
000
1:0
Debug console
* The module exports are available as the variable "p", including unsaved modifications. * Precede a line with "=" to evaluate it as an expression or use print(). Use mw.logObject() for tables. * Use mw.log() and mw.logObject() in module code to send messages to this console.

Templates used on this page:

Return to Module:Availability.