Module

Collage

From Dogcraft Wiki

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

The action you have requested is limited to users in one of the groups: Users, Site Content Editor.


You can view and copy the source of this page.

-- implements [[Template:Collage]]
local p = {}
local function isnotempty(s)
return s and s:match( '^%s*(.-)%s*$' ) ~= ''
end
local function photomontage( frame )
local tracking = ''
local args = frame:getParent().args
local size = tonumber(args['size'] or '306') or 306
local border = tonumber(args['border'] or '0') or 0
local spacing = tonumber(args['spacing'] or '2') or 2
local color = args['color'] or 'transparent'
local color_border = args['color_border'] or 'black'
local position = (args['position'] or ''):lower()
local caption = args['text'] or ''
local text_background = isnotempty(args['text_background']) and args['text_background'] or '#F8F8FF'
local foot_montage = args['foot_montage'] or ''
local lastnum = nil
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
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.

Return to Module:Collage.