:분류 링크/설명문서

사용법

편집

{{Cl|category name}}
{{Cl|category name|link text}}
{{Cl|category name|link text|count=yes}}
{{Cl|category name|link text|count=yes|count_type=type}}
{{Cl|category name|link text|count=yes|count_type=type|backlog=backlog threshold}}

{{Cl}} ("[C]ategory [l]ink") produces a link to a category in a similar fashion to {{Tl}} for a template. 예제:

{{Cl|아프리카}} produces: 분류:아프리카

To specify the text used for the link, add it as a second parameter:

{{Cl|아프리카|this category}} produces: this category

To add a count of everything in the category, add the |count=yes parameter:

{{Cl|아프리카|count=yes}} produces: 분류:아프리카 ( 37 )

If you just want to get a count of pages, files, or subcats, use the |count_type= parameter:

{{Cl|아프리카|count=yes|count_type=all}}는 다음과 같이 표시: 분류:아프리카 ( 37 ) (기본값)
{{Cl|아프리카|count=yes|count_type=pages}}는 다음과 같이 표시: 분류:아프리카 ( 11 )
{{Cl|아프리카|count=yes|count_type=subcats}}는 다음과 같이 표시: 분류:아프리카 ( 26 )
{{Cl|아프리카|count=yes|count_type=files}}는 다음과 같이 표시: 분류:아프리카 ( 0 )

If you want to make counts standout for categories that have a backlog, use |backlog=:

{{Cl|아프리카|count=yes|backlog=20}} produces: 분류:아프리카 ( 37 )

같이 보기

편집

틀:내부 분류 연결 틀

틀데이터

편집

문단에서 글이나 문장에 링크를 거는 것처럼 분류에도 링크를 걸어줄 수 있습니다. 현재 최대 2개의 분류를 동시에 걸 수 있습니다.

틀 변수

이 틀은 한 줄로 쓰는 것이 권장됩니다.

변수설명형식상태
첫번쨰 링크1

링크를 걸어줄 분류 #1

예시
{{분류 링크|위키백과 틀}} → 분류:위키백과 틀
문자열필수
두번째 링크2

링크를 걸어줄 분류 #2

문자열제안
갯수count

링크를 건 분류 안에 있는 객체의 갯수의 표기, 논리값 "거짓"일 때, 갯수 유형의 값은 무시됨.

부울식제안
갯수 유형count_type

분류에 있는 객체의 갯수의 표기 여부

제안된 값
all pages subcats files
예시
all = 분류의 모든 객체, pages = 문서 갯수, subcats = 분류의 하위 분류, files = 파일 갯수
문자열선택 사항
backlogbacklog

설명 없음

알 수 없음선택 사항