Šablona:RECIPE: Porovnání verzí

Z Mineland.eu | Wiki
Skočit na navigaci Skočit na vyhledávání
Přidaný obsah Smazaný obsah
imported>Le0
Bez shrnutí editace
imported>Le0
Bez shrnutí editace
Řádek 22: Řádek 22:
{{#if: {{{11|}}} | <span style="position: absolute; left: 201px; top: 45px;"><span title="{{{11|}}}"> {{
{{#if: {{{11|}}} | <span style="position: absolute; left: 201px; top: 45px;"><span title="{{{11|}}}"> {{
#ifeq: {{{21}}} | n | [[Soubor:CORE_{{{11}}}.png{{!}}link={{!}}32px]] | [[Soubor:CORE_{{{11}}}.png{{!}}link={{{11}}}{{!}}32px]]}} </span></span> | {{BLANK}} }}
#ifeq: {{{21}}} | n | [[Soubor:CORE_{{{11}}}.png{{!}}link={{!}}32px]] | [[Soubor:CORE_{{{11}}}.png{{!}}link={{{11}}}{{!}}32px]]}} </span></span> | {{BLANK}} }}
{{#if: {{{note|}}} | <span style="position: absolute; left: 6px; top: 116px; font-size:80%;">{{{note}}}</span> | {{BLANK}} }}
{{#if: {{{note|}}} | <span style="position: absolute; left: 6px; top: 115px; font-size:80%;">{{{note}}}</span> | {{BLANK}} }}
{{#ifeq: {{{shapeless}}} | y | <span style="position: absolute; left: 222px; top: 6px; font-size:80%;" title="Shapeless">[[Soubor:CORE_crafting_table_shapeless.png{{!}}link={{!}}20px]]</span> | {{BLANK}} }}</div>
{{#ifeq: {{{shapeless}}} | y | <span style="position: absolute; left: 222px; top: 6px; font-size:80%;" title="Shapeless">[[Soubor:CORE_crafting_table_shapeless.png{{!}}link={{!}}20px]]</span> | {{BLANK}} }}</div>
| furnace = <div class="recipe-frame" >{{#if: {{{note|}}} | [[Soubor:CORE_furnace_note.png|frameless|class=recipe-general|link=]] | [[Soubor:CORE_furnace_recipe.png|frameless|class=recipe-general|link=]] }}
| furnace = <div class="recipe-frame" >{{#if: {{{note|}}} | [[Soubor:CORE_furnace_note.png|frameless|class=recipe-general|link=]] | [[Soubor:CORE_furnace_recipe.png|frameless|class=recipe-general|link=]] }}
Řádek 29: Řádek 29:
{{#if: {{{3|}}} | <span style="position: absolute; left: 166px; top: 45px;"><span title="{{{11|}}}"> {{
{{#if: {{{3|}}} | <span style="position: absolute; left: 166px; top: 45px;"><span title="{{{11|}}}"> {{
#ifeq: {{{5}}} | n | [[Soubor:CORE_{{{3}}}.png{{!}}link={{!}}32px]] | [[Soubor:CORE_{{{3}}}.png{{!}}link={{{3}}}{{!}}32px]]}} </span></span> | {{BLANK}} }}
#ifeq: {{{5}}} | n | [[Soubor:CORE_{{{3}}}.png{{!}}link={{!}}32px]] | [[Soubor:CORE_{{{3}}}.png{{!}}link={{{3}}}{{!}}32px]]}} </span></span> | {{BLANK}} }}
{{#if: {{{note|}}} | <span style="position: absolute; left: 6px; top: 116px; font-size:80%;">{{{note}}}</span> | {{BLANK}} }}
{{#if: {{{note|}}} | <span style="position: absolute; left: 6px; top: 115px; font-size:80%;">{{{note}}}</span> | {{BLANK}} }}
{{#ifeq: {{{only}}} | y | <span style="position: absolute; left: 223px; top: 6px; font-size:80%;" title="Furnace">[[Soubor:CORE_furnace_front.png{{!}}link={{!}}20px]]</span> | {{BLANK}} }}
{{#ifeq: {{{only}}} | y | <span style="position: absolute; left: 223px; top: 6px; font-size:80%;" title="Furnace">[[Soubor:CORE_furnace_front.png{{!}}link={{!}}20px]]</span> | {{BLANK}} }}
{{#if: {{{time|}}} | <span style="position: absolute; left: 39px; top: 41px; font-size:80%;" title="{{{time}}} ticks">[[Soubor:CORE_none.png{{!}}link={{!}}40px]]</span> | {{BLANK}} }}
{{#if: {{{time|}}} | <span style="position: absolute; left: 39px; top: 41px; font-size:80%;" title="{{{time}}} ticks">[[Soubor:CORE_none.png{{!}}link={{!}}40px]]</span> | {{BLANK}} }}
Řádek 38: Řádek 38:
{{#if: {{{3|}}} | <span style="position: absolute; left: 166px; top: 45px;"><span title="{{{11|}}}"> {{
{{#if: {{{3|}}} | <span style="position: absolute; left: 166px; top: 45px;"><span title="{{{11|}}}"> {{
#ifeq: {{{5}}} | n | [[Soubor:CORE_{{{3}}}.png{{!}}link={{!}}32px]] | [[Soubor:CORE_{{{3}}}.png{{!}}link={{{3}}}{{!}}32px]]}} </span></span> | {{BLANK}} }}
#ifeq: {{{5}}} | n | [[Soubor:CORE_{{{3}}}.png{{!}}link={{!}}32px]] | [[Soubor:CORE_{{{3}}}.png{{!}}link={{{3}}}{{!}}32px]]}} </span></span> | {{BLANK}} }}
{{#if: {{{note|}}} | <span style="position: absolute; left: 6px; top: 116px; font-size:80%;">{{{note}}}</span> | {{BLANK}} }}
{{#if: {{{note|}}} | <span style="position: absolute; left: 6px; top: 115px; font-size:80%;">{{{note}}}</span> | {{BLANK}} }}
{{#ifeq: {{{only}}} | y | <span style="position: absolute; left: 223px; top: 6px; font-size:80%;" title="Blast Furnace">[[Soubor:CORE_blast_furnace_front.png{{!}}link={{!}}20px]]</span> | {{BLANK}} }}
{{#ifeq: {{{only}}} | y | <span style="position: absolute; left: 223px; top: 6px; font-size:80%;" title="Blast Furnace">[[Soubor:CORE_blast_furnace_front.png{{!}}link={{!}}20px]]</span> | {{BLANK}} }}
{{#if: {{{time|}}} | <span style="position: absolute; left: 39px; top: 41px; font-size:80%;" title="{{{time}}} ticks">[[Soubor:CORE_none.png{{!}}link={{!}}40px]]</span> | {{BLANK}} }}
{{#if: {{{time|}}} | <span style="position: absolute; left: 39px; top: 41px; font-size:80%;" title="{{{time}}} ticks">[[Soubor:CORE_none.png{{!}}link={{!}}40px]]</span> | {{BLANK}} }}
Řádek 47: Řádek 47:
{{#if: {{{3|}}} | <span style="position: absolute; left: 166px; top: 45px;"><span title="{{{11|}}}"> {{
{{#if: {{{3|}}} | <span style="position: absolute; left: 166px; top: 45px;"><span title="{{{11|}}}"> {{
#ifeq: {{{5}}} | n | [[Soubor:CORE_{{{3}}}.png{{!}}link={{!}}32px]] | [[Soubor:CORE_{{{3}}}.png{{!}}link={{{3}}}{{!}}32px]]}} </span></span> | {{BLANK}} }}
#ifeq: {{{5}}} | n | [[Soubor:CORE_{{{3}}}.png{{!}}link={{!}}32px]] | [[Soubor:CORE_{{{3}}}.png{{!}}link={{{3}}}{{!}}32px]]}} </span></span> | {{BLANK}} }}
{{#if: {{{note|}}} | <span style="position: absolute; left: 6px; top: 116px; font-size:80%;">{{{note}}}</span> | {{BLANK}} }}
{{#if: {{{note|}}} | <span style="position: absolute; left: 6px; top: 115px; font-size:80%;">{{{note}}}</span> | {{BLANK}} }}
{{#ifeq: {{{only}}} | y | <span style="position: absolute; left: 223px; top: 6px; font-size:80%;" title="Smoker">[[Soubor:CORE_smoker_front.png{{!}}link={{!}}20px]]</span> | {{BLANK}} }}
{{#ifeq: {{{only}}} | y | <span style="position: absolute; left: 223px; top: 6px; font-size:80%;" title="Smoker">[[Soubor:CORE_smoker_front.png{{!}}link={{!}}20px]]</span> | {{BLANK}} }}
{{#if: {{{time|}}} | <span style="position: absolute; left: 39px; top: 41px; font-size:80%;" title="{{{time}}} ticks">[[Soubor:CORE_none.png{{!}}link={{!}}40px]]</span> | {{BLANK}} }}
{{#if: {{{time|}}} | <span style="position: absolute; left: 39px; top: 41px; font-size:80%;" title="{{{time}}} ticks">[[Soubor:CORE_none.png{{!}}link={{!}}40px]]</span> | {{BLANK}} }}

Verze z 18. 2. 2020, 18:52

❌ERROR

Dokumentace

CSS: Šablona:MAIN/styles.css, nemá vlastní CSS 🔄

{{RECIPE|crafting_table|1|2|3|4|5|6|7|8|9|output}}
{{RECIPE|furnace|input|output}}
{{RECIPE|blast_furnace|input|output}}
{{RECIPE|smoker|input|output}}
{{RECIPE|grindstone|input|output}}
{{RECIPE|brewing_stand|input|output}}
{{RECIPE|stonecutter|input|output}}
  • vstup automaticky bere texturu uloženou v souboru Soubor:CORE_<název>.png
  • u každého vstupu lze vypnout odkazování na stránku na Mineland Wiki - stačí přidat další parametr n za parametr "output" na požadovanou pozici
  • recept lze doplnit komentářem přídáním parametru |note =

crafting_table

  • shapeless texturu umístit do středu workbenche, tedy v pořadí 4, 5, 6, 2, 8 podle počtu itemů
  • pokud je recept shapeless, je nutné přidat |shapeless = y jako libovolný parametr (ideálně na konec)

furnace

  • pokud je recept určen pouze pro klasickou pec, je nutné přidat |only = y
  • přidáním |xp = lze informovat, kolik se za vypálení získá xp
  • přidáním |time = lze informovat, kolik ticků trvá vypalování

blasting_furnace

  • pokud je recept určen pouze pro klasickou pec, je nutné přidat |only = y
  • přidáním |xp = lze informovat, kolik se za vypálení získá xp
  • přidáním |time = lze informovat, kolik ticků trvá vypalování

smoker

  • pokud je recept určen pouze pro klasickou pec, je nutné přidat |only = y
  • přidáním |xp = lze informovat, kolik se za vypálení získá xp
  • přidáním |time = lze informovat, kolik ticků trvá vypalování