Template:Infobox tree/doc: Difference between revisions
Jump to navigation
Jump to search
(+branchtype & barktype parm.) |
(ptext1 update.) |
||
Line 1: | Line 1: | ||
{{infobox tree | {{infobox tree | ||
| ptext1 = {{{ptext1}}} | |||
| objectsreq = Red Apple Core | | objectsreq = Red Apple Core | ||
| terrain = [[Beech Grove]], [[Blue Sod]], [[Deep Tangle]] | | terrain = [[Beech Grove]], [[Blue Sod]], [[Deep Tangle]] | ||
Line 16: | Line 17: | ||
| board2 = 12 | | board2 = 12 | ||
}} | }} | ||
;Description | ;Description | ||
:This template is used to create a tree infobox on tree pages. | :This template is used to create a tree infobox on tree pages. | ||
Line 33: | Line 35: | ||
| imagewidth = 123 (To resize image if needed. Capped to a maximum of 350) | | imagewidth = 123 (To resize image if needed. Capped to a maximum of 350) | ||
| caption = text (Concise infobox-image caption text if needed) | | caption = text (Concise infobox-image caption text if needed) | ||
| ptext1 = In-game/paginae text (type1). -- If any. | |||
General requires back-linking | General requires back-linking | ||
Line 63: | Line 67: | ||
;Properties | ;Properties | ||
* ptext1 -> [[property:Paginae/text1|Paginae/text1]] (page) | |||
* objectsreq -> [[property:requires|requires]] (page) | * objectsreq -> [[property:requires|requires]] (page) | ||
* branch -> [[property:branchpertree|branchpertree]] (nr) | * branch -> [[property:branchpertree|branchpertree]] (nr) |
Revision as of 18:30, 17 May 2023
Infobox tree/doc | |
---|---|
"{{{ptext1}}}" | |
Grown From | Red Apple Core |
Found On | Beech Grove, Blue Sod, Deep Tangle |
Bark | 12 |
Bark Type | Tough Bark |
Branches | 12 |
Branch Type | Olive Branch |
Fruit | Red Apple |
Fruit Qty | 12 |
Other | Worm-Eaten Apple |
Other Qty | 12 |
Logs | |
Blocks (Stone) | 12 |
Blocks (Metal) | 12 |
Boards (Bone) | 12 |
Boards (Metal) | 12 |
Boards (Sawmill) | ? |
Go to Trees page. |
- Description
- This template is used to create a tree infobox on tree pages.
- Basic syntax
- Type
{{infobox tree|...}}
at the top of the page. Available parameters shown below.
- Parameters
{{infobox tree General infobox parameters. Should only be used when needed or appropriate. | name = Infobox Title (defaults to related page-name) | image = File:Example.ext (defaults to "...") | imagewidth = 123 (To resize image if needed. Capped to a maximum of 350) | caption = text (Concise infobox-image caption text if needed) | ptext1 = In-game/paginae text (type1). -- If any. General requires back-linking | objectsreq = Red Apple Core (Item to grown tree from)(Single item only) Tree products(1) | branch = 12 | branchtype = Olive Branch (Optional: Defaults to "Branch") | bark = 12 | barktype = Tough Bark (Optional: Defaults to "TreeBark") | tfruit = Red Apple | tfruitqt = 12 | tother = Worm-Eaten Apple | totherqt = 12 Tree products(2) | log = 12 Log products | block1 = 12 | block2 = 12 | board1 = 12 | board2 = 12 Tree terrain | terrain = [[Beech Grove]], [[Blue Sod]], [[Deep Tangle]], ... }}
- Properties
- ptext1 -> Paginae/text1 (page)
- objectsreq -> requires (page)
- branch -> branchpertree (nr)
- branchtype -> trees_branchtype (page)
- bark -> barkpertree (nr)
- barktype -> trees_barktype (page)
- tfruit -> tfruit (page)
- tfruitqt -> tfruitqt (nr)
- tother -> tother (page)
- totherqt -> totherqt (nr)
- log -> logpertree (nr)
- block1 -> blockperlog (nr)
- block2 -> blockperlog_m (nr)
- board1 -> boardperlog (nr)
- board2 -> boardperlog_m (nr)
- terrain -> terrain (page)
- (auto) -> object_type as "tree" (text)
- Categories
- (auto) -> Trees