Template:Infobox tree/doc: Difference between revisions

From Ring of Brodgar
Jump to navigation Jump to search
mNo edit summary
m (+Tree Record options)
Line 2: Line 2:
<pre>
<pre>
Infobox stuff:
Infobox stuff:
- name: alternative infobox-title (defaults to page-name)
- name......: alternative infobox-title (defaults to page-name)
- image: alternative infobox-image (defaults to (hafen-)page-name.png)
- image.....: alternative infobox-image (defaults to (hafen-)page-name.png)
- imagewidth: adjust image display size. (defaults to image-size, capped at 320)
- imagewidth: adjust image display size. (defaults to image-size, capped at 320)
- caption: infobox-image caption text.
- caption...: infobox-image caption text.


Game-object stuff:
:Game-object stuff:
- objectsreq: needed stuff.
- objectsreq: needed stuff.
- location: biome's
- location: biome's
- bark: number of xxx (resource, int)
- bark......: number of xxx (resource, int), resource name/pagelink.
- branch: number of xxx (resource, int)
- branch....: number of xxx (resource, int)
- log: number of xxx (resource, int)
- log.......: number of xxx (resource, int)
- block: number of xxx (resource, int), data pair: stone-axe/metal-axe.
- block.....: number of xxx (resource, int), data pair: stone-axe/metal-axe. (split/rec)
- board: number of xxx (resource, int), data pair: bone-saw/metal-saw.
-- note: although closely tree-type related, its more a log-resource than a direct tree resource.
- seed(fruit): mixed input, number of xxx (resource, int), resource name/pagelink.
- board.....: number of xxx (resource, int), data pair: bone-saw/metal-saw. (split/rec)
- bough: mixed input, number of xxx (resource, int), resource name/pagelink.
-- note: although closely tree-type related, its more a log-resource than a direct tree resource.
- other: ... (other resources)
- seed/fruit: mixed input, number of xxx (resource, int), resource name/pagelink.
-- issue: seed and fruit are not always the same thing. (split/full)
- bough.....: mixed input, number of xxx (resource, int), resource name/pagelink. (split/rec)
- other.: ... (other resources)


Data called:
Data called:
Line 29: Line 32:
Stored Object data: (none: used on page only)
Stored Object data: (none: used on page only)
- objectsreq: none
- objectsreq: none
- location: none
- location..: none
- bark: none
- bark......: none
- branch: none
- branch....: none
- log: none
- log.......: none
- block: none
- block.....: none
- board: none
- board.....: none
- seed: none
- seed......: none
- bough: none
- bough.....: none
- other: none
- other.....: none


Usage:
Usage:
- objectsreq: (44/250), prop:requires(single)
- objectsreq: (44/250), prop:requires(single)
- location: (46/95), PageLink(list), ePageLink
- location: (46/95), PageLink(list), ePageLink
- bark:   46, int, PageLink xN, N/A
- bark..: 46, int, PageLink xN, N/A
- branch: 46, int, N/A
- branch: 46, int, N/A
- log:   46. int
- log...: 46. int
- block: 46, int/int, (n/n)  
- block.: 46, int/int, (n/n)  
- board: 46, int/int, (n/n)
- board.: 46, int/int, (n/n)
- seed:   46, int, PageLink
- seed..: 46, int, PageLink
- bough: 46, int, PageLink, N/A, None  
- bough.: 46, int, PageLink, N/A, None  
- other: 46, int, PageLink, N/A, None
- other.: 46, int, PageLink, N/A, None


Related properties:
Related properties:
- Bark: Not used. Probable target: Barks per tree-type, Type: Number.
- Bark: Not used. Probable target: Barks per tree-type, Type: Number.
-- ... Not sure yet about using SMW Record-type, general-usage & -usability... might also be bugged.
-- ... Not sure yet about using SMW Record-type, general-usage & -usability.
-- Other potential similar resource number-data targets: Branches, Bough, Logs, Blocks [Stone/Metal], Boards [Bone/Metal].
-- Other potential similar resource number-data targets: Branches, Bough, Logs, Blocks [Stone/Metal], Boards [Bone/Metal].
--- Note: Has name component: Branches, Bough (, Seed, other).
--- Note: Has name component: Bark, Bough (, Seed, other).
- Grown from: Old/Experimental, only used at Chestnut Tree‎ page.
- Grown from: Old/Experimental, only used at Chestnut Tree‎ page.
- Requires: General(all required stuff), not useful for pulling/#asking specific type data.
- Requires: General(all required stuff), not useful for pulling/#asking specific type data.
- (Terrain): Not used by trees, but it could.
- (Terrain): Not used by trees, but it could.
Tree Record options: (explore first, limit/optimize later)
- Minimal approach: only store data needed to render some general subject table.
-- Check some other wiki's on how they do stuff.
- Excluded: objectsreq, separately processed/stored.
- Maybe: block, board. (...)
- Maybe: locations. (...)
- Resource names: Separate? ie: tree-resource-count field names record (per tree).
-- Would remove the need to include them in the tree-resource-count record.
-- Not sure about 'other' field in that case.
--- Would potentially double up on needed property definitions.
---- Needs good property naming to bypass potential name collisions.
Rec_name:
- Tree name (tree page name)
Fields:
- Branch(count): Number(Int)
- Bark(count)..: Number(Int)
-- Bark(name)..: Text (or page)
- Bough(count).: Number(Int)
-- Bough(name).: Text (or page)
- Log(count)...: Number(Int)
- Fruit(count).: Number(Int)
-- Fruit(name).: Text (or page)
- Seed(count)..: none or default/fixed to 1
-- Seed(name)..: Text (or page)
...
- Block_1/S(count): Number(Int)
- Block_2/M(count): Number(Int)
- Board_1/B(count): Number(Int)
- Board_2/M(count): Number(Int)
...
- other: 46, int, PageLink, N/A, None
...
Implied States(number elements):
- Known: Zero or Positive.
-- Positive: Available.
-- Zero: None or N/A.
- Negative(-1): Unknown.
</pre>
</pre>


;Collected: --[[User_talk:MvGulik|<i><font color="#666" size="2px">.MvGulik.</font></i>]] 23:02, 2 September 2018 (EDT)
;Collected: --[[User_talk:MvGulik|<i><font color="#666" size="2px">.MvGulik.</font></i>]] 23:02, 2 September 2018 (EDT)

Revision as of 06:30, 9 September 2018

Data dump
Infobox stuff:
- name......: alternative infobox-title (defaults to page-name)
- image.....: alternative infobox-image (defaults to (hafen-)page-name.png)
- imagewidth: adjust image display size. (defaults to image-size, capped at 320)
- caption...: infobox-image caption text.

:Game-object stuff:
- objectsreq: needed stuff.
- location: biome's
- bark......: number of xxx (resource, int), resource name/pagelink.
- branch....: number of xxx (resource, int)
- log.......: number of xxx (resource, int)
- block.....: number of xxx (resource, int), data pair: stone-axe/metal-axe. (split/rec)
-- note: although closely tree-type related, its more a log-resource than a direct tree resource.
- board.....: number of xxx (resource, int), data pair: bone-saw/metal-saw. (split/rec)
-- note: although closely tree-type related, its more a log-resource than a direct tree resource.
- seed/fruit: mixed input, number of xxx (resource, int), resource name/pagelink.
-- issue: seed and fruit are not always the same thing. (split/full)
- bough.....: mixed input, number of xxx (resource, int), resource name/pagelink. (split/rec)
- other.: ... (other resources)

Data called:
- specific: (used in conjunction with requires)
- requires: ...

Auto settings:
- Category: Trees
- Property: object_type=tree (old experimental stuff)

Stored Object data: (none: used on page only)
- objectsreq: none
- location..: none
- bark......: none
- branch....: none
- log.......: none
- block.....: none
- board.....: none
- seed......: none
- bough.....: none
- other.....: none

Usage:
- objectsreq: (44/250), prop:requires(single)
- location: (46/95), PageLink(list), ePageLink
- bark..: 46, int, PageLink xN, N/A
- branch: 46, int, N/A
- log...: 46. int
- block.: 46, int/int, (n/n) 
- board.: 46, int/int, (n/n)
- seed..: 46, int, PageLink
- bough.: 46, int, PageLink, N/A, None 
- other.: 46, int, PageLink, N/A, None

Related properties:
- Bark: Not used. Probable target: Barks per tree-type, Type: Number.
-- ... Not sure yet about using SMW Record-type, general-usage & -usability.
-- Other potential similar resource number-data targets: Branches, Bough, Logs, Blocks [Stone/Metal], Boards [Bone/Metal].
--- Note: Has name component: Bark, Bough (, Seed, other).
- Grown from: Old/Experimental, only used at Chestnut Tree‎ page.
- Requires: General(all required stuff), not useful for pulling/#asking specific type data.
- (Terrain): Not used by trees, but it could.

Tree Record options: (explore first, limit/optimize later)
- Minimal approach: only store data needed to render some general subject table.
-- Check some other wiki's on how they do stuff.
- Excluded: objectsreq, separately processed/stored.
- Maybe: block, board. (...)
- Maybe: locations. (...)
- Resource names: Separate? ie: tree-resource-count field names record (per tree).
-- Would remove the need to include them in the tree-resource-count record.
-- Not sure about 'other' field in that case.
--- Would potentially double up on needed property definitions.
---- Needs good property naming to bypass potential name collisions.
Rec_name:
- Tree name (tree page name)
Fields:
- Branch(count): Number(Int)
- Bark(count)..: Number(Int)
-- Bark(name)..: Text (or page)
- Bough(count).: Number(Int)
-- Bough(name).: Text (or page)
- Log(count)...: Number(Int)
- Fruit(count).: Number(Int)
-- Fruit(name).: Text (or page)
- Seed(count)..: none or default/fixed to 1
-- Seed(name)..: Text (or page)
...
- Block_1/S(count): Number(Int)
- Block_2/M(count): Number(Int)
- Board_1/B(count): Number(Int)
- Board_2/M(count): Number(Int)
...
- other: 46, int, PageLink, N/A, None
...
Implied States(number elements):
- Known: Zero or Positive.
-- Positive: Available.
-- Zero: None or N/A.
- Negative(-1): Unknown.


Collected
--.MvGulik. 23:02, 2 September 2018 (EDT)