نمایش مبدأ برای پودمان:Sister project links
پرش به ناوبری
پرش به جستجو
شما به دلیل زیر، اجازهٔ ویرایش این صفحه ندارید:
شما میتوانید مبدأ این صفحه را ببینید و رونوشت بردارید:
-- Module to create sister project link box
local getArgs = require('Module:Arguments').getArgs
local commonsLink = require('Module:Commons link')
local p = {}
-- Function to canonicalize string
-- search for variants of "yes", and "no", and transform
-- them into a standard form (like [[Template:YesNo]])
-- Argument:
-- s --- input string
-- Result:
-- {x,y} list of length 2
-- x = nil if s is canonicalized, otherwise has trimmed s
-- y = canonical form of s (true if "yes" or other, false if "no", nil if blank)
local function canonicalize(s)
if s == nil then
return {nil, nil}
end
s = mw.text.trim(tostring(s))
if s == "" then
000
1:0
الگوی بهکاررفته در این صفحه:
بازگشت به پودمان:Sister project links.