새로 오신 분들은 길라잡이위키 규칙을 꼭 읽어주세요.

문서 작성번역을 도와주시면 이 위키에 큰 힘이 됩니다.

틀:에디션 전용/설명문서

Minecraft Wiki
이동: 둘러보기, 검색
이 문서는 설명문서입니다. 틀 페이지 본문에 삽입되어야 합니다. 자세한 정보는 틀:Documentation를 참조하십시오.


이 틀은 특정 버전 또는 마인크래프트 버전에 전용인 기능을 표시하는 데 사용됩니다. 매개 변수로 지정된 버전을 나열하고 일치하는 로고의 애니메이션 표시가 순환하는 메시지 상자를 생성합니다.

매개 변수[원본 편집]

익명 매개 변수[원본 편집]

The template accepts any number of anonymous parameters, 1 for each version to be shown. It checks for certain parameter values as follows:

  • Outdated parameter values are translated to their up-to-date equivalents:
    • pc or computerjava
    • pocketbedrock
    • consolelegacy console
  • Known parameter values automatically select an associated edition name to display, page name for linking, logo image file, and maintenance category. If an unknown parameter value is encountered, default values are generated by a formula.
Parameter value Edition name Linked page Logo file Maintenance category
bedrock Bedrock Edition Bedrock Edition File:mclogo.svg Category:Bedrock Edition
java Java Edition Java Edition File:Java Edition.png Category:Java Edition
legacy console Legacy Console Edition Legacy Console Edition File:Legacy Console Edition.png Category:Legacy Console Edition
education Education Edition Education Edition File:Education Edition.svg Category:Education Edition
(unknown) <param> Edition [[<param> Edition]] File:<param> Edition.png Category:<param> Edition

Named parameters[원본 편집]

In addition to the anonymous parameters, the template accepts the following named parameters:

logoheight=<n>

Logo images are scaled to a width of 250 pixels, but their height is allowed to auto-scale to avoid distorting the image. The template leaves room for a logo height of 50 pixels, which is adequate in most cases, but if the scaled height is larger than that, the browser may automatically expand the message box height to accommodate it. This causes the remainder of the page to shift down. When multiple logos with different scaled heights are displayed, the page may repeatedly shift up and down as the animation cycles, making reading difficult. To avoid this, this parameter can override the default height of 50 pixels. For <n>, specify the number of pixels to be reserved for displaying the logo's height. (You may have to experiment to find the best value.)

As an alternative to using the logoheight parameter, the edition can be added to the built-in set of known editions, because logo heights for these are handled internally.

nocat=1

If this parameter is specified, the page will not be added to any maintenance categories. This is usually used where the template is only being demonstrated, as in the examples below. It should be omitted if the page actually applies only to the specified editions.

Examples[원본 편집]

The following examples illustrate the generated output using various parameters. You can copy an example into your page and modify it if you like.

Example 1
{{Exclusive|java}}

generates:

Java Edition.svg

Java Edition 전용


Example 2
{{Exclusive|education|console}}

generates:

Education Edition.svgLegacy Console Edition.png


Example 3
{{Exclusive|java|console|bedrock}}

generates:

Java Edition.svgLegacy Console Edition.pngMclogo.svg


Example 4

This example demonstrates the effect of the logoheight parameter

{{Exclusive|bedrock|education|logoheight=75}}

generates

Mclogo.svgEducation Edition.svg