(새 문서: {{퍼온문서|문서=모듈:string|판=27795255|일부=}}) |
편집 요약 없음 |
||
1번째 줄: | 1번째 줄: | ||
이 모듈은 Lua의 기본 문자열 함수를 위키 문서에서 사용할 수 있도록 하는 모듈입니다. | |||
Most of the functions provided here can be invoked with named parameters, | |||
unnamed parameters, or a mixture. If named parameters are used, Mediawiki will | |||
automatically remove any leading or trailing whitespace from the parameter. | |||
Depending on the intended use, it may be advantageous to either preserve or | |||
remove such whitespace. | |||
Global options | |||
ignore_errors: If set to 'true' or 1, any error condition will result in | |||
an empty string being returned rather than an error message. | |||
error_category: If an error occurs, specifies the name of a category to | |||
include with the error message. The default category is | |||
[Category:Errors reported by Module String]. | |||
no_category: If set to 'true' or 1, no category will be added if an error | |||
is generated. | |||
[[모듈:String/연습장]]에서 모듈을 테스트 해볼 수 있습니다. | |||
{{퍼온문서|문서=모듈:string|판=27795255|일부=}} | {{퍼온문서|문서=모듈:string|판=27795255|일부=}} |
2021년 5월 3일 (월) 16:31 판
이 모듈은 Lua의 기본 문자열 함수를 위키 문서에서 사용할 수 있도록 하는 모듈입니다.
Most of the functions provided here can be invoked with named parameters, unnamed parameters, or a mixture. If named parameters are used, Mediawiki will automatically remove any leading or trailing whitespace from the parameter. Depending on the intended use, it may be advantageous to either preserve or remove such whitespace.
Global options
ignore_errors: If set to 'true' or 1, any error condition will result in an empty string being returned rather than an error message.
error_category: If an error occurs, specifies the name of a category to include with the error message. The default category is [Category:Errors reported by Module String].
no_category: If set to 'true' or 1, no category will be added if an error is generated.
모듈:String/연습장에서 모듈을 테스트 해볼 수 있습니다.