모듈:Changelog 문서 원본 보기
보이기
문서 편집 권한이 없습니다. 다음 이유를 확인해주세요:
문서의 원본을 보거나 복사할 수 있습니다.
-- v1.0.0, [[사:Senouis|Senouis]] 제작
local p = {}
-- import
local tf = require("모듈:TemplateFunction")
local md = require("모듈:Metadata")
-- [[틀:알림카드]] 렌더링
function p.getChangelogCard()
-- 먼저 dpl로 된 인수가 들어왔는지 확인(빈 문자열 혹은 공백인지 확인)
local frame = mw.getCurrentFrame()
local param1 = frame.args[1]
mw.log(param1)
if param1 == nil or param1 == "" or param1 == " " then
return "최근 업데이트된 게임이 없습니다"
end
local pagestrlist = mw.text.split(mw.text.trim(param1, '\\'), '\\', true)
-- 알림카드를 하나씩 렌더링하여 concat
local result = "<div id=\"recentchange-inner\" style=\"max-width:100%;display:inline-flex;flex-direction:row;flex-wrap:nowrap;align-items:stretch;\">"
for _, v in pairs(pagestrlist) do
local gametitle = mw.title.new(v)
local gametitle_final
if gametitle.isTalkPage then
000
1:0
이 문서에서 사용한 틀:
- 틀:틀 설명문서 (원본 보기)
- 모듈:Arguments (원본 보기)
- 모듈:Category handler (원본 보기) (준보호됨)
- 모듈:Category handler/blacklist (원본 보기)
- 모듈:Category handler/config (원본 보기)
- 모듈:Category handler/data (원본 보기)
- 모듈:Category handler/shared (원본 보기)
- 모듈:Changelog/설명문서 (원본 보기)
- 모듈:Documentation (원본 보기)
- 모듈:Documentation/config (원본 보기)
- 모듈:Message box (원본 보기)
- 모듈:Message box/configuration (원본 보기)
- 모듈:Message box/localize (원본 보기)
- 모듈:Namespace detect/config (원본 보기)
- 모듈:Namespace detect/data (원본 보기)
- 모듈:No globals (원본 보기)
- 모듈:Yesno (원본 보기)
모듈:Changelog 문서로 돌아갑니다.