Szablon:Grid/Crafting Table/opis

Wersja z dnia 17:46, 5 lis 2011 autorstwa Slawko97 (dyskusja | edycje) (Utworzył nową stronę „{{doc/start}} This template is used to create a grid that looks similar to the Crafting Table's GUI screen. __TOC__ == Usage == <pre style="width: 2...”)
(różn.) ← poprzednia wersja | przejdź do aktualnej wersji (różn.) | następna wersja → (różn.)

Szablon:Doc/start This template is used to create a grid that looks similar to the Crafting Table's GUI screen.

Usage

{{Grid/Crafting Table
|A1=  |B1=       |C1= 
|A2=  |B2= Deski |C2= 
|A3=  |B3= Deski |C3= 
|Output= Stick |OA= 4
}}
produces





Stick

Deski

Deski

The OA field accepts 2-99 (OA stands for output amount). Using any number lower or leaving it blank will show nothing, using 100 to 109 will only show the last two digits (although this can be utilized to output 01 instead of just 1, for example), using anything higher will only show the last digit.

Use the available images listed below.

Animowane

To make the grid animate, you make a list of blocks and objects you want to show, separated by commas.

{{Grid/Crafting Table
|A1= ,Lapis Lazuli (Dye)|B1=                     ,Lapis Lazuli (Dye)|C1= ,Lapis Lazuli (Dye)
|A2= ,Lapis Lazuli (Dye)|B2= Lapis Lazuli (Block),Lapis Lazuli (Dye)|C2= ,Lapis Lazuli (Dye)
|A3= ,Lapis Lazuli (Dye)|B3=                     ,Lapis Lazuli (Dye)|C3= ,Lapis Lazuli (Dye)
|Output= Lapis Lazuli (Dye),Lapis Lazuli (Block) |OA=9,1
}}
produces


Lapis Lazuli (Dye)
Lapis Lazuli (Block)
{{Grid/Crafting Table
|A1= Iron (Ingot),Gold (Ingot),Diamond (Gem),Lapis Lazuli (Dye)
|B1= Iron (Ingot),Gold (Ingot),Diamond (Gem),Lapis Lazuli (Dye)
|C1= Iron (Ingot),Gold (Ingot),Diamond (Gem),Lapis Lazuli (Dye)
 |A2= Iron (Ingot),Gold (Ingot),Diamond (Gem),Lapis Lazuli (Dye)
 |B2= Iron (Ingot),Gold (Ingot),Diamond (Gem),Lapis Lazuli (Dye)
 |C2= Iron (Ingot),Gold (Ingot),Diamond (Gem),Lapis Lazuli (Dye)
  |A3= Iron (Ingot),Gold (Ingot),Diamond (Gem),Lapis Lazuli (Dye)
  |B3= Iron (Ingot),Gold (Ingot),Diamond (Gem),Lapis Lazuli (Dye)
  |C3= Iron (Ingot),Gold (Ingot),Diamond (Gem),Lapis Lazuli (Dye)
|Output= Iron (Block),Gold (Block),Diamond (Block),Lapis Lazuli (Block)
}}
produces


Iron (Ingot) Iron (Ingot) Iron (Ingot) Iron (Block)
Iron (Ingot) Iron (Ingot) Iron (Ingot)
Iron (Ingot) Iron (Ingot) Iron (Ingot)

Modyfikacje

If you are using mod images, you can specify the wiki page to your mod with the Mod parameter. All parameters (A1, B1, C1, Output, etc.) that are modded items have an M in front of them, and any normal Minecraft items stay the same, this allows you to use normal Minecraft items and link to their correct pages.

When uploading mod images, they must have the mod page name in brackets at the end. For example Fancystone (FancyPack).

{{Grid/Crafting Table
|Mod= CamelOre
|MA1= Copper (Ingot) |MB1= Copper (Ingot) |C1= 
|MA2= Copper (Ingot) | B2= Stick          |C2=
| A3=                | B3= Stick          |C3=
|MOutput= Copper Axe
}}
produces





Copper Axe

Stick

Stick

Note the links of the Copper Ingots and the Sticks.

Animation for mods is supported, but cannot be combined with non-mod items. This means you cannot slide mod and non-mod items within 1 of the 9 squares, but you can view mod and non-mod items at the same time in another square (e.g. you can NOT use |MA1=Stick,Copper (Ingot)|MA2=|MA3=Copper (Ingot) (Iron is a non-mod item, but Copper (Ingot) is a mod item), but you can use: |MA1=Copper (Ingot),Copper Axe|A2=Iron,Stick|MA3=Copper (Ingot))

Foreign languages

Foreign languages using the English wiki can use the lng parameter. It should be specified as a '/' followed by a 2 letter county code. For example:

{{Grid/Crafting Table|lng=/it
|A1=  |B1=              |C1= 
|A2=  |B2= Wooden Plank |C2= 
|A3=  |B3= Wooden Plank |C3= 
|Output= Stick |OA= 4
}}
produces





Stick

Wooden Plank

Wooden Plank

(Note the images links)

Szablon:Grid/Available images

Zobacz też

For unsupported usage

Szablon:Doc/end