모듈:Message box/configuration: 두 판 사이의 차이

이삭위키
둘러보기로 이동 검색으로 이동
(새 문서: local ambox = { types = { speedy = { class = 'ambox-speedy', image = 'Ambox speedy deletion.png' }, delete = { class = 'ambox-delete', image = 'Ambox deletion.png'...)
 
잔글 (판 1개를 가져왔습니다)
 
(사용자 4명의 중간 판 11개는 보이지 않습니다)
3번째 줄: 3번째 줄:
speedy = {
speedy = {
class = 'ambox-speedy',
class = 'ambox-speedy',
image = 'Ambox speedy deletion.png'
image = 'Ambox warning pn.svg'
},
},
delete = {
delete = {
class = 'ambox-delete',
class = 'ambox-delete',
image = 'Ambox deletion.png'
image = 'Ambox warning pn.svg'
},
},
content = {
content = {
class = 'ambox-content',
class = 'ambox-content',
image = 'Ambox content.png'
image = 'Ambox important.svg'
},
},
style = {
style = {
19번째 줄: 19번째 줄:
move = {
move = {
class = 'ambox-move',
class = 'ambox-move',
image = 'Ambox move.png'
image = 'Merge-split-transwiki default.svg'
},
},
protection = {
protection = {
class = 'ambox-protection',
class = 'ambox-protection',
image = 'Ambox protection.png'
image = 'Semi-protection-shackle-keyhole.svg'
},
},
notice = {
notice = {
class = 'ambox-notice',
class = 'ambox-notice',
image = 'Ambox notice.png'
image = 'Information icon4.svg'
}
}
},
},
45번째 줄: 45번째 줄:
sectionDefault              = 'article',
sectionDefault              = 'article',
allowMainspaceCategories    = true,
allowMainspaceCategories    = true,
templateCategory            = 'Article message templates',
templateCategory            = '문서 알림 상자',
         templateCategoryRequireName = true,
         templateCategoryRequireName = true,
templateErrorCategory      = 'Article message templates with missing parameters',
templateErrorCategory      = '매개변수를 지정하지 않은 문서 알림 상자',
templateErrorParamsToCheck  = {'issue', 'fix', 'subst'}
templateErrorParamsToCheck  = {'name', 'issue', 'fix'}
}
}
   
   
55번째 줄: 55번째 줄:
speedy = {
speedy = {
class = 'cmbox-speedy',
class = 'cmbox-speedy',
image = 'Cmbox deletion.png'
image = 'Ambox warning pn.svg'
},
},
delete = {
delete = {
class = 'cmbox-delete',
class = 'cmbox-delete',
image = 'Cmbox deletion.png'
image = 'Ambox warning pn.svg'
},
},
content = {
content = {
class = 'cmbox-content',
class = 'cmbox-content',
image = 'Cmbox content.png'
image = 'Ambox important.svg'
},
},
style = {
style = {
71번째 줄: 71번째 줄:
move = {
move = {
class = 'cmbox-move',
class = 'cmbox-move',
image = 'Cmbox move.png'
image = 'Merge-split-transwiki default.svg'
},
},
protection = {
protection = {
class = 'cmbox-protection',
class = 'cmbox-protection',
image = 'Cmbox protection.png'
image = 'Semi-protection-shackle-keyhole.svg'
},
},
notice = {
notice = {
class = 'cmbox-notice',
class = 'cmbox-notice',
image = 'Cmbox notice.png'
image = 'Information icon4.svg'
}
}
},
},
85번째 줄: 85번째 줄:
showInvalidTypeError = true,
showInvalidTypeError = true,
classes              = {'plainlinks', 'cmbox'},
classes              = {'plainlinks', 'cmbox'},
imageEmptyCell      = true
imageEmptyCell      = true,
templateCategory    = '분류 알림 상자',
 
}
}
   
   
92번째 줄: 94번째 줄:
warning = {
warning = {
class = 'fmbox-warning',
class = 'fmbox-warning',
image = 'Cmbox deletion.png'
image = 'Ambox warning pn.svg'
},
},
editnotice = {
editnotice = {
class = 'fmbox-editnotice',
class = 'fmbox-editnotice',
image = 'Imbox notice.png'
image = 'Information icon4.svg'
},
},
system = {
system = {
class = 'fmbox-system',
class = 'fmbox-system',
image = 'Imbox notice.png'
image = 'Information icon4.svg'
}
}
},
},
115번째 줄: 117번째 줄:
speedy = {
speedy = {
class = 'imbox-speedy',
class = 'imbox-speedy',
image = 'Imbox speedy deletion.png'
image = 'Ambox warning pn.svg'
},
},
delete = {
delete = {
class = 'imbox-delete',
class = 'imbox-delete',
image = 'Imbox deletion.png'
image = 'Ambox warning pn.svg'
},
},
content = {
content = {
class = 'imbox-content',
class = 'imbox-content',
image = 'Imbox content.png'
image = 'Ambox important.svg'
},
},
style = {
style = {
131번째 줄: 133번째 줄:
move = {
move = {
class = 'imbox-move',
class = 'imbox-move',
image = 'Imbox move.png'
image = 'Merge-split-transwiki default.svg'
},
},
protection = {
protection = {
class = 'imbox-protection',
class = 'imbox-protection',
image = 'Imbox protection.png'
image = 'Semi-protection-shackle-keyhole.svg'
},
},
license = {
license = {
class = 'imbox-license',
class = 'imbox-license licensetpl',
image = 'Imbox license.png'
image = 'Imbox license.png' -- @TODO SVG 버전이 필요합니다
},
},
featured = {
featured = {
class = 'imbox-featured',
class = 'imbox-featured',
image = 'Imbox featured.png'
image = 'Cscr-featured.svg'
},
},
notice = {
notice = {
class = 'imbox-notice',
class = 'imbox-notice',
image = 'Imbox notice.png'
image = 'Information icon4.svg'
}
}
},
},
156번째 줄: 158번째 줄:
imageEmptyCell      = true,
imageEmptyCell      = true,
below                = true,
below                = true,
templateCategory    = 'File message boxes'
templateCategory    = '파일 알림 상자'
}
}
   
   
163번째 줄: 165번째 줄:
speedy = {
speedy = {
class = 'ombox-speedy',
class = 'ombox-speedy',
image = 'Imbox speedy deletion.png'
image = 'Ambox warning pn.svg'
},
},
delete = {
delete = {
class = 'ombox-delete',
class = 'ombox-delete',
image = 'Imbox deletion.png'
image = 'Ambox warning pn.svg'
},
},
content = {
content = {
class = 'ombox-content',
class = 'ombox-content',
image = 'Imbox content.png'
image = 'Ambox important.svg'
},
},
style = {
style = {
179번째 줄: 181번째 줄:
move = {
move = {
class = 'ombox-move',
class = 'ombox-move',
image = 'Imbox move.png'
image = 'Merge-split-transwiki default.svg'
},
},
protection = {
protection = {
class = 'ombox-protection',
class = 'ombox-protection',
image = 'Imbox protection.png'
image = 'Semi-protection-shackle-keyhole.svg'
},
},
notice = {
notice = {
class = 'ombox-notice',
class = 'ombox-notice',
image = 'Imbox notice.png'
image = 'Information icon4.svg'
}
}
},
},
202번째 줄: 204번째 줄:
speedy = {
speedy = {
class = 'tmbox-speedy',
class = 'tmbox-speedy',
image = 'Imbox speedy deletion.png'
image = 'Ambox warning pn.svg'
},
},
delete = {
delete = {
class = 'tmbox-delete',
class = 'tmbox-delete',
image = 'Imbox deletion.png'
image = 'Ambox warning pn.svg'
},
},
content = {
content = {
class = 'tmbox-content',
class = 'tmbox-content',
image = 'Imbox content.png'
image = 'Ambox important.svg'
},
},
style = {
style = {
class = 'tmbox-style',
class = 'tmbox-style',
image = 'Edit-clear.svg '
image = 'Edit-clear.svg'
},
},
move = {
move = {
class = 'tmbox-move',
class = 'tmbox-move',
image = 'Imbox move.png'
image = 'Merge-split-transwiki default.svg'
},
},
protection = {
protection = {
class = 'tmbox-protection',
class = 'tmbox-protection',
image = 'Imbox protection.png'
image = 'Semi-protection-shackle-keyhole.svg'
},
},
notice = {
notice = {
class = 'tmbox-notice',
class = 'tmbox-notice',
image = 'Imbox notice.png'
image = 'Information icon4.svg'
}
}
},
},
237번째 줄: 239번째 줄:
imageEmptyCell      = true,
imageEmptyCell      = true,
imageEmptyCellStyle  = true,
imageEmptyCellStyle  = true,
templateCategory    = 'Talk message boxes'
templateCategory    = '토론 알림 상자'
}
}
   
   

2023년 4월 25일 (화) 14:46 기준 최신판

이 모듈의 자세한 설명은 en:Module:Message_box/configuration/doc 항목을 참고하십시오.


local ambox = {
	types = {
		speedy = {
			class = 'ambox-speedy',
			image = 'Ambox warning pn.svg'
		},
		delete = {
			class = 'ambox-delete',
			image = 'Ambox warning pn.svg'
		},
		content = {
			class = 'ambox-content',
			image = 'Ambox important.svg'
		},
		style = {
			class = 'ambox-style',
			image = 'Edit-clear.svg'
		},
		move = {
			class = 'ambox-move',
			image = 'Merge-split-transwiki default.svg'
		},
		protection = {
			class = 'ambox-protection',
			image = 'Semi-protection-shackle-keyhole.svg'
		},
		notice = {
			class = 'ambox-notice',
			image = 'Information icon4.svg'
		}
	},
	default                     = 'notice',
	allowBlankParams            = {'talk', 'sect', 'date', 'issue', 'fix', 'subst', 'hidden'},
	allowSmall                  = true,
	smallParam                  = 'left',
	smallClass                  = 'mbox-small-left',
	substCheck                  = true,
	classes                     = {'metadata', 'plainlinks', 'ambox'},
	imageEmptyCell              = true,
	imageCheckBlank             = true,
	imageSmallSize              = '20x20px',
	imageCellDiv                = true,
	useCollapsibleTextFields    = true,
	imageRightNone              = true,
	sectionDefault              = 'article',
	allowMainspaceCategories    = true,
	templateCategory            = '문서 알림 상자',
        templateCategoryRequireName = true,
	templateErrorCategory       = '매개변수를 지정하지 않은 문서 알림 상자',
	templateErrorParamsToCheck  = {'name', 'issue', 'fix'}
}
 
local cmbox = {
	types = {
		speedy = {
			class = 'cmbox-speedy',
			image = 'Ambox warning pn.svg'
		},
		delete = {
			class = 'cmbox-delete',
			image = 'Ambox warning pn.svg'
		},
		content = {
			class = 'cmbox-content',
			image = 'Ambox important.svg'
		},
		style = {
			class = 'cmbox-style',
			image = 'Edit-clear.svg'
		},
		move = {
			class = 'cmbox-move',
			image = 'Merge-split-transwiki default.svg'
		},
		protection = {
			class = 'cmbox-protection',
			image = 'Semi-protection-shackle-keyhole.svg'
		},
		notice = {
			class = 'cmbox-notice',
			image = 'Information icon4.svg'
		}
	},
	default              = 'notice',
	showInvalidTypeError = true,
	classes              = {'plainlinks', 'cmbox'},
	imageEmptyCell       = true,
	templateCategory     = '분류 알림 상자',

}
 
local fmbox = {
	types = {
		warning = {
			class = 'fmbox-warning',
			image = 'Ambox warning pn.svg'
		},
		editnotice = {
			class = 'fmbox-editnotice',
			image = 'Information icon4.svg'
		},
		system = {
			class = 'fmbox-system',
			image = 'Information icon4.svg'
		}
	},
	default              = 'system',
	showInvalidTypeError = true,
	allowId                = true,
	classes              = {'plainlinks', 'fmbox'},
	imageEmptyCell       = false,
	imageRightNone       = false
}
 
local imbox = {
	types = {
		speedy = {
			class = 'imbox-speedy',
			image = 'Ambox warning pn.svg'
		},
		delete = {
			class = 'imbox-delete',
			image = 'Ambox warning pn.svg'
		},
		content = {
			class = 'imbox-content',
			image = 'Ambox important.svg'
		},
		style = {
			class = 'imbox-style',
			image = 'Edit-clear.svg'
		},
		move = {
			class = 'imbox-move',
			image = 'Merge-split-transwiki default.svg'
		},
		protection = {
			class = 'imbox-protection',
			image = 'Semi-protection-shackle-keyhole.svg'
		},
		license = {
			class = 'imbox-license licensetpl',
			image = 'Imbox license.png' -- @TODO SVG 버전이 필요합니다
		},
		featured = {
			class = 'imbox-featured',
			image = 'Cscr-featured.svg'
		},
		notice = {
			class = 'imbox-notice',
			image = 'Information icon4.svg'
		}
	},
	default              = 'notice',
	showInvalidTypeError = true,
	classes              = {'imbox'},
	usePlainlinksParam   = true,
	imageEmptyCell       = true,
	below                = true,
	templateCategory     = '파일 알림 상자'
}
 
local ombox = {
	types = {
		speedy = {
			class = 'ombox-speedy',
			image = 'Ambox warning pn.svg'
		},
		delete = {
			class = 'ombox-delete',
			image = 'Ambox warning pn.svg'
		},
		content = {
			class = 'ombox-content',
			image = 'Ambox important.svg'
		},
		style = {
			class = 'ombox-style',
			image = 'Edit-clear.svg'
		},
		move = {
			class = 'ombox-move',
			image = 'Merge-split-transwiki default.svg'
		},
		protection = {
			class = 'ombox-protection',
			image = 'Semi-protection-shackle-keyhole.svg'
		},
		notice = {
			class = 'ombox-notice',
			image = 'Information icon4.svg'
		}
	},
	default              = 'notice',
	showInvalidTypeError = true,
	classes              = {'plainlinks', 'ombox'},
	allowSmall           = true,
	imageEmptyCell       = true,
	imageRightNone       = true
}
 
local tmbox = {
	types = {
		speedy = {
			class = 'tmbox-speedy',
			image = 'Ambox warning pn.svg'
		},
		delete = {
			class = 'tmbox-delete',
			image = 'Ambox warning pn.svg'
		},
		content = {
			class = 'tmbox-content',
			image = 'Ambox important.svg'
		},
		style = {
			class = 'tmbox-style',
			image = 'Edit-clear.svg'
		},
		move = {
			class = 'tmbox-move',
			image = 'Merge-split-transwiki default.svg'
		},
		protection = {
			class = 'tmbox-protection',
			image = 'Semi-protection-shackle-keyhole.svg'
		},
		notice = {
			class = 'tmbox-notice',
			image = 'Information icon4.svg'
		}
	},
	default              = 'notice',
	showInvalidTypeError = true,
	classes              = {'plainlinks', 'tmbox'},
	allowId              = true,
	allowSmall           = true,
	imageRightNone       = true,
	imageEmptyCell       = true,
	imageEmptyCellStyle  = true,
	templateCategory     = '토론 알림 상자'
}
 
return {
	ambox = ambox,
	cmbox = cmbox,
	fmbox = fmbox,
	imbox = imbox,
	ombox = ombox,
	tmbox = tmbox
}