Template:Cg/doc/ko

이 서식은 제작 격자 서식에서 컴포넌트를 만드는 데 사용됩니다. 추가할 구성 요소에 따라 매개 변수가 달라집니다.

매개변수
이 섹션에서는 제작 격자 서식을 만들 때 사용해야하는 매개변수를 정의합니다. 해당 서식을 호출할때 입력해야하는 내용을 확인하려면 아래 제작 격자 호출 섹션을 참조하십시오.
 * 1, type: 컴포넌트의 하나로서, 다음과 같은 것들이 있습니다.

공통 매게변수
별도로 지정하지 않는 이상, 모드 컴포넌트는 이 매게변수들을 허용합니다.
 * style: (선택 사항) 컴포넌트에 추가 할 추가 스타일.
 * class: (선택 사항) 컴포넌트에 추가 할 추가 클래스.

기본 유형
제작 격자의 시작을 표시합니다.
 * 2, w: 제작 격자의 너비
 * 3, h: 제작 격자의 높이
 * float: (선택사항) Sets the float of the crafting grid.

type = end
Marks the end of a crafting grid. This component does not support the common parameters.
 * 2: (Default: both) Sets the type of clear at the end of the template

type = cell
Grid cell. Supports slides.
 * 2: (Default: Gc) Grids to be displayed.
 * 3, x: Distance to the top of the crafting grid.
 * 4, y: Distance to the left of the crafting grid.

type = shapeless
Adds a icon stating that the recipe is shapeless.
 * 2, x: Distance to the top of the crafting grid.
 * 3, y: Distance to the left of the crafting grid.

type = tank
Tank cell. Supports slides. The following parameters are used to determine what tank background is to be used. If you do not know what to put in these parameters, consult other editors.
 * 2: Tanks to be displayed.
 * 3, x: Distance to the top of the crafting grid.
 * 4, y: Distance to the left of the crafting grid.
 * 5: Capacity of the tank.
 * width: (Optional) Width in pixels of the tank background.
 * height: (Default: 120) Height in pixels of the tank background.

type = bg-image
Sets the background image of the crafting grid.
 * 2: File name of the background image.
 * 3, width: (Optional) Used to set the width of the background image.

type = text
Text cell. Supports slides.
 * 2: Text field prefix.
 * 3: Text to be displayed, this field will be turned into slides.
 * 4: Text field suffix.
 * 5, x: Distance to the top of the crafting grid.
 * 6, y: Distance to the left of the crafting grid.

type = image
Image cell. Supports slides.
 * 2: Images to be displayed.
 * 3, x: Distance to the top of the crafting grid.
 * 4, y: Distance to the left of the crafting grid.

type = progress
Progress bar.
 * 2: Image for the progress bar.
 * 3, x: Distance to the top of the crafting grid.
 * 4, y: Distance to the left of the crafting grid.
 * 5, dir: Direction for the progress bar to go. Possible values are left, right, up, and down.
 * 6, size: Size of the progress bar in the dimension that it will be growing.
 * reverse: Makes the progress bar shrink instead of grow.

Invoking crafting grids
This sections defines the format of the inputs to different components when invoking the crafting grid templates; you can see what type the cell is in the documentation of the crafting grid templates. For a more detailed guide, read the crafting grid guide.