#!if w == null
{{{#!if w = 32
}}}
#!if w2 = w * 1.125
## ◆ 틀 시작
![파일:마인크래프트/GUI/슬롯.svg]()
#!if l != null
{{{#!if a == null
{{{#!if l1 = l.indexOf("#")
{{{#!if l1 != -1
{{{#!if a = l.substr(l1 + 1)
}}}{{{#!if l = l.substr(0, l1)
}}}}}}}}}}}}[[@l=마인크래프트/아이템@#@a@|[[파일:@i@.@i확장자=png@|width=@w@]]]]
#!if l == null
[[파일:@i@.@i확장자=png@|width=@w@]]
#!if c != null
{{{#!if cs = c.toString()
{{{#!if cl = cs.length
}}}}}}{{{#!if cl == 1
{{{#!if c1 = cs.substring(0,1)
}}}}}}{{{#!if cl == 2
{{{#!if c1 = cs.substring(1,2), c2 = cs.substring(0,1)
}}}}}}{{{#!if cl == 3
{{{#!if c1 = cs.substring(2,3), c2 = cs.substring(1,2), c3 = cs.substring(0,1)
}}}}}}{{{#!if cl == 4
{{{#!if c1 = cs.substring(3,4), c2 = cs.substring(2,3), c3 = cs.substring(1,2), c4 = cs.substring(0,1)
}}}}}}{{{#!if cl == 5
{{{#!if c1 = cs.substring(4,5), c2 = cs.substring(3,4), c3 = cs.substring(2,3), c4 = cs.substring(1,2), c5 = cs.substring(0,1)
}}}}}}{{{#!if cl == 6
{{{#!if c1 = cs.substring(5,6), c2 = cs.substring(4,5), c3 = cs.substring(3,4), c4 = cs.substring(2,3), c5 = cs.substring(1,2), c6 = cs.substring(0,1)
}}}}}}{{{#!wiki style="margin-top:calc(-1 * @w2@px)"
[[파일:마인크래프트/개수/@[email protected]|width=@w2@]]}}}{{{#!if cl > 1
{{{#!wiki style="margin-top:calc(-1 * @w2@px); margin-left:calc(-1/3 * @w2@px)"
[[파일:마인크래프트/개수/@[email protected]|width=@w2@]]}}}}}}{{{#!if cl > 2
{{{#!wiki style="margin-top:calc(-1 * @w2@px); margin-left:calc(-2/3 * @w2@px)"
[[파일:마인크래프트/개수/@[email protected]|width=@w2@]]}}}}}}{{{#!if cl > 3
{{{#!wiki style="margin-top:calc(-1 * @w2@px); margin-left:calc(-3/3 * @w2@px)"
[[파일:마인크래프트/개수/@[email protected]|width=@w2@]]}}}}}}{{{#!if cl > 4
{{{#!wiki style="margin-top:calc(-1 * @w2@px); margin-left:calc(-4/3 * @w2@px)"
[[파일:마인크래프트/개수/@[email protected]|width=@w2@]]}}}}}}{{{#!if cl > 5
{{{#!wiki style="margin-top:calc(-1 * @w2@px); margin-left:calc(-5/3 * @w2@px)"
[[파일:마인크래프트/개수/@[email protected]|width=@w2@]]}}}}}}{{{#!if l != null
{{{#!wiki style="margin-top:calc(-1 * @w2@px); margin-left:calc(-0/3 * @w2@px)"
[[@l=마인크래프트/아이템@#@a@|[[파일:마인크래프트/GUI/자리 표시자.png|width=@w2@]]]]}}}}}}
1. 틀 삽입 방법
아래와 같이 삽입해주세요.- 일반
[include(틀:마인크래프트/아이템 슬롯,i=)]
- 너비 포함
[include(틀:마인크래프트/아이템 슬롯,i=,w=32)]
- 하이퍼링크+앵커
[include(틀:마인크래프트/아이템 슬롯,i=,l=마인크래프트/아이템#석탄)]
2. 매개변수
위 매개변수들을 작성할 땐 다음과 같이 작성하십시오.i | 아이템. 확장자를 제외한 파일명[예]만 작성해주세요. 기본 확장자는 png이며 i확장자 매개변수를 사용해 확장자를 변경할 수 있습니다.[확장자_예] |
l | (선택사항) 문서를 연결할 하이퍼링크와 앵커명. 예: 마인크래프트/아이템, 마인크래프트/아이템/재료#석탄 참고: 문단 번호는 업데이트마다 변경되므로 권장하지 않습니다. 대신 앵커명을 작성하세요. |
c | (선택사항) 아이템 개수. 0~999999 범위의 숫자만 적습니다. 예: 1, 16, 64 주의: 4자리 이상(1000이상)은 틀이 넘어갑니다. |
w | (선택사항) 아이템의 크기. 기본값은 32입니다. |
3. 기타
- 다음 매개변수의 이름은 아래 단어들의 첫글자에서 따왔습니다.
- item
- hyperlink
- anchor
- width
- 역링크 추적용 파일
- 파일:마인크래프트/GUI/슬롯.svg