Template:Infobox tree/doc: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
; | {{infobox tree | ||
| objectsreq = Red Apple Core | |||
| terrain = [[Beech Grove]], [[Blue Sod]], [[Deep Tangle]] | |||
| branch = 12 | |||
| bark = 12 | |||
| tfruit = Red Apple | |||
| tfruitqt = 12 | |||
| tother = Worm-Eaten Apple | |||
| totherqt = 12 | |||
| log = 12 | |||
| block1 = 12 | |||
| block2 = 12 | |||
| board1 = 12 | |||
| board2 = 12 | |||
}} | |||
;Description | |||
:This template is used to create a tree infobox on tree pages. | |||
;Basic syntax | |||
:Type <code>{{t|infobox tree|...}}</code> at the top of the page. Available parameters shown below. | |||
;Parameters<!--todo:pre vs nowiki - styling vs maintainability issue--> | |||
<pre> | <pre> | ||
{{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) | ||
| objectsreq = Red Apple Core (Stem to grown tree from)(Single item only) | |||
Tree products(1) | |||
- | | branch = 12 | ||
| bark = 12 | |||
| 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]], ... | |||
}} | |||
</pre> | </pre> | ||
;Properties | |||
* objectsreq -> [[property:requires|requires]] (page) | |||
* branch -> [[property:branchpertree|branchpertree]] (nr) | |||
* bark -> [[property:barkpertree|barkpertree]] (nr) | |||
* tfruit -> [[property:tfruit|tfruit]] (page) | |||
* tfruitqt -> [[property:tfruitqt|tfruitqt]] (nr) | |||
* tother -> [[property:tother|tother]] (page) | |||
* totherqt -> [[property:totherqt|totherqt]] (nr) | |||
* log -> [[property:logpertree|logpertree]] (nr) | |||
* block1 -> [[property:blockperlog|blockperlog]] (nr) | |||
* block2 -> [[property:blockperlog_m|blockperlog_m]] (nr) | |||
* board1 -> [[property:boardperlog|boardperlog]] (nr) | |||
* board2 -> [[property:boardperlog_m|boardperlog_m]] (nr) | |||
* terrain -> [[property:terrain|terrain]] (page) | |||
* (auto) -> [[property:object_type|object_type]] as "tree" (text) | |||
;Categories | |||
* (auto) -> [[:Category:Trees|Trees]] | |||
<includeonly>[[Category:Infobox templates|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude> |
Revision as of 14:06, 29 March 2020
Infobox tree/doc | |
---|---|
Grown From | Red Apple Core |
Found On | Beech Grove, Blue Sod, Deep Tangle |
Bark | 12 |
Bark Type | Treebark |
Branches | 12 |
Branch Type | 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) | objectsreq = Red Apple Core (Stem to grown tree from)(Single item only) Tree products(1) | branch = 12 | bark = 12 | 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
- objectsreq -> requires (page)
- branch -> branchpertree (nr)
- bark -> barkpertree (nr)
- 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