Template:Misc item page: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
(effect should be a WikiText field)
mNo edit summary
(8 intermediate revisions by 3 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 = {{{seo description|{{MiscItemPage/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>


<ul class="bg3wiki-property-list">
<div class="bg3wiki-property-list">
<li> {{#switch: {{{type|}}}
* {{#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}}}]]
}} </li> {{#if: {{{camp supplies|}}} |
}} {{#if: {{{camp supplies|}}} |
<li> {{Camp Supplies}}: {{{camp supplies}}} </li> {{main namespace only|{{#cargo_store:
* {{Camp Supplies}}: {{{camp supplies}}}
_table=camp_supplies
}} {{#if: {{{single use|}}} |
|supplies={{{camp supplies|0}}}
* {{SmallIcon|Consumables Icon.png}} Single Use
|price={{{price|1}}}
}} {{#if: 1 |
|is_drink={{#switch:{{{type|}}}|Drinks=yes|#default=no}}
* {{Rarity | {{{rarity|common}}} | {{{rarity honour|}}} }}
}} }} }} {{#if: {{{single use|}}} |
}} {{#if: {{{weight kg|}}} |
<li> {{SmallIcon|Consumables Icon.png}} Single Use </li>
* {{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}}}}} }}
}}
}}
<li> {{Rarity | {{{rarity|common}}} | {{{rarity honour|}}} }} </li>
</div>
<li> {{Weight | kg = {{{weight kg}}} | lb = {{{weight lb}}} }} </li>
 
<li> {{Price | {{{price}}} | {{{price honour|}}} }} </li>
{{#if:{{{uid|}}}{{{uuid|}}}|<li>{{SmallIcon|Ico stats.png}}{{#if:{{{uid|}}}|{{Uid|{{{uid}}}}} }} {{#if:{{{uuid|}}}|{{Uuid|{{{uuid}}}}} }}</li>}}
</ul>
{{#if: {{{effect|}}} |
{{#if: {{{effect|}}} |
<h3> Effect </h3>
<h3> Effect </h3>
{{#switch: {{{usage cost|}}}
{{#switch: {{{usage cost|}}}
Line 99: Line 99:


   }}
   }}
}} {{#if: {{{area|}}} |
<h2> Area: {{{area}}} </h2>
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common">
{{Area full|{{{area}}}|duration={{{area duration|}}}|shape={{{area shape|}}}|range m={{{area range m|}}}|range ft={{{area range ft|}}}}}
</div>
}} {{#if: {{{where to find|}}} |
}} {{#if: {{{where to find|}}} |


Line 124: Line 131:
<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 142: Line 157:
|uid = {{{uid|}}}
|uid = {{{uid|}}}
|camp_supplies = {{{camp supplies|0}}}
|camp_supplies = {{{camp supplies|0}}}
|action_type = {{{usage cost|}}}
}} }}</includeonly><noinclude>{{documentation}}{{#cargo_declare:
}} }}</includeonly><noinclude>{{documentation}}{{#cargo_declare:
_table=camp_supplies
|is_drink = Boolean
|supplies = Integer
|price = Integer
}}{{#cargo_declare:
_table=misc_items
_table=misc_items
|name = String (mandatory)
|name = String (mandatory)

Navigation menu