Template:Crafting book entry: Difference between revisions
Jump to navigation
Jump to search
RANGERMAHTRA (talk | contribs) (Create template for crafting-book recipe entries (book > chapter > page subpages)) |
RANGERMAHTRA (talk | contribs) (Fix the Lowest book row (a stripped newline glued |- onto the previous cell); drop the page number (kept only on the chapter page list, since page numbers shift); sort by chapter, then name; note that the quoted page is a dated snapshot) |
||
| Line 6: | Line 6: | ||
! Chapter |
! Chapter |
||
| [[recipe entry chapter is::{{{chapter}}}| ]]{{{chapter}}} |
| [[recipe entry chapter is::{{{chapter}}}| ]]{{{chapter}}} |
||
{{#if:{{{tier|}}}|{{!}}- |
|||
|- |
|||
! Page |
|||
| [[recipe entry page is::{{{page}}}| ]]{{{page}}}{{#if:{{{tier|}}}| |
|||
{{!}}- |
|||
! Lowest book |
! Lowest book |
||
{{!}} [[recipe entry tier is::{{{tier}}}| ]]{{{tier}}}}} |
{{!}} [[recipe entry tier is::{{{tier}}}| ]]{{{tier}}}}} |
||
{{!}}- |
{{#if:{{{recipe|}}}|{{!}}- |
||
! Product |
! Product |
||
{{!}} {{#if:{{{product|}}}|[[recipe entry product is::{{{product}}}|{{PAGENAME:{{{product}}}}}]]|?}} |
{{!}} {{#if:{{{product|}}}|[[recipe entry product is::{{{product}}}|{{PAGENAME:{{{product}}}}}]]|?}} |
||
| Line 25: | Line 22: | ||
{{!}} {{#if:{{{itype|}}}|{{{itype}}}|?}}}} |
{{!}} {{#if:{{{itype|}}}|{{{itype}}}|?}}}} |
||
|} |
|} |
||
''The book page below is quoted as read in game on {{{captured|11 November 2026}}}. Page numbers shift when recipes are added or the books are re-sorted; the [[{{{book}}}/Chapter {{{chapter}}}|chapter page]] has the current list.'' |
|||
[[Category:{{PAGENAME:{{{book}}}}}|{{ |
[[Category:{{PAGENAME:{{{book}}}}}|{{padleft:{{{chapter}}}|3|0}} {{{recipe|{{{title|}}}}}}]]</includeonly><noinclude>One page of a crafting book, as a subpage of the book's chapter page (e.g. ''Item:Book of master remedies instructions/Chapter 2/Blister cream''). Recipe pages give recipe/product/difficulty/technique/itype; reference pages (herb lists, techniques) give title instead. Below the template: Tools, Ingredients, and the page's READ text in a <nowiki><pre></nowiki> block. |
||
{| class="wikitable" |
{| class="wikitable" |
||
| Line 33: | Line 31: | ||
|- |
|- |
||
| chapter || Chapter number |
| chapter || Chapter number |
||
|- |
|||
| page || Page number in the chapter |
|||
|- |
|- |
||
| recipe || Recipe pages: the recipe as the book prints it, e.g. ''some blister cream'' |
| recipe || Recipe pages: the recipe as the book prints it, e.g. ''some blister cream'' |
||
| Line 50: | Line 46: | ||
| tier || The lowest book holding this page: Apprentice, Journeyman or Master |
| tier || The lowest book holding this page: Apprentice, Journeyman or Master |
||
|} |
|} |
||
Files the page in a category named after the book, sorted by chapter |
Files the page in a category named after the book, sorted by chapter, then name. Page numbers are kept only on the chapter page's list, so a re-sort or a new recipe is fixed there. |
||
Optional ''captured'': the date the page numbers were read (default 11 November 2026). |
|||
{{Cat|Templates}}</noinclude> |
{{Cat|Templates}}</noinclude> |
||
Latest revision as of 16:27, 12 November 2026
One page of a crafting book, as a subpage of the book's chapter page (e.g. Item:Book of master remedies instructions/Chapter 2/Blister cream). Recipe pages give recipe/product/difficulty/technique/itype; reference pages (herb lists, techniques) give title instead. Below the template: Tools, Ingredients, and the page's READ text in a <pre> block.
| Parameter | Value |
|---|---|
| book | Full title of the book page, e.g. Item:Book of master remedies instructions |
| chapter | Chapter number |
| recipe | Recipe pages: the recipe as the book prints it, e.g. some blister cream |
| title | Reference pages: the page title from the chapter listing, e.g. internal scar healing herbs |
| product | Full title of the product page, e.g. Item:Blister cream (crafted) |
| difficulty | As the book prints it, e.g. extremely easy |
| technique | As the book prints it, e.g. Wound Remedy Basics |
| itype | The ingredient type the book lists, e.g. basic wound remedy |
| tier | The lowest book holding this page: Apprentice, Journeyman or Master |
Files the page in a category named after the book, sorted by chapter, then name. Page numbers are kept only on the chapter page's list, so a re-sort or a new recipe is fixed there.
Optional captured: the date the page numbers were read (default 11 November 2026).