Szablon:Schematic

Z Minecraft Wiki Polska
Przejdź do nawigacji Przejdź do wyszukiwania
[ podgląd | edytuj | historia | odśwież ]Dokumentacja
Schematic of 3-clock
[Pomoc: Schematy]

Ten szablon wyświetla siatkę bloków symbolicznie reprezentujących struktury w Minecraft (szczególnie zegary z czerwonego proszku i mechanizmy).

Użycie[edytuj kod]

Schematic uses unnamed parameters to define the sprites used in the schematic, and named parameters to modify the schematic's default appearance:

{{Schematic |caption=<caption> |captionstyle=<captionstyle> |clear=<clear> |float=<float> |size=<size> |style=<style> |tablestyle=<tablestyle> |<param1>|<param2>|… }}

caption
The optional caption parameter may be added to create a caption under the schematic. Adding a caption automatically also creates a box surrounding the schematic and caption, and floats the box to page right. The redstone style guide recommends adding {{Schematic help}} at the end of the caption of the first schematic in an article (and to others if helpful), which adds a standardized link to the schematic help page.
captionstyle
The optional captionstyle parameter may be added to change the appearance of the caption area and contents. Its value should be a css declaration or declaration group with no surrounding braces or quotes (e.g., captionstyle=color: red; text-align: center;). This parameter has no effect if caption and float are not specified.
clear
The optional clear parameter may be added to force the schematic to drop below other floated elements. Its value may be left (to drop below only left-floated elements), right (to drop below only right-floated elements), both (to drop below all floated elements), or none (the default).
float
The optional float parameter may be added to change the side to which the schematic floats if a caption is added. The only value recognized is left -- anything else defaults back to floating to the right.
A schematic with no caption or float parameters acts like any other wiki table, ending the previous line and pushing subsequent text to a new line.
size
The optional size parameter may be added to specify the width and height of the sprite cells in pixels. Its value should be a simple number with no units added (e.g., size=16). If omitted, size defaults to 32.
style
The optional style parameter may be added to change the appearance of the schematic's surrounding box. Its value should be a css declaration or declaration group with no surrounding braces or quotes (e.g., style=background-color: yellow;). This parameter has no effect if caption and float are not specified.
tablestyle
The optional tablestyle parameter may be added to change the appearance of the schematic table. Its value should be a css declaration or declaration group with no surrounding braces or quotes (e.g., tablestyle=background-color: green;).
param
The param parameters specify the content of the schematic. When multiple params are defined, the resulting sprites or text are displayed in individual table cells, one after the other, unless a plus sign is used to stack them in the same cell.
Sprite sheet for Schematic
  • A sprite identifier (see list below) displays a sprite from the image on the right.
  • A plus sign (+) indicates that the next parameter should be stacked on top of the previous parameter, rather than starting a new cell.
  • A dash (-) starts a new row.
  • Anything else is simply displayed as center-aligned text within the cell's bounding box (empty parameters or whitespace parameters are displayed as empty cells).
    • Overflow text is not displayed, so this is primarily intended to be used to display one or two characters in a schematic (such as input and output locations, feature markers to be referenced in text, numbers representing light levels or distance, etc.).
    • HTML character entity references may be needed for some characters, such as &#124; for the pipe character: |, &#61; for an equals sign, &#43; for a plus sign (to be displayed as text rather than stacking the next param), or &#45; for a dash (to be displayed as text rather than starting a new row). &#x305; after a letter will provide a "combining overline" over the letter (used to indicate an inverse signal such as Q̅).

Considerations[edytuj kod]

Overuse of the schematic template can create a high server load, resulting in long page generation times or even a time-out failure. This server load is proportional to the number of schematic cells on a page (for example, one 100-cell schematic and ten 10-cell schematics produce roughly the same server load). When the number of schematic cells on a page start to exceed a few hundred (or fewer, with other high-load templates), consider using {{LoadBox}} or {{LoadPage}} to offload some or all schematics into user-requested subpages.

Code Produces:
{{Schematic
|input|+|A|rd-sw|air|air|-
|rd-nse|rs-e|rd-ew|output|+|O|-
|rd-nse|rs-e|SB||-
|input|+|B|rd-nw|air|air
}}

'''Bramka logiczna XOR'''
A
O
 
B

Bramka logiczna XOR

{{Schematic
|caption='''Falling-Edge Detector'''
|input|+|A|SB|+|rt-!|pi-e!|pe-e|BR|-
||||output|+|O|
}}
Place the captioned schematic right before the paragraph of text that will flow around it.
A
   O 
Falling-Edge Detector

Place the captioned schematic right before the paragraph of text that will flow around it.

{{Schematic
|float=left|caption='''1-Wide RS NOR Latch'''<br />(support layer not shown)
|input|+|S|rd-$|rd-$|||-
||SB|SB|rt-$w!|output|+|Q&#x305;|-
|output|+|Q|rt-$e|SB|rd-$!|input|+|R
}}
S  
 
QR
1-Wide RS NOR Latch
(support layer not shown)
{{Schematic|size=16|caption='''Hopper Clock'''

Long captions will not increase the width of the surrounding box
unless the schematic is fewer than 182px wide
(the same width as the standard image thumb).

size=16 is really too small. Only use it for ''huge'' schematics!
|rd-!|pi-e|BR|pe-w|pi-w!|rd-!|||-
|SB|rc-w!|ho-e|ho-w|rc-e!|SB|rt-w|output|+|C
}}
  
C

Hopper Clock

Long captions will not increase the width of the surrounding box unless the schematic is fewer than 182px wide (the same width as the standard image thumb).

size=16 is really too small. Only use it for huge schematics!

List of identifiers[edytuj kod]

A sprite identifier is a string of characters that specify which sprite to display.

Some conventions to remember:

  • Directions are indicated by n (north), s (south), e (east), w (west), u (up), and d (down). Directions are relative to the schematic, not the Minecraft world.
  • $ indicates a side view sprite.
  • ! indicates a powered/activated component.

Basic identifiers[edytuj kod]

Utility Sprites[edytuj kod]

Ellipses

ellipsis-ew ellipsis-ne ellipsis-ns ellipsis-nw

Miscellaneous

darker lighter  ???, unknown

Building Blocks[edytuj kod]

Any block

AB

Szkło

glass

Jasnogłaz

gs

Blok trawy, Ziemia

GB GB-$ dirt fa fa-$

Lód

ice

Obsydian

obsidian

Piasek

sand

Piasek dusz

nS

Kamień

St Co slab

Drewno

wood Ow-$ Jw-$

Wełna

WW OW MW bW YW LW rW kW
wW CW PW BW NW GW RW KW

Bloki Dekoracyjne[edytuj kod]

Kowadło

anvil anvil-$

Biblioteczka

Bo Bo-$

Statyw alchemiczny

brew brew-$

Kaktus

cactus cactus-$

Skrzynia
Skrzynia pułapka

ch ch-n ch-s ch-e ch-w ch-$ ch-$e ch-$w

Pajęczyna

cobweb

Stół rzemieślniczy

CT CT-$

Stół do zaklęć

et et-$

Piec

Fu-n  Fu-s  Fu-e  Fu-w 
Fu-$n Fu-$s Fu-$e Fu-$w

Kraty

ib-$e ib-$ew ib-$w
ib-n ib-s ib-e ib-w
ib-ns ib-ne ib-nw ib-se ib-sw ib-ew
ib-nse ib-nsw ib-new ib-sew ib-nsew

Szafa grająca

Ju Ju-$

Dźwignia

la-n la-s la-e la-w la-$n la-$e la-$w

Lawa

lv lv-$7 lv-$6 lv-$5 lv-$4 lv-$3 lv-$2 lv-$1

Liście

ol jl

Jack o'Lantern

JL, Pu JL-$

Monster Spawner

ms

Sadzonka

osap osap-$ jsap jsap-$

Tabliczka

si-n si-s si-e si-w si-$n si-$e si-$w

Liana

vi-n vi-s vi-e vi-w vi-$n vi-$e vi-$w

Woda

wa wa-$7 wa-$6 wa-$5 wa-$4 wa-$3 wa-$2 wa-$1

Transportation[edytuj kod]

Łódka

boat-ew  boat-ns  boat-$ew 

Minecart

mc-ew    mc-ns    mc-$ew   

Wagonik ze skrzynią

mc/ch-ew mc/ch-ns mc/ch-$ew

Wagonik z piecem

mc/Fu-ew mc/Fu-ns mc/Fu-$ew

Wagonik z lejem

mc/ho-ew mc/ho-ns mc/ho-$ew

Wagonik z TNT

mc/tnt-ew mc/tnt-ns mc/tnt-$ew

Tory aktywacyjne

ar-ew  ar-ns  ar-eu  ar-nu  ar-wu  ar-su  ar-$wu  ar-$ew  ar-$eu 
ar-ew! ar-ns! ar-eu! ar-nu! ar-wu! ar-su! ar-$wu! ar-$ew! ar-$eu!

Tory z czujnikiem

dr-ew  dr-ns  dr-eu  dr-nu  dr-wu  dr-su  dr-$wu  dr-$ew  dr-$eu 

Zasilane tory

pr-ew  pr-ns  pr-eu  pr-nu  pr-wu  pr-su  pr-$wu  pr-$ew  pr-$eu 
pr-ew! pr-ns! pr-eu! pr-nu! pr-wu! pr-su! pr-$wu! pr-$ew! pr-$eu!

Tory

ra-ew  ra-ns  ra-eu  ra-nu  ra-wu  ra-su  ra-$wu  ra-$ew  ra-$eu 
ra-se  ra-sw  ra-ne  ra-nw 

Redstone identifiers[edytuj kod]

Support components[edytuj kod]

Redstone Support

SB (stationary block) SB-u (stationary block above component)
MB (movable block) MB-u (movable block above component)
ts (top slab) ts-u (top slab above component) ts-$ (top slab, side view)
input output duplex

Power components[edytuj kod]

Blok redstone

BR, block of redstone BR-u (block of redstone above component)

Przycisk

sb-n sb-s sb-e sb-w sb-$n sb-$e sb-$w
wb-n wb-s wb-e wb-w wb-$n wb-$e wb-$w

Detektor światła dziennego

ds ds-$

Dźwignia

le-n, le-$u   le-s, le-$d   le-e  le-w  le-$n, le-d   le-$e  le-$w 
le-n!, le-$u! le-s!, le-$d! le-e! le-w! le-$n!, le-d! le-$e! le-$w!

Płyta naciskowas
Wagowa płyta naciskowa

spp wpp gpp ipp
spp-$ wpp-$ gpp-$ ipp-$

Czerwona pochodnia

rt   rt-n  rt-s  rt-e  rt-w 
rt-! rt-n! rt-s! rt-e! rt-w!
rt-$  rt-$n  rt-$e  rt-$w 
rt-$! rt-$n! rt-$e! rt-$w!

Zaczep na linkę
Linka

th-n th-s th-e th-w th-$n th-$e th-$w
tw-ew tw-ns tw-nsew tw-$ew tw-$ns

Transmission components[edytuj kod]

Komparator

rc-n  rc-s  rc-e  rc-w  rc-n!  rc-s!  rc-e!  rc-w! 
rs-n  rs-s  rs-e  rs-w  rs-n!  rs-s!  rs-e!  rs-w! 
rc-$e rc-$w rs-$e rs-$w rc-$e! rc-$w! rs-$e! rs-$w!

Note: rc for comparison mode, rs for subtraction mode.

Redstone

rd      rd-nse  rd-new  rd-nsw  rd-sew  rd-nsew  rd-$
rd-ns   rd-ne   rd-nw   rd-se   rd-sw   rd-ew  
rd-!    rd-nse! rd-new! rd-nsw! rd-sew! rd-nsew! rd-$!
rd-ns!  rd-ne!  rd-nw!  rd-se!  rd-sw!  rd-ew! 

Przekaźnik

rr-e1 rr-e2 rr-e3 rr-e4 rr-e1! rr-e2! rr-e3! rr-e4!
rr-n1 rr-n2 rr-n3 rr-n4 rr-n1! rr-n2! rr-n3! rr-n4!
rr-w1 rr-w2 rr-w3 rr-w4 rr-w1! rr-w2! rr-w3! rr-w4!
rr-s1 rr-s2 rr-s3 rr-s4 rr-s1! rr-s2! rr-s3! rr-s4!
lr-e1 lr-e2 lr-e3 lr-e4 lr-e1! lr-e2! lr-e3! lr-e4!
lr-n1 lr-n2 lr-n3 lr-n4 lr-n1! lr-n2! lr-n3! lr-n4!
lr-w1 lr-w2 lr-w3 lr-w4 lr-w1! lr-w2! lr-w3! lr-w4!
lr-s1 lr-s2 lr-s3 lr-s4 lr-s1! lr-s2! lr-s3! lr-s4!
rr-$e1 rr-$e2 rr-$e3 rr-$e4 rr-$e1! rr-$e2! rr-$e3! rr-$e4!
rr-$w1 rr-$w2 rr-$w3 rr-$w4 rr-$w1! rr-$w2! rr-$w3! rr-$w4!
lr-$e1 lr-$e2 lr-$e3 lr-$e4 lr-$e1! lr-$e2! lr-$e3! lr-$e4!
lr-$w1 lr-$w2 lr-$w3 lr-$w4 lr-$w1! lr-$w2! lr-$w3! lr-$w4!

Note: rr for unlocked repeaters, lr for locked repeaters.

Mechanism components[edytuj kod]

Blok poleceń

CB

Dozownik

Di-n  Di-s  Di-e  Di-w  Di-u  Di-d 
Di-$n Di-$s Di-$e Di-$w Di-$u Di-$d

Drzwi

wd-n wd-s wd-e wd-w wd-$nu wd-$eu wd-$wu wd-$nu wd-$eu wd-$wu
id-n id-s id-e id-w wd-$nd wd-$ed wd-$wd wd-$nd wd-$ed wd-$wd

Podajnik

Dr-n  Dr-s  Dr-e  Dr-w  Dr-u  Dr-d 
Dr-$n Dr-$s Dr-$e Dr-$w Dr-$u Dr-$d

Furtka

fg-ns  fg-ew  fg-ns!  fg-ew! 
fg-$ns fg-$ew fg-$ns! fg-$ew!

Lej

ho-n  ho-s  ho-e  ho-w  ho-d 
ho-$n ho-$s ho-$e ho-$w ho-$d

Blok dźwiękowy

NB

Tłok

pi-n, pi-$u   pi-s, pi-$d   pi-e, pi-$e   pi-w, pi-$w   pi-u, pi-$s   pi-d, pi-$n  
pi-n!, pi-$u! pi-s!, pi-$d! pi-e!, pi-$e! pi-w!, pi-$w! pi-u!, pi-$s! pi-d!, pi-$n!
pe-n, pe-$u   pe-s, pe-$d   pe-e, pe-$e   pe-w, pe-$w   pe-u, pe-$s   pe-d, pe-$n  

Lampa

RL RL-!

Lepki tłok

sp-n, sp-$u   sp-s, sp-$d   sp-e, sp-$e   sp-w, sp-$w   sp-u, sp-$s   sp-d, sp-$n  
sp-n!, sp-$u! sp-s!, sp-$d! sp-e!, sp-$e! sp-w!, sp-$w! sp-u!, sp-$s! sp-d!, sp-$n!
se-n, se-$u   se-s, se-$d   se-e, se-$e   se-w, se-$w   se-u, se-$s   se-d, se-$n  

TNT

tnt tnt-$

Klapa

td-u  td-d  td-n!  td-e!  td-w!  td-s! 
td-$u td-$d td-$n! td-$e! td-$w!

See Also[edytuj kod]

Help:Schematic
Guide to reading wiki schematics
Redstone style guide
Guide to writing wiki articles about redstone structures, including tips for authoring schematics