8,756
edits
Syntaxaire (talk | contribs) (note to self) |
(new section: template character edits) |
||
Line 23: | Line 23: | ||
will edit this section if I add more. [[User:Teamtoto|Teamtoto]] ([[User talk:Teamtoto|talk]]) 17:55, 7 July 2019 (UTC) | will edit this section if I add more. [[User:Teamtoto|Teamtoto]] ([[User talk:Teamtoto|talk]]) 17:55, 7 July 2019 (UTC) | ||
== new values for template character== | |||
still a massive work in progress, but here are some changes: | |||
* gender (just plaintext as specified in the xml) is an optional parameter. pronouns can also be specified but optional. | |||
* 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"> | |||
| inventory = {{Inventory|item=(item)|quantity=(quantity, defaults to 1)|owner=(character name, defaults to pagename)}} | |||
{{Inventory|item=(item2)|quantity=(quantity2, defaults to 1)|owner=(pagename2)}} | |||
{{Inventory|item=(item3)|quantity=(quantity3, defaults to 1)|owner=(pagename3)}} etc...}} | |||
</syntaxhighlight> | |||
[[User:Teamtoto|Teamtoto]] ([[User talk:Teamtoto|talk]]) 14:58, 9 July 2019 (UTC) | |||
== Notes to self == | == Notes to self == | ||
* real line breaks in long descriptions | * real line breaks in long descriptions | ||
[[User:Syntaxaire|Syntaxaire]] ([[User talk:Syntaxaire|talk]]) 17:35, 8 July 2019 (UTC) | [[User:Syntaxaire|Syntaxaire]] ([[User talk:Syntaxaire|talk]]) 17:35, 8 July 2019 (UTC) |