26,141
editsno edit summary
HiddenDragon (talk | contribs) (Added support for specifying an area) |
No edit summary |
||
(26 intermediate revisions by 4 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|{{Misc item page/description | | description = {{#if: {{{description|}}} | {{{description}}} | {{Misc item page/description | ||
| type = {{{type}}} | | type = {{{type}}} | ||
| rarity = {{{rarity|}}} | | rarity = {{{rarity|}}} | ||
}}}} | |||
}} __NOTOC__ | }} __NOTOC__ | ||
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-{{#if: {{{rarity|}}} | <div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-{{#if: {{{rarity|}}} | ||
Line 26: | Line 26: | ||
| Drinks = {{Drinks}} | | Drinks = {{Drinks}} | ||
| Elixirs = {{Elixirs}} | | Elixirs = {{Elixirs}} | ||
| Keys = {{Keys}} | |||
| Grenades = {{Grenades}} | | Grenades = {{Grenades}} | ||
| Potions = {{SmallIcon|Potions Icon.png}} [[Potions]] | | Potions = {{SmallIcon|Potions Icon.png}} [[Potions]] | ||
Line 39: | Line 40: | ||
| Alchemical Extracts = {{Alchemical Extracts}} | | Alchemical Extracts = {{Alchemical Extracts}} | ||
| #default = [[{{{type}}}]] | | #default = [[{{{type}}}]] | ||
<!--}} {{#if: {{{book author|}}} | | |||
* {{SmallIcon|Books Icon.png}} Author: {{{book author}}}--> | |||
}} {{#if: {{{book author|}}} | | |||
* {{#ifexist: {{{book author}}} | {{SmallIcon|Journal Icon.webp}} Author: {{CharLink|{{{book author}}}}} | {{SmallIcon|Journal Icon.webp}} Author: {{{book author}}} }} | |||
}} {{#if: {{{camp supplies|}}} | | }} {{#if: {{{camp supplies|}}} | | ||
* {{Camp Supplies}}: {{{camp supplies}}} | * {{Camp Supplies}}: {{{camp supplies}}} | ||
Line 51: | Line 56: | ||
}} {{#if: {{{uid|}}} {{{uuid|}}} | | }} {{#if: {{{uid|}}} {{{uuid|}}} | | ||
* {{SmallIcon|Ico stats.png}} {{#if: {{{uid|}}} | {{Uid|{{{uid}}}}} }} {{#if: {{{uuid|}}} | {{Uuid|{{{uuid}}}}} }} | * {{SmallIcon|Ico stats.png}} {{#if: {{{uid|}}} | {{Uid|{{{uid}}}}} }} {{#if: {{{uuid|}}} | {{Uuid|{{{uuid}}}}} }} | ||
}} | }} | ||
</div> | </div> | ||
Line 82: | Line 87: | ||
| dc = {{{condition dc|}}} | | dc = {{{condition dc|}}} | ||
| duration = {{{condition duration|}}} | | duration = {{{condition duration|}}} | ||
| radius m = {{{condition radius m|}}} | |||
}} | }} | ||
{{main namespace only|{{Inflicts|{{{condition}}}|item}}}} | {{main namespace only|{{Inflicts|{{{condition}}}|item|type=item|save={{{condition save|}}}|dc={{{condition dc|}}}|duration={{{condition duration|}}}}}}} | ||
</div> | </div> | ||
{{#if: {{{condition2|}}} | | }} {{#if: {{{condition2|}}} | | ||
<h2> Condition: {{{condition2}}} </h2> | <h2> Condition: {{{condition2}}} </h2> | ||
Line 94: | Line 100: | ||
| dc = {{{condition2 dc|}}} | | dc = {{{condition2 dc|}}} | ||
| duration = {{{condition2 duration|}}} | | duration = {{{condition2 duration|}}} | ||
| radius m = {{{condition2 radius m|}}} | |||
}} | }} | ||
{{main namespace only|{{Inflicts|{{{condition2}}}|item}}}} | {{main namespace only|{{Inflicts|{{{condition2}}}|item|type=item|save={{{condition2 save|}}}|dc={{{condition2 dc|}}}|duration={{{condition2 duration|}}}}}}} | ||
</div> | </div> | ||
}} {{#if: {{{area|}}} | | }} {{#if: {{{area|}}} | | ||
Line 104: | Line 109: | ||
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common"> | <div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common"> | ||
{{Area|{{{area}}}|duration={{{area duration|}}}|shape={{{area shape|}}}|range m={{{area range m|}}}|range ft={{{area range ft|}}}}} | {{Area full|{{{area}}}|duration={{{area duration|}}}|shape={{{area shape|}}}|range m={{{area range m|}}}|range ft={{{area range ft|}}}}} | ||
</div> | </div> | ||
}} {{#if: {{{where to find|}}} | | }} {{#if: {{{where to find|}}} | | ||
Line 112: | Line 117: | ||
<div class="bg3wiki-tooltip-box"> | <div class="bg3wiki-tooltip-box"> | ||
{{{where to find}}} | {{{where to find}}} | ||
</div> | |||
}} {{#if: {{{usage|}}} | | |||
<h2> Usage </h2> | |||
<div class="bg3wiki-tooltip-box"> | |||
{{{usage}}} | |||
</div> | </div> | ||
Line 126: | Line 139: | ||
}} | }} | ||
<!-- | |||
}} {{#if: {{{book author|}}} | | |||
<h2> Author </h2> | |||
<div class="bg3wiki-tooltip-box"> | |||
{{CharLink|{{{book author}}}}} | |||
</div> | |||
--> | |||
}} {{#if: {{{notes|}}} | | }} {{#if: {{{notes|}}} | | ||
Line 140: | Line 161: | ||
{{Main namespace only|[[Category:Bugs]]}} | {{Main namespace only|[[Category:Bugs]]}} | ||
</div> | </div> | ||
}} | }} {{Main namespace only|{{#switch:{{{type}}} | ||
{{Main only|{{#switch:{{{type}}} | |||
| Misc = [[Category:Misc items]] | | Misc = [[Category:Misc items]] | ||
| Alchemy Extracts|Alchemical Extracts = [[Category:Alchemical extracts]] | | Alchemy Extracts|Alchemical Extracts = [[Category:Alchemical extracts]] | ||
| Alchemy Ingredients|Alchemical Ingredients = [[Category:Alchemical ingredients]] | | Alchemy Ingredients|Alchemical Ingredients = [[Category:Alchemical ingredients]] | ||
| #default = [[Category:{{{type}}}]] | | #default = [[Category:{{{type}}}]] | ||
}}{{# | }}{{#switch: {{lc:{{{rarity|}}}}} | ||
| common = [[Category:Common items]] | |||
| uncommon = [[Category:Uncommon items]] | |||
| rare = [[Category:Rare items]] | |||
| very rare = [[Category:Very rare items]] | |||
| legendary = [[Category:Legendary items]] | |||
| story = [[Category:Story items]] | |||
| #default = [[Category:Common items]]}} | |||
{{ItemIcon Insert| | |||
|icon={{{icon|}}} | |icon={{{icon|}}} | ||
|image={{{controller icon|}}} | |image={{{controller icon|}}} | ||
|uid={{{uid|}}} | |uid={{{uid|}}} | ||
|rarity={{#if:{{{rarity|}}}|{{{rarity}}}|common}} | |rarity={{#if:{{{rarity|}}}|{{{rarity}}}|common}} | ||
}} | }}{{#cargo_store: | ||
_table=misc_items | _table=misc_items | ||
|name = {{{name | {{#titleparts: {{PAGENAME}} }} }}} | |name = {{{name | {{#titleparts: {{PAGENAME}} }} }}} | ||
Line 158: | Line 185: | ||
|camp_supplies = {{{camp supplies|0}}} | |camp_supplies = {{{camp supplies|0}}} | ||
|action_type = {{{usage cost|}}} | |action_type = {{{usage cost|}}} | ||
}} }}</includeonly><noinclude>{{documentation}}{{#cargo_declare: | |price = {{{price|0}}} | ||
|weight_kg = {{{weight kg|}}} | |||
|rarity = {{#if:{{{rarity|}}}|{{{rarity}}}|common}} | |||
|book_author = {{{book author|}}} | |||
}} | |||
}}</includeonly><noinclude>{{documentation}}{{#cargo_declare: | |||
_table=misc_items | _table=misc_items | ||
|name = String (mandatory) | |name = String (mandatory) | ||
Line 166: | Line 198: | ||
|controller_icon = File | |controller_icon = File | ||
|icon = File | |icon = File | ||
|description = | |description = Wikitext | ||
|quote = | |quote = Wikitext | ||
|camp_supplies = Integer | |camp_supplies = Integer | ||
|rarity = String(allowed values = common, uncommon, rare, very rare, legendary, story) | |rarity = String(allowed values = common, uncommon, rare, very rare, legendary, story) | ||
Line 174: | Line 206: | ||
|condition_duration = String | |condition_duration = String | ||
|condition_save = String | |condition_save = String | ||
|price = String | |||
|weight_kg = String | |||
|book_author = String | |||
}}</noinclude> | }}</noinclude> |