:자매문서/설명문서

개요

편집

여러 가지 자매 프로젝트에 한꺼번에 연결하기 위한 틀입니다.

사용법

편집
{{자매문서}}

위와 같이 매개변수 없이 틀을 사용하면, 각 프로젝트별로 연결되는 링크에 위키백과에서의 문서 이름이 자동으로 사용됩니다.

{{자매문서
<!-- 구성 변수. -->
 |1= |display= |auto= |collapsible= |position= |style=

<!-- 참고: 둘러보기 상자에 나타나는 프로젝트 순서임. -->
<!-- 1번째 부분: auto=no 설정 시 "yes"로 기본값으로 지정되는 프로젝트 -->
 |wikt= |c= |n= |q= |s= |b= |v=

<!-- 2번째 부분: auto=no 설정 시 "no"로 기본값으로 지정되는 프로젝트 -->
 |voy= |species= |species_author= |iw= |d= |m= |mw= |f=

<!-- 위 페이지를 위한 검색 옵션을 지정하는 변수. -->
 |commonscat= <!-- (c에 해당) 공용분류의 링크 강제 -->
 |author= <!-- (s에 해당) 위키문헌의 저자 이름 검색 강제 -->
 |cookbook= <!-- (b에 해당) 위키책의 요리책과 링크 강제 -->
}}

위와 같이 매개변수를 사용하여 각 프로젝트별로 각기 다른 이름의 문서로 연결시킬 수 있습니다.

매개변수

편집

모든 변수를 사용한 예시는 아래와 같습니다.

{{Sister project links
 |1= |display= |auto= |collapsible= |position= |style=
 |wikt= |c= |n= |q= |s= |b= |v=
 |voy=yes |species=yes |species_author=John |iw=en |d=yes |m=yes |mw=yes |f=yes
 |commonscat= |author= |cookbook=
}}

틀데이터

편집
다음은 시각편집기 및 다른 도구를 위한 틀데이터입니다.

자매문서의 틀데이터

Displays a terminal window with a set of commands. If the titles in the individual sister projects differ, use the following parameters, which are taken from [[Help:Interwiki linking]]. The value "Yes" means that the page will be found automatically.

틀 변수

변수설명형식상태
Search term1

Use if the ''search term'' differs from the pagename. E.g. to change the capitalization for Wiktionary links

기본값
{{PAGENAME}}
문자열선택 사항
Display namedisplay

Use if the ''display name'' is different from the search term. For example, the bear article would be 'Bears'.

기본값
{{PAGENAME}}
문자열선택 사항
Use wikidata to fill defaultsauto

If auto="yes", then sister projects with wikidata sitelinks are filled-in, others are off by default. Each project can be overridden with its own parameter.

기본값
No
문자열선택 사항
Collapsible?collapsible

Set to "yes" to make the template collapsible. Set to "collapsed" to make the template collapsible and initially collapsed.

기본값
No
문자열선택 사항
Positionposition

Specifies whether the box floats to the left or right. The only acceptable value is "left" which causes the box to float to the left. Any other value (not specifying this parameter) activates the default. (Float to the right.)

기본값
right
문자열선택 사항
CSS stylestyle

Optional CSS style specifications. Use with caution. (And don't use for evil!)

문자열선택 사항
Wiktionary linkwikt

Wiktionary link to show. Acceptable values are a page name, "yes", and "no".

기본값
Yes
문자열선택 사항
Commons linkc commons

Commons link to show. Acceptable values are a page name, "yes" and "no".

기본값
Yes
문자열선택 사항
Commons category?commonscat

Specifies whether a link to a category on Wikimedia Commons is shown. Can be "yes" or "no".

기본값
No
문자열선택 사항
Wikinews linkn

Wikinews link to show. Acceptable values are a page name, "yes" and "no".

기본값
Yes
문자열선택 사항
Wikiquote linkq

Wikiquote link to show. Acceptable values are a page name, "yes" and "no".

기본값
Yes
문자열선택 사항
Wikisource links

Wikisource link to show. Acceptable values are a page name, "yes" and "no".

기본값
Yes
문자열선택 사항
Wikisource author?author

Use for articles about authors to force the Wikisource links to include the "Author:" prefix. Can be set to "yes" or "no".

기본값
No
문자열선택 사항
Wikibooks linkb

Wikibooks link to show. Acceptable values are a page name, "yes" and "no".

기본값
Yes
문자열선택 사항
Cookbookcookbook

If yes, link to Cookbook at wikibooks. If string, use that string as article title in Cookbooks.

기본값
No
문자열선택 사항
Wikiversity linkv

Wikiversity link to show. Acceptable values are a page name, "yes", and "no".

기본값
Yes
문자열선택 사항
Wikivoyage linkvoy

Wikivoyage link to show. Acceptable values are a page name, "yes" and "no".

기본값
No
문자열선택 사항
Wikispecies taxon linkspecies

Wikispecies link to show. Acceptable values are a page name, "yes" and "no".

기본값
No
문자열선택 사항
Wikispecies author linkspecies_author

Wikispecies author link to show. Acceptable values are a page name, "yes" and "no". Even if "yes" it will be only displayed when species ≠ "yes"

기본값
No
문자열선택 사항
Interwiki linkiw

Link to other language edition. Acceptable values are a Wikipedia language code (e.g., "de"), "yes" and "no".

기본값
No
문자열선택 사항
Wikidata linkd

Wikidata link to show. Acceptable values are a QID, "yes" and "no".

기본값
No
문자열선택 사항
Meta linkm

Meta link to show. Acceptable values are a page name, "yes" and "no".

기본값
No
문자열선택 사항
MediaWiki linkmw

MediaWiki link to show. Acceptable values are a page name, "yes" and "no".

기본값
No
문자열선택 사항
Wikifunctions linkf

Wikifunctions link to show. Acceptable values are a page name, "yes" and "no".

기본값
No
문자열선택 사항