348
editsbugs
HiddenDragon (talk | contribs) (New misc_items table with a ton of support for more fields) |
Cattlesquat (talk | contribs) (bugs) |
||
(8 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{PageSeo | <includeonly>{{PageSeo | ||
| image = {{#if:{{{controller icon|}}}|{{{controller icon}}}|{{#if:{{{image|}}}|{{{image}}}|{{{icon|}}}}}}} | | image = {{#if:{{{controller icon|}}}|{{{controller icon}}}|{{#if:{{{image|}}}|{{{image}}}|{{{icon|}}}}}}} | ||
| description = {{{ | | description = {{{description|{{Misc item page/description | ||
| type = {{{type}}} | | type = {{{type}}} | ||
| rarity = {{{rarity|}}} | | rarity = {{{rarity|}}} | ||
Line 17: | Line 17: | ||
<h2> Properties </h2> | <h2> Properties </h2> | ||
< | <div class="bg3wiki-property-list"> | ||
* {{#switch: {{{type|}}} | |||
| Arrows = {{SmallIcon|Ammunition Icon.png}} [[Arrows]] | | Arrows = {{SmallIcon|Ammunition Icon.png}} [[Arrows]] | ||
| Books = {{Books}} | | Books = {{Books}} | ||
Line 39: | Line 39: | ||
| Alchemical Extracts = {{Alchemical Extracts}} | | Alchemical Extracts = {{Alchemical Extracts}} | ||
| #default = [[{{{type}}}]] | | #default = [[{{{type}}}]] | ||
}} | }} {{#if: {{{camp supplies|}}} | | ||
* {{Camp Supplies}}: {{{camp supplies}}} | |||
}} {{#if: {{{single use|}}} | | |||
| | * {{SmallIcon|Consumables Icon.png}} Single Use | ||
| | }} {{#if: 1 | | ||
* {{Rarity | {{{rarity|common}}} | {{{rarity honour|}}} }} | |||
}} }} }} {{#if: {{{ | }} {{#if: {{{weight kg|}}} | | ||
* {{Weight | kg = {{{weight kg}}} | lb = {{{weight lb}}} }} | |||
}} {{#if: {{{price|}}} | | |||
* {{Price | {{{price}}} | {{{price honour|}}} }} | |||
}} {{#if: {{{uid|}}} {{{uuid|}}} | | |||
* {{SmallIcon|Ico stats.png}} {{#if: {{{uid|}}} | {{Uid|{{{uid}}}}} }} {{#if: {{{uuid|}}} | {{Uuid|{{{uuid}}}}} }} | |||
}} | }} | ||
</div> | |||
{{#if: {{{effect|}}} | | {{#if: {{{effect|}}} | | ||
<h3> Effect </h3> | <h3> Effect </h3> | ||
{{#switch: {{{usage cost|}}} | {{#switch: {{{usage cost|}}} | ||
Line 124: | Line 124: | ||
<div class="bg3wiki-tooltip-box"> | <div class="bg3wiki-tooltip-box"> | ||
{{{notes}}} | {{{notes}}} | ||
</div> | |||
}} {{#if: {{{bugs|}}} | | |||
<h2> Bugs </h2> | |||
<div class="bg3wiki-tooltip-box"> | |||
{{{bugs}}} | |||
{{Main namespace only|[[Category:Bugs]]}} | |||
</div> | </div> | ||
}} | }} | ||
Line 137: | Line 145: | ||
|uid={{{uid|}}} | |uid={{{uid|}}} | ||
|rarity={{#if:{{{rarity|}}}|{{{rarity}}}|common}} | |rarity={{#if:{{{rarity|}}}|{{{rarity}}}|common}} | ||
}} | }}{{main namespace only|{{#cargo_store: | ||
_table= | _table=misc_items | ||
| | |name = {{{name | {{#titleparts: {{PAGENAME}} }} }}} | ||
|supplies | |uid = {{{uid|}}} | ||
| | |camp_supplies = {{{camp supplies|0}}} | ||
}}{{#cargo_declare: | |action_type = {{{usage cost|}}} | ||
}} }}</includeonly><noinclude>{{documentation}}{{#cargo_declare: | |||
_table=misc_items | _table=misc_items | ||
|name = String (mandatory) | |name = String (mandatory) | ||
Line 155: | Line 164: | ||
|rarity = String(allowed values = common, uncommon, rare, very rare, legendary, story) | |rarity = String(allowed values = common, uncommon, rare, very rare, legendary, story) | ||
|action_type = String | |action_type = String | ||
|effect = | |effect = WikiText | ||
|condition_duration = String | |condition_duration = String | ||
|condition_save = String | |condition_save = String | ||
}}</noinclude> | }}</noinclude> |