새로 오신 분들은 길라잡이를 꼭 읽어주세요.

문서의 정리·작성번역을 도와주시면 마인크래프트 위키에 큰 힘이 됩니다.

틀:격자/Crafting Square Slide/doc

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

About[원본 편집]

This template is made to convert a list of items into a slideshow of the items. It can deal with a list containing up to 9 items, separated by a ','.

Usage[원본 편집]

{{Grid/Crafting Square Slide| Item List | Class Prefix | Image Suffix | Link Prefix | Link Suffix | Link List }}

Parameters[원본 편집]

Item List[원본 편집]

A String containing a list of items to show. Items will be shown in the same order they are listed. Each item should be seperated with a ',' and the list should end with a ','. So it will look like this: "item1,item2,item3,".

It importe to NOT add any white spaces before or after the ','. "item1, item2 ," will be parsed as "item1" and " item2" (with a white space at the begining). It is allowed to add space caracters (like white spaces or returns) at the begining or end of the complete String. So " Item1,Item2, " will be pared as "item1" and "item2".

Item name should be a valid item/block names, or numbers (more about numbers here) For now only the standard item are allowed, so no mod items! The template will search for each item in the list for a image named "Grid_ItemName.png" (where ItemName will be an item from the list). The image will link to a page called the same as ItemName. So "item1,item2," will result in [[File:Grid_item1.png|link=item1]] and [[File:Grid_item2.png|link=item2]].

Class Prefix[원본 편집]

Each item from the Item List will be puted within a <span class="grid- Class Prefix"></span>. The class prefix can be changed for diferent CSS or JavaScript handling. The current CSS and JavaScript only work with Class Prefix "input", "output" and "output-numbers".

The last one ("output-numbers") also has an special handling as it will not directly generate an image, but will use the {{Grid/Crafting Square Numbers}} template to generate the content of the span. Note that the numers will still be inside a <span class="grid-output-numbers"></span>.

Image Suffix[원본 편집]

A suffix to be placed at the beginning of the image name. (usefull for mods)

Link Prefix[원본 편집]

A prefix to be placed at the beginning of a link (usefull for mods)

Link Suffix[원본 편집]

A suffix to be placed at the and of a link (usefull for foreign languages)

Link List[원본 편집]

This is a list of links, to be used when sliding nummers

Examples[원본 편집]

Example with a list of items:

{{Grid/Crafting Square Slide|Wood,Wooden Plank,Stick,|input}}

Gives:

Grid 참나무.pngGrid 참나무 목재.pngGrid 막대기.png

Example with a list of numbers:

{{Grid/Crafting Square Slide|1,22,3,|output-numbers}}

Gives:

GridNumbersCSS.png
GridNumbersCSS.png
GridNumbersCSS.png
Note that 1 is not shown, because it's not done in Minecraft to.