모듈:연습장 문서 원본 보기
보이기
← 모듈:연습장
문서 편집 권한이 없습니다. 다음 이유를 확인해주세요:
문서의 원본을 보거나 복사할 수 있습니다.
local p = {}
local table = require('table') -- 배열 입출력을 위한 테이블 내부 라이브러리
-- 속성 케이스 검사할 값, 발견시 반환할 값 정의
p.propertyCases = {
{
key = "platform",
formatter = "[[분류:$title 게임]]",
validate = function(gameMeta, scheme)
local platform = t.walk(gameMeta, {"platform"})
if platform == nil then return false end
local platFormDef = t.walk(scheme, {"$defs", "platform", "oneOf"})
local platFormData = t.find(platFormDef, function(p)
return p.const == platform
end)
if platFormData == nil then return false end
return {{key = "title", value = platFormData.title}}
end
},
{
key = "abandon",
formatter = "[[분류:버려진 게임]]",
000
1:0
이 문서에서 사용한 틀:
- 틀:Linkget (원본 보기)
- 틀:리버티게임 메뉴 (원본 보기)
- 틀:투명빈칸 (원본 보기)
- 틀:틀 설명 연결하기 (원본 보기)
- 틀:틀 설명문서 (원본 보기)
- 모듈:Arguments (원본 보기)
- 모듈:Category handler (원본 보기) (준보호됨)
- 모듈:Category handler/blacklist (원본 보기)
- 모듈:Category handler/config (원본 보기)
- 모듈:Category handler/data (원본 보기)
- 모듈:Category handler/shared (원본 보기)
- 모듈:Documentation (원본 보기)
- 모듈:Documentation/config (원본 보기)
- 모듈:Message box (원본 보기)
- 모듈:Message box/configuration (원본 보기)
- 모듈:Message box/localize (원본 보기)
- 모듈:Namespace detect/config (원본 보기)
- 모듈:Namespace detect/data (원본 보기)
- 모듈:No globals (원본 보기)
- 모듈:Yesno (원본 보기)
- 모듈:연습장/설명문서 (원본 보기)
모듈:연습장 문서로 돌아갑니다.