View source for Module:Quotes/ru
Jump to navigation
Jump to search
You do not have permission to edit this page, for the following reasons:
You can view and copy the source of this page.
local p = {}
function p.render(frame)
local args = frame:getParent().args
local title = args.Title or "Цитаты"
local icon = args.Icon or "Quote.png"
local bg = args.bg or "#b06767"
local bg2 = args.bg2 or "#9199a6"
bg = frame:expandTemplate{title = "Color", args = {bg}}
bg2 = frame:expandTemplate{title = "Color", args = {bg2}}
local rows = {}
local i = 1
local nihongoJapaneseFound = false
-- Iterating over the arguments to collect rows and check for nihongo-japanese class
while args[i] do
local row = args[i]
table.insert(rows, row)
if string.find(row, 'class="[^"]*nihongo%-japanese[^"]*"') then
nihongoJapaneseFound = true
000
1:0
Template used on this page:
Return to Module:Quotes/ru.