Š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 29: Řádek 29:
{{#if: {{{3|}}} | <span style="position: absolute; left: 166px; top: 45px;"><span title="{{{3|}}}"> {{
{{#if: {{{3|}}} | <span style="position: absolute; left: 166px; top: 45px;"><span title="{{{3|}}}"> {{
#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: 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}} }}
{{#if: {{{time|}}} | <span style="position: absolute; left: 97px; top: 41px; font-size:80%;" title="{{{xp}}} xp">[[Soubor:CORE_none.png{{!}}link={{!}}40px]]</span> | {{BLANK}} }}</div>
{{#if: {{{xp|}}} | <span style="position: absolute; left: 97px; top: 41px; font-size:80%;" title="{{{xp}}} xp">[[Soubor:CORE_none.png{{!}}link={{!}}40px]]</span> | {{BLANK}} }}
{{#if: {{{note|}}} | <span style="position: absolute; left: 6px; top: 115px; font-size:80%;">{{{note}}}</span> | {{BLANK}} }}</div>
| blast_furnace = <div class="recipe-frame" >{{#if: {{{note|}}} | [[Soubor:CORE_blast_furnace_note.png|frameless|class=recipe-general|link=]] | [[Soubor:CORE_blast_furnace_recipe.png|frameless|class=recipe-general|link=]] }}
| blast_furnace = <div class="recipe-frame" >{{#if: {{{note|}}} | [[Soubor:CORE_blast_furnace_note.png|frameless|class=recipe-general|link=]] | [[Soubor:CORE_blast_furnace_recipe.png|frameless|class=recipe-general|link=]] }}
{{#if: {{{2|}}} | <span style="position: absolute; left: 43px; top: 8px;"><span title="{{{2}}}">{{
{{#if: {{{2|}}} | <span style="position: absolute; left: 43px; top: 8px;"><span title="{{{2}}}">{{
Řádek 38: Řádek 38:
{{#if: {{{3|}}} | <span style="position: absolute; left: 166px; top: 45px;"><span title="{{{3|}}}"> {{
{{#if: {{{3|}}} | <span style="position: absolute; left: 166px; top: 45px;"><span title="{{{3|}}}"> {{
#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: 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}} }}
{{#if: {{{time|}}} | <span style="position: absolute; left: 97px; top: 41px; font-size:80%;" title="{{{xp}}} xp">[[Soubor:CORE_none.png{{!}}link={{!}}40px]]</span> | {{BLANK}} }}</div>
{{#if: {{{xp|}}} | <span style="position: absolute; left: 97px; top: 41px; font-size:80%;" title="{{{xp}}} xp">[[Soubor:CORE_none.png{{!}}link={{!}}40px]]</span> | {{BLANK}} }}
{{#if: {{{note|}}} | <span style="position: absolute; left: 6px; top: 115px; font-size:80%;">{{{note}}}</span> | {{BLANK}} }}</div>
| smoker = <div class="recipe-frame" >{{#if: {{{note|}}} | [[Soubor:CORE_smoker_note.png|frameless|class=recipe-general|link=]] | [[Soubor:CORE_smoker_recipe.png|frameless|class=recipe-general|link=]] }}
| smoker = <div class="recipe-frame" >{{#if: {{{note|}}} | [[Soubor:CORE_smoker_note.png|frameless|class=recipe-general|link=]] | [[Soubor:CORE_smoker_recipe.png|frameless|class=recipe-general|link=]] }}
{{#if: {{{2|}}} | <span style="position: absolute; left: 43px; top: 8px;"><span title="{{{2}}}">{{
{{#if: {{{2|}}} | <span style="position: absolute; left: 43px; top: 8px;"><span title="{{{2}}}">{{
Řádek 47: Řádek 47:
{{#if: {{{3|}}} | <span style="position: absolute; left: 166px; top: 45px;"><span title="{{{3|}}}"> {{
{{#if: {{{3|}}} | <span style="position: absolute; left: 166px; top: 45px;"><span title="{{{3|}}}"> {{
#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: 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}} }}
{{#if: {{{xp|}}} | <span style="position: absolute; left: 97px; top: 41px; font-size:80%;" title="{{{xp}}} xp">[[Soubor:CORE_none.png{{!}}link={{!}}40px]]</span> | {{BLANK}} }}</div>
{{#if: {{{xp|}}} | <span style="position: absolute; left: 97px; top: 41px; font-size:80%;" title="{{{xp}}} xp">[[Soubor:CORE_none.png{{!}}link={{!}}40px]]</span> | {{BLANK}} }}
{{#if: {{{note|}}} | <span style="position: absolute; left: 6px; top: 115px; font-size:80%;">{{{note}}}</span> | {{BLANK}} }}</div>
| brewing_stand = <div class="recipe-frame" >{{#if: {{{note|}}} | [[Soubor:CORE_brewing_stand_note.png|frameless|class=recipe-general|link=]] | [[Soubor:CORE_brewing_stand_recipe.png|frameless|class=recipe-general|link=]] }}
| brewing_stand = <div class="recipe-frame" >{{#if: {{{note|}}} | [[Soubor:CORE_brewing_stand_note.png|frameless|class=recipe-general|link=]] | [[Soubor:CORE_brewing_stand_recipe.png|frameless|class=recipe-general|link=]] }}
{{#if: {{{2|}}} | <span style="position: absolute; left: 144px; top: 8px;"><span title="{{{2}}}">{{
{{#if: {{{2|}}} | <span style="position: absolute; left: 144px; top: 8px;"><span title="{{{2}}}">{{
Řádek 61: Řádek 61:
#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: {{{time|}}} | <span style="position: absolute; left: 141px; top: 41px; font-size:80%;" title="{{{time}}} ticks">[[Soubor:CORE_none.png{{!}}link={{!}}40px]]</span> | {{BLANK}} }}
{{#if: {{{time|}}} | <span style="position: absolute; left: 141px; top: 41px; font-size:80%;" title="{{{time}}} ticks">[[Soubor:CORE_none.png{{!}}link={{!}}40px]]</span> | {{BLANK}} }}
{{#if: {{{note|}}} | <span style="position: absolute; left: 6px; top: 115px; font-size:80%;">{{{note}}}</span> | {{BLANK}} }}
{{#if: {{{note|}}} | <span style="position: absolute; left: 6px; top: 115px; font-size:80%;">{{{note}}}</span> | {{BLANK}} }}</div>
| cauldron = <div class="recipe-frame" >{{#if: {{{note|}}} | {{#ifeq: {{{fire}}} | y | [[Soubor:CORE_cauldron_fire_note.png|frameless|class=recipe-general|link=]] | [[Soubor:CORE_cauldron_note.png|frameless|class=recipe-general|link=]] }} | {{#ifeq: {{{fire}}} | y | [[Soubor:CORE_cauldron_fire_recipe.png|frameless|class=recipe-general|link=]] | [[Soubor:CORE_cauldron_recipe.png|frameless|class=recipe-general|link=]] }}}}
| cauldron = <div class="recipe-frame" >{{#if: {{{note|}}} | {{#ifeq: {{{fire}}} | y | [[Soubor:CORE_cauldron_fire_note.png|frameless|class=recipe-general|link=]] | [[Soubor:CORE_cauldron_note.png|frameless|class=recipe-general|link=]] }} | {{#ifeq: {{{fire}}} | y | [[Soubor:CORE_cauldron_fire_recipe.png|frameless|class=recipe-general|link=]] | [[Soubor:CORE_cauldron_recipe.png|frameless|class=recipe-general|link=]] }}}}
{{#if: {{{2|}}} | <span style="position: absolute; left: 43px; top: {{#ifeq:{{{fire}}}|y|13px|27px}};"><span title="{{{2}}}">{{
{{#if: {{{2|}}} | <span style="position: absolute; left: 43px; top: {{#ifeq:{{{fire}}}|y|13px|27px}};"><span title="{{{2}}}">{{
Řádek 69: Řádek 69:
{{#if: {{{time|}}} | <span style="position: absolute; left: 39px; top: {{#ifeq:{{{fire}}}|y|47px|60px}}; font-size:80%;" title="{{{time}}} ticks">[[Soubor:CORE_none.png{{!}}link={{!}}40px]]</span> | {{BLANK}} }}
{{#if: {{{time|}}} | <span style="position: absolute; left: 39px; top: {{#ifeq:{{{fire}}}|y|47px|60px}}; font-size:80%;" title="{{{time}}} ticks">[[Soubor:CORE_none.png{{!}}link={{!}}40px]]</span> | {{BLANK}} }}
{{#if: {{{xp|}}} | <span style="position: absolute; left: 97px; top: 41px; font-size:80%;" title="{{{xp}}} xp">[[Soubor:CORE_none.png{{!}}link={{!}}40px]]</span> | {{BLANK}} }}
{{#if: {{{xp|}}} | <span style="position: absolute; left: 97px; top: 41px; font-size:80%;" title="{{{xp}}} xp">[[Soubor:CORE_none.png{{!}}link={{!}}40px]]</span> | {{BLANK}} }}
{{#if: {{{note|}}} | <span style="position: absolute; left: 6px; top: 115px; font-size:80%;">{{{note}}}</span> | {{BLANK}} }}
{{#if: {{{note|}}} | <span style="position: absolute; left: 6px; top: 115px; font-size:80%;">{{{note}}}</span> | {{BLANK}} }}</div>
| campfire = <div class="recipe-frame" >{{#if: {{{note|}}} | [[Soubor:CORE_campfire_note.png|frameless|class=recipe-general|link=]] | [[Soubor:CORE_campfire_recipe.png|frameless|class=recipe-general|link=]] }}
{{#if: {{{2|}}} | <span style="position: absolute; left: 43px; top: 27px;"><span title="{{{2}}}">{{
#ifeq: {{{4}}} | n | [[Soubor:CORE_{{{2}}}.png{{!}}link={{!}}32px]] | [[Soubor:CORE_{{{2}}}.png{{!}}link={{{2}}}{{!}}32px]]}} </span></span> | {{BLANK}} }}
{{#if: {{{3|}}} | <span style="position: absolute; left: 166px; top: 45px;"><span title="{{{3|}}}"> {{
#ifeq: {{{5}}} | n | [[Soubor:CORE_{{{3}}}.png{{!}}link={{!}}32px]] | [[Soubor:CORE_{{{3}}}.png{{!}}link={{{3}}}{{!}}32px]]}} </span></span> | {{BLANK}} }}
{{#if: {{{time|}}} | <span style="position: absolute; left: 39px; top: 60px; font-size:80%;" title="{{{time}}} ticks">[[Soubor:CORE_none.png{{!}}link={{!}}40px]]</span> | {{BLANK}} }}
{{#if: {{{xp|}}} | <span style="position: absolute; left: 97px; top: 41px; font-size:80%;" title="{{{xp}}} xp">[[Soubor:CORE_none.png{{!}}link={{!}}40px]]</span> | {{BLANK}} }}
{{#if: {{{note|}}} | <span style="position: absolute; left: 6px; top: 115px; font-size:80%;">{{{note}}}</span> | {{BLANK}} }}</div>
| {{ERROR|Neplatný typ receptu.}}
| {{ERROR|Neplatný typ receptu.}}
}}
}}
Řádek 116: Řádek 124:
* přidáním <code>|time =</code> lze informovat, kolik '''ticků''' trvá výroba
* přidáním <code>|time =</code> lze informovat, kolik '''ticků''' trvá výroba
* přidáním <code>|fire = y</code> lze informovat, že pod cauldronem je potřeba mít oheň
* přidáním <code>|fire = y</code> lze informovat, že pod cauldronem je potřeba mít oheň

==== campfire ====
* přidáním <code>|xp =</code> lze informovat, kolik se za vypálení získá xp
* přidáním <code>|time =</code> lze informovat, kolik '''ticků''' trvá vypalování


</div></noinclude>
</div></noinclude>

Verze z 21. 2. 2020, 00:19

❌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|brewing_stand|input|output}} ❗BROKEN 
{{RECIPE|stonecutter|input|output}}
{{RECIPE|anvil|1|2|output}}
{{RECIPE|cauldron|input|output}}
{{RECIPE|campfire|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í

brewing_stand

  • přidáním |time = lze informovat, kolik ticků trvá výroba

cauldron

  • přidáním |xp = lze informovat, kolik se za výrobu získá xp
  • přidáním |time = lze informovat, kolik ticků trvá výroba
  • přidáním |fire = y lze informovat, že pod cauldronem je potřeba mít oheň

campfire

  • 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í