Template:Misc item page: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
(De-emphasize notes by removing tooltip box)
mNo edit summary
(27 intermediate revisions by 7 users not shown)
Line 1: Line 1:
<includeonly>{{PageSeo
<includeonly>{{PageSeo
| image = {{{image|}}}
| 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 9: Line 9:
| {{#replace: {{lc: {{{rarity}}} }} | <nowiki> </nowiki> | }}
| {{#replace: {{lc: {{{rarity}}} }} | <nowiki> </nowiki> | }}
| common
| common
}}"> {{#if: {{{image|}}} | [[File:{{{image}}}|link=|300px|right|alt={{PAGENAME}} image]] | {{#if:{{{icon|}}}|[[File:{{{icon}}}|64px|right|alt={{PAGENAME}} icon]]}} {{Main only|[[Category:Misc pages without images]]}}}}{{Main only|{{#if:{{{icon|}}} ||[[Category:Item pages without icons]]}} }}
}}"> {{#if: {{{image|}}} | [[File:{{{image}}}|frameless|right|alt={{PAGENAME}} image]] | {{#if:{{{controller icon|}}} | [[File:{{{controller icon}}}|frameless|right|alt={{PAGENAME}} controller icon]] | {{#if:{{{icon|}}} | [[File:{{{icon}}}|frameless|right|alt={{PAGENAME}} icon]] | }} }} }}{{#if: {{{image|}}} || {{Main only|[[Category:Misc pages without images]]}} }}{{#if: {{{controller icon|}}} || {{Main only|[[Category:Item pages without controller icons]]}} }}{{#if: {{{icon|}}} || {{Main only|[[Category:Item pages without icons]]}} }}
{{{description}}}{{#if: {{{quote|}}} | {{blank}}
{{{description}}}{{#if: {{{quote|}}} | {{blank}}
{{Description|{{{quote|Missing quote ... imagine some nice flavour text here.}}}}}
{{Description|{{{quote|Missing quote ... imagine some nice flavour text here.}}}}}
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}}
| Notes = {{SmallIcon|Notes Icon.png}} [[Notes]]
| Coatings = {{Coatings}}
| Coatings = {{Coatings}}
| Food = {{Food}}
| Food = {{Food}}
Line 26: Line 27:
| Elixirs = {{Elixirs}}
| Elixirs = {{Elixirs}}
| Grenades = {{Grenades}}
| Grenades = {{Grenades}}
| Potions = {{SmallIcon|Potions Icon.png}} [[Alchemy|Potions]]
| Potions = {{SmallIcon|Potions Icon.png}} [[Potions]]
| Scrolls = {{Scrolls}}
| Scrolls = {{Scrolls}}
| Consumables = {{Consumables}}
| Consumables = {{Consumables}}
| Dyes = {{SmallIcon|Dye.png}} [[Dyes]]
| Dyes = {{SmallIcon|Dye.png}} [[Dyes]]
| Misc = Miscellaneous Items
| Misc = {{SmallIcon|Miscellaneous Icon.png}} [[Miscellaneous|Miscellaneous Items]]
| Containers = {{SmallIcon|Containers Icon.png}} [[Containers]]
| Instruments = {{SmallIcon|Instruments Icon.png}} [[Instruments]]
| Alchemy Ingredients = {{Alchemical Ingredients}}
| Alchemy Ingredients = {{Alchemical Ingredients}}
| Alchemical Ingredients = {{Alchemical Ingredients}}
| Alchemical Ingredients = {{Alchemical Ingredients}}
Line 36: 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}}} }} </li>
</div>
<li> {{Weight | kg = {{{weight kg}}} | lb = {{{weight lb}}} }} </li>
 
<li> {{Price | {{{price}}} }} </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 61: Line 64:


}}
}}
{{#if: {{{special|}}} | {{blank}}


{{clear}}
=== Special ===


</div>
The wearer of this item gains:
{{{special}}}
{{#if: {{{stealth disadvantage|}}} | * {{Disadvantage}} on [[Stealth]] checks. }}
}}
{{clear}}</div>
{{#if: {{{condition|}}} |
{{#if: {{{condition|}}} |


Line 91: 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 114: Line 129:


<h2> Notes </h2>
<h2> Notes </h2>
<div class="bg3wiki-tooltip-box">
{{{notes}}}
</div>
}} {{#if: {{{bugs|}}} |
<h2> Bugs </h2>


{{{notes}}}
<div class="bg3wiki-tooltip-box">
{{{bugs}}}
{{Main namespace only|[[Category:Bugs]]}}
</div>
}}
}}
{{Main only|{{#switch:{{{type}}}
{{Main only|{{#switch:{{{type}}}
Line 125: Line 149:
}}{{ItemIcon Insert|
}}{{ItemIcon Insert|
|icon={{{icon|}}}
|icon={{{icon|}}}
|image={{{image|}}}
|image={{{controller icon|}}}
|uid={{{uid|}}}
|rarity={{#if:{{{rarity|}}}|{{{rarity}}}|common}}
|rarity={{#if:{{{rarity|}}}|{{{rarity}}}|common}}
}}</includeonly><noinclude>{{documentation}}{{#cargo_declare:
}}{{main namespace only|{{#cargo_store:
_table=camp_supplies
_table=misc_items
|is_drink = Boolean
|name = {{{name | {{#titleparts: {{PAGENAME}} }} }}}
|supplies = Integer
|uid = {{{uid|}}}
|price = Integer
|camp_supplies = {{{camp supplies|0}}}
|action_type = {{{usage cost|}}}
}} }}</includeonly><noinclude>{{documentation}}{{#cargo_declare:
_table=misc_items
|name = String (mandatory)
|uid = String
|type = String(allowed values = Arrows, Books, Coatings, Elixirs, Food, Drinks, Grenades, Potions, Scrolls, Consumables, Instruments, Containers, Misc, Notes, Alchemical Ingredients, Alchemical Extracts, Dyes)
|image = File
|controller_icon = File
|icon = File
|description = WikiText
|quote = String
|camp_supplies = Integer
|rarity = String(allowed values = common, uncommon, rare, very rare, legendary, story)
|action_type = String
|effect = WikiText
|condition_duration = String
|condition_save = String
}}</noinclude>
}}</noinclude>

Navigation menu