User talk:Syntaxaire: Difference between revisions

Line 38: Line 38:
* inventory is a bulleted list of all inventoryobjectblueprints for a character that must call [[Template:Inventory]] for each item for cargo to be able to handle holding a list of items that contain more than just their name. its usage is  
* inventory is a bulleted list of all inventoryobjectblueprints for a character that must call [[Template:Inventory]] for each item for cargo to be able to handle holding a list of items that contain more than just their name. its usage is  
<syntaxhighlight lang="sql">
<syntaxhighlight lang="sql">
| inventory = {{Inventory|item=(item)|quantity=(quantity, defaults to 1)|owner=(character name, defaults to pagename)}}
| inventory = {{Inventory|(item)|(quantity, defaults to 1)|(character name, defaults to pagename)}}
{{Inventory|item=(item2)|quantity=(quantity2, defaults to 1)|owner=(pagename)}}
{{Inventory|(item2)|(quantity2, defaults to 1)|(optional pagename)}}
{{Inventory|item=(item3)|quantity=(quantity3, defaults to 1)|owner=(pagename)}} etc...}}
{{Inventory|(item3)|(quantity3, defaults to 1)|(optional pagename)}} etc...}}
</syntaxhighlight>
</syntaxhighlight>
[[User:Teamtoto|Teamtoto]] ([[User talk:Teamtoto|talk]]) 14:58, 9 July 2019 (UTC)
[[User:Teamtoto|Teamtoto]] ([[User talk:Teamtoto|talk]]) 14:58, 9 July 2019 (UTC)
** edited the inventory template so it takes unnamed arguments. It's much easier to read and type now [[User:Teamtoto|Teamtoto]] ([[User talk:Teamtoto|talk]]) 16:10, 11 July 2019 (UTC)


* new: not sure if it's the way to do it, but there are new values for each attribute: egodice, egotierdice for example. attributedice is NdM, and tierdice is (t-1)dM. the base attribute value is the same and takes the base integer value. Right now, these will not show up on the infobox because i'm mulling over how to present this information in a digestible format. [[User:Teamtoto|Teamtoto]] ([[User talk:Teamtoto|talk]]) 23:10, 10 July 2019 (UTC)
* new: not sure if it's the way to do it, but there are new values for each attribute: egodice, egotierdice for example. attributedice is NdM, and tierdice is (t-1)dM. the base attribute value is the same and takes the base integer value. Right now, these will not show up on the infobox because i'm mulling over how to present this information in a digestible format. [[User:Teamtoto|Teamtoto]] ([[User talk:Teamtoto|talk]]) 23:10, 10 July 2019 (UTC)