Template:Craft Recipe: Difference between revisions

From Drifter's Wiki TEST
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{| class="sotawikitable" style="border:0 none;width:100%;"
<includeonly>{| class="wikitable" style="border:0 none;width:100%;"
|+Crafting the {{{skill|}}} recipe [[{{{name|{{PAGENAME}}}}}]]
|+Crafting the {{{skill|}}} item [[{{{name|{{PAGENAME}}}}}]]
! valign="top" style="border:0 none; text-align:left; line-height:1em;" |
! valign="top" style="border:0 none; text-align:left; line-height:1em;" |
{|
{|
{{#if:{{{skillrequirement|}}}|
{{#if:{{{skilllevel|}}}|
{{!}} style="background-color:transparent; text-align:center; border:0 none;" {{!}}
{{!}} style="background-color:transparent; text-align:center; border:0 none;" {{!}}
<ins>Required Skill</ins><br>
<ins>Required Skill</ins><br>
<span style="display:inline-block;padding-top:8px;">[[{{{skill}}}]] [[requires skill level::{{{skillrequirement|1}}}]]</span>
<span style="display:inline-block;padding-top:8px;">[[{{{skill}}}]]: {{{skilllevel|1}}}</span>
{{!}}-
{{!}}-
|}}
|}}
{{!}} style="background-color:transparent; text-align:center; border:0 none;" {{!}}
{{!}} style="background-color:transparent; text-align:center; border:0 none;" {{!}}
[[is teachable::{{{teachable|Not Teachable}}}]]
{{!}}-
{{!}}-
| style="background-color:transparent; text-align:center; border:0 none;" |
| style="background-color:transparent; text-align:center; border:0 none;" |
Line 21: Line 20:
-->{{#subobject:
-->{{#subobject:
| has ingredient={{#arraymap:{{{ingredient|}}}|;|y|{{#explode:y| |0}};{{#sub:y|{{#pos:y| }}}}|@}}|+sep=@
| has ingredient={{#arraymap:{{{ingredient|}}}|;|y|{{#explode:y| |0}};{{#sub:y|{{#pos:y| }}}}|@}}|+sep=@
| has tool={{#arraymap:{{{tool|}}}|;|y|{{#explode:y| |0}};{{#sub:y|{{#pos:y| }}}}|@}}|+sep=@
| has output={{#arraymap:{{{output|1 {{#titleparts: {{PAGENAME}}}}}}}|;|y|{{#explode:y| |0}};{{#sub:y|{{#pos:y| }}}}|@}}|+sep=@
| has output={{#arraymap:{{{output|1 {{#titleparts: {{PAGENAME}}}}}}}|;|y|{{#explode:y| |0}};{{#sub:y|{{#pos:y| }}}}|@}}|+sep=@
| has parent={{PAGENAME}}
| has parent={{PAGENAME}}
Line 48: Line 46:
<div style="float:right; position:relative; z-index:2; font-size:77%;">{{#if: {{{removed|}}} | Removed: R{{{removed}}} | Lastseen: R{{{lastseen|??}}}}}</div>
<div style="float:right; position:relative; z-index:2; font-size:77%;">{{#if: {{{removed|}}} | Removed: R{{{removed}}} | Lastseen: R{{{lastseen|??}}}}}</div>
{| {{#switch: {{{skill}}}
{| {{#switch: {{{skill}}}
  | Alchemy =class="sotawikitable alchemy" style="border:0 none; width:660px; height:380px; margin:0 auto;"
  | Armorsmith =class="eawikitable armorsmith" style="border:0 none; width:660px; height:380px; margin:0 auto;"
  | Blacksmithing =class="sotawikitable blacksmithing" style="border:0 none; width:660px; height:360px; margin:0 auto;"
  | Outfitter =class="eawikitable outfitter" style="border:0 none; width:660px; height:360px; margin:0 auto;"
  | Butchery =class="sotawikitable butchery" style="border:0 none; width:680px; height:440px; margin:0 auto;"
  | Provisioner =class="eawikitable provisioner" style="border:0 none; width:680px; height:440px; margin:0 auto;"
  | Carpentry =class="sotawikitable carpentry" style="border:0 none; width:560px; height:320px; margin:0 auto;"
  | Tinkerer =class="eawikitable tinkerer" style="border:0 none; width:560px; height:320px; margin:0 auto;"
  | Cooking =class="sotawikitable cooking" style="border:0 none; width:680px; height:464px; margin:0 auto;"
  | Weaponsmith =class="eawikitable weaponsmith" style="border:0 none; width:680px; height:464px; margin:0 auto;"
  | Milling =class="sotawikitable milling" style="border:0 none; width:620px; height:340px; margin:0 auto;"
  | Woodworker =class="eawikitable woodworker" style="border:0 none; width:620px; height:340px; margin:0 auto;"
| Smelting =class="sotawikitable smelting" style="border:0 none; width:670px; height:450px; margin:0 auto;"
| Tailoring =class="sotawikitable tailoring" style="border:0 none; width:600px; height:340px; margin:0 auto;"
| Tanning =class="sotawikitable tanning" style="border:0 none; width:680px; height:410px; margin:0 auto;"
| Textiles =class="sotawikitable textiles" style="border:0 none; width:670px; height:380px; margin:0 auto;"
| Agriculture =class="sotawikitable agriculture" style="border:0 none; width:670px; height:380px; margin:0 auto;"
| Printing =class="sotawikitable printing" style="border:0 none; width:670px; height:380px; margin:0 auto;"
| #default =class="sotawikitable alchemy" style="border:0 none; width:660px; height:380px; margin:0 auto;"
}}
}}
{{#switch: {{{skill}}}
{{#switch: {{{skill}}}
  | Alchemy = {{!}} valign="top" style="padding:200px 250px 0 120px; border:0 none;" {{!}}
  | Armorsmith = {{!}} valign="top" style="padding:200px 250px 0 120px; border:0 none;" {{!}}
  | Blacksmithing ={{!}} valign="top" style="padding: 40px 210px 30px 280px; border:0 none;" {{!}}
  | Outfitter ={{!}} valign="top" style="padding: 40px 210px 30px 280px; border:0 none;" {{!}}
  | Butchery ={{!}} valign="top" style="padding:175px 120px 0 365px; border:0 none;" {{!}}
  | Provisioner ={{!}} valign="top" style="padding:175px 120px 0 365px; border:0 none;" {{!}}
  | Carpentry ={{!}} valign="top" style="padding:50px 150px 0 150px; border:0 none;" {{!}}
  | Tinkerer ={{!}} valign="top" style="padding:50px 150px 0 150px; border:0 none;" {{!}}
  | Cooking ={{!}} valign="top" style="padding:240px 220px 0 90px; border:0 none;" {{!}}
  | Weaponsmith ={{!}} valign="top" style="padding:240px 220px 0 90px; border:0 none;" {{!}}
  | Milling ={{!}} valign="top" style="padding:180px 80px 0 70px; border:0 none;" {{!}}
  | Woodworker ={{!}} valign="top" style="padding:180px 80px 0 70px; border:0 none;" {{!}}
| Smelting ={{!}} valign="top" style="padding:120px 40px 0 380px; border:0 none; margin-top:-20px;" {{!}}
| Tailoring ={{!}} valign="top" style="padding:35px 100px 0 220px; border:0 none;" {{!}}
| Tanning ={{!}} valign="top" style="padding:180px 140px 0 260px; border:0 none;" {{!}}
| Textiles ={{!}} valign="top" style="padding:160px 190px 0 80px; border:0 none;" {{!}}
| Agriculture ={{!}} valign="top" style="padding:160px 190px 0 80px; border:0 none;" {{!}}
| Printing ={{!}} valign="top" style="padding:160px 190px 0 80px; border:0 none;" {{!}}
| #default ={{!}} valign="top" style="padding:200px 250px 0 120px; border:0 none;" {{!}}
}}<!--
}}<!--


|}
|}
|}</includeonly><noinclude>{{documentation|Crafting Box}}[[Category:Infobox templates]]</noinclude>
|}</includeonly><noinclude>{{documentation}}[[Category:Template]]</noinclude>

Latest revision as of 14:51, 17 October 2022

Lua error: Internal error: The interpreter exited with status 127.