۷٬۳۴۸
ویرایش
جز (۱ نسخه واردشده) |
جز (۱ نسخه واردشده) |
||
(۱۲ نسخهٔ میانی ویرایش شده توسط ۳ کاربر نشان داده نشد) | |||
خط ۵۰: | خط ۵۰: | ||
end | end | ||
-- the next two lines add a newline at the end of lists for the PHP parser | -- the next two lines add a newline at the end of lists for the PHP parser | ||
-- https:// | -- https://www.iran-pedia.org/w/index.php?title=Template_talk:Infobox_musical_artist&oldid=849054481 | ||
-- remove when [[:phab:T191516]] is fixed or OBE | -- remove when [[:phab:T191516]] is fixed or OBE | ||
s = mw.ustring.gsub(s, '([\r\n][%*#;:][^\r\n]*)$', '%1\n') | s = mw.ustring.gsub(s, '([\r\n][%*#;:][^\r\n]*)$', '%1\n') | ||
s = mw.ustring.gsub(s, '^([%*#;:][^\r\n]*)$', '%1\n') | s = mw.ustring.gsub(s, '^([%*#;:][^\r\n]*)$', '%1\n') | ||
s = mw.ustring.gsub(s, '^([%*#;:])', '\n%1') | |||
s = mw.ustring.gsub(s, '^(%{%|)', '\n%1') | |||
return s | return s | ||
else | else | ||
خط ۱۳۴: | خط ۱۳۶: | ||
:cssText(rowArgs.datastyle) | :cssText(rowArgs.datastyle) | ||
:cssText(rowArgs.rowcellstyle) | :cssText(rowArgs.rowcellstyle) | ||
:wikitext(fixChildBoxes(rowArgs.data, 'td')) | :wikitext(fixChildBoxes(rowArgs.data, 'td')) | ||
end | end | ||
خط ۱۷۴: | خط ۱۷۵: | ||
:css('text-align', 'center') | :css('text-align', 'center') | ||
:cssText(args.belowstyle) | :cssText(args.belowstyle) | ||
:wikitext(fixChildBoxes(args.below,'td')) | :wikitext(fixChildBoxes(args.below,'td')) | ||
end | end |