Š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 3: Řádek 3:
| crafting_table = <div class="recipe-frame" >{{#if: {{{12|}}} | [[Soubor:CORE_crafting_table_note.png|frameless|class=recipe-general|link=]] | [[Soubor:CORE_crafting_table.png|frameless|class=recipe-general|link=]] }}
| crafting_table = <div class="recipe-frame" >{{#if: {{{12|}}} | [[Soubor:CORE_crafting_table_note.png|frameless|class=recipe-general|link=]] | [[Soubor:CORE_crafting_table.png|frameless|class=recipe-general|link=]] }}
{{#if: {{{2|}}} | <span style="position: absolute; left: 8px; top: 8px;"><span title="{{{2}}}">{{
{{#if: {{{2|}}} | <span style="position: absolute; left: 8px; top: 8px;"><span title="{{{2}}}">{{
#ifeq: {{{13}}} | n | [[Soubor:CORE_{{{2}}}.png{{!}}link={{!}}32px]] | [[Soubor:CORE_{{{2}}}.png{{!}}link={{{2}}}{{!}}32px]]}} </span></span> | {{BLANK}} }}
#ifeq: {{{12}}} | n | [[Soubor:CORE_{{{2}}}.png{{!}}link={{!}}32px]] | [[Soubor:CORE_{{{2}}}.png{{!}}link={{{2}}}{{!}}32px]]}} </span></span> | {{BLANK}} }}
{{#if: {{{3|}}} | <span style="position: absolute; left: 45px; top: 8px;"><span title="{{{3|}}}"> {{
{{#if: {{{3|}}} | <span style="position: absolute; left: 45px; top: 8px;"><span title="{{{3|}}}"> {{
#ifeq: {{{14}}} | n | [[Soubor:CORE_{{{3}}}.png{{!}}link={{!}}32px]] | [[Soubor:CORE_{{{3}}}.png{{!}}link={{{3}}}{{!}}32px]]}} </span></span> | {{BLANK}} }}
#ifeq: {{{13}}} | n | [[Soubor:CORE_{{{3}}}.png{{!}}link={{!}}32px]] | [[Soubor:CORE_{{{3}}}.png{{!}}link={{{3}}}{{!}}32px]]}} </span></span> | {{BLANK}} }}
{{#if: {{{4|}}} | <span style="position: absolute; left: 82px; top: 8px;"><span title="{{{4|}}}"> {{
{{#if: {{{4|}}} | <span style="position: absolute; left: 82px; top: 8px;"><span title="{{{4|}}}"> {{
#ifeq: {{{15}}} | n | [[Soubor:CORE_{{{4}}}.png{{!}}link={{!}}32px]] | [[Soubor:CORE_{{{4}}}.png{{!}}link={{{4}}}{{!}}32px]]}} </span></span> | {{BLANK}} }}
#ifeq: {{{14}}} | n | [[Soubor:CORE_{{{4}}}.png{{!}}link={{!}}32px]] | [[Soubor:CORE_{{{4}}}.png{{!}}link={{{4}}}{{!}}32px]]}} </span></span> | {{BLANK}} }}
{{#if: {{{5|}}} | <span style="position: absolute; left: 8px; top: 45px;"><span title="{{{5|}}}"> {{
{{#if: {{{5|}}} | <span style="position: absolute; left: 8px; top: 45px;"><span title="{{{5|}}}"> {{
#ifeq: {{{16}}} | n | [[Soubor:CORE_{{{5}}}.png{{!}}link={{!}}32px]] | [[Soubor:CORE_{{{5}}}.png{{!}}link={{{5}}}{{!}}32px]]}} </span></span> | {{BLANK}} }}
#ifeq: {{{15}}} | n | [[Soubor:CORE_{{{5}}}.png{{!}}link={{!}}32px]] | [[Soubor:CORE_{{{5}}}.png{{!}}link={{{5}}}{{!}}32px]]}} </span></span> | {{BLANK}} }}
{{#if: {{{6|}}} | <span style="position: absolute; left: 45px; top: 45px;"><span title="{{{6|}}}"> {{
{{#if: {{{6|}}} | <span style="position: absolute; left: 45px; top: 45px;"><span title="{{{6|}}}"> {{
#ifeq: {{{17}}} | n | [[Soubor:CORE_{{{6}}}.png{{!}}link={{!}}32px]] | [[Soubor:CORE_{{{6}}}.png{{!}}link={{{6}}}{{!}}32px]]}} </span></span> | {{BLANK}} }}
#ifeq: {{{16}}} | n | [[Soubor:CORE_{{{6}}}.png{{!}}link={{!}}32px]] | [[Soubor:CORE_{{{6}}}.png{{!}}link={{{6}}}{{!}}32px]]}} </span></span> | {{BLANK}} }}
{{#if: {{{7|}}} | <span style="position: absolute; left: 82px; top: 45px;"><span title="{{{7|}}}"> {{
{{#if: {{{7|}}} | <span style="position: absolute; left: 82px; top: 45px;"><span title="{{{7|}}}"> {{
#ifeq: {{{18}}} | n | [[Soubor:CORE_{{{7}}}.png{{!}}link={{!}}32px]] | [[Soubor:CORE_{{{7}}}.png{{!}}link={{{7}}}{{!}}32px]]}} </span></span> | {{BLANK}} }}
#ifeq: {{{17}}} | n | [[Soubor:CORE_{{{7}}}.png{{!}}link={{!}}32px]] | [[Soubor:CORE_{{{7}}}.png{{!}}link={{{7}}}{{!}}32px]]}} </span></span> | {{BLANK}} }}
{{#if: {{{8|}}} | <span style="position: absolute; left: 8px; top: 82px;"><span title="{{{8|}}}"> {{
{{#if: {{{8|}}} | <span style="position: absolute; left: 8px; top: 82px;"><span title="{{{8|}}}"> {{
#ifeq: {{{19}}} | n | [[Soubor:CORE_{{{8}}}.png{{!}}link={{!}}32px]] | [[Soubor:CORE_{{{8}}}.png{{!}}link={{{8}}}{{!}}32px]]}} </span></span> | {{BLANK}} }}
#ifeq: {{{18}}} | n | [[Soubor:CORE_{{{8}}}.png{{!}}link={{!}}32px]] | [[Soubor:CORE_{{{8}}}.png{{!}}link={{{8}}}{{!}}32px]]}} </span></span> | {{BLANK}} }}
{{#if: {{{9|}}} | <span style="position: absolute; left: 45px; top: 82px;"><span title="{{{9|}}}"> {{
{{#if: {{{9|}}} | <span style="position: absolute; left: 45px; top: 82px;"><span title="{{{9|}}}"> {{
#ifeq: {{{20}}} | n | [[Soubor:CORE_{{{9}}}.png{{!}}link={{!}}32px]] | [[Soubor:CORE_{{{9}}}.png{{!}}link={{{9}}}{{!}}32px]]}} </span></span> | {{BLANK}} }}
#ifeq: {{{19}}} | n | [[Soubor:CORE_{{{9}}}.png{{!}}link={{!}}32px]] | [[Soubor:CORE_{{{9}}}.png{{!}}link={{{9}}}{{!}}32px]]}} </span></span> | {{BLANK}} }}
{{#if: {{{10|}}} | <span style="position: absolute; left: 82px; top: 82px;"><span title="{{{10|}}}"> {{
{{#if: {{{10|}}} | <span style="position: absolute; left: 82px; top: 82px;"><span title="{{{10|}}}"> {{
#ifeq: {{{20}}} | n | [[Soubor:CORE_{{{10}}}.png{{!}}link={{!}}32px]] | [[Soubor:CORE_{{{10}}}.png{{!}}link={{{10}}}{{!}}32px]]}} </span></span> | {{BLANK}} }}
#ifeq: {{{20}}} | n | [[Soubor:CORE_{{{10}}}.png{{!}}link={{!}}32px]] | [[Soubor:CORE_{{{10}}}.png{{!}}link={{{10}}}{{!}}32px]]}} </span></span> | {{BLANK}} }}

Verze z 17. 2. 2020, 22:03

❌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|}}
  • 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)