More actions
m tweak templatedata |
No edit summary |
||
(175 intermediate revisions by 17 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>[[File:{{{image}}}|frameless|right]] | <includeonly>{{PageSeo | ||
{{# | | image = {{#if:{{{controller icon|}}}|{{{controller icon}}}|{{#if:{{{image|}}}|{{{image}}}|{{{icon|}}}}}}} | ||
| description = {{#if: {{{description|}}} | {{{description}}} | {{Misc item page/description | |||
| type = {{{type}}} | |||
| rarity = {{{rarity|}}} | |||
}}}} | |||
}} __NOTOC__ | |||
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-{{#if: {{{rarity|}}} | |||
| {{#replace: {{lc: {{{rarity}}} }} | <nowiki> </nowiki> | }} | |||
| common | |||
}}"> {{#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|{{{quote|Missing quote ... imagine some nice flavour text here.}}}}} | |||
}} | }} | ||
<h2> Properties </h2> | |||
<div class="bg3wiki-property-list"> | |||
* {{#switch: {{{type|}}} | * {{#switch: {{{type|}}} | ||
| | | Arrows = {{SmallIcon|Ammunition Icon.png}} [[Arrows]] | ||
| Books = {{Books}} | | Books = {{Books}} | ||
| Notes = {{SmallIcon|Notes Icon.png}} [[Notes]] | |||
| Coatings = {{Coatings}} | |||
| Food = {{Food}} | | Food = {{Food}} | ||
| Drinks = {{Drinks}} | | Drinks = {{Drinks}} | ||
| Potions = {{Potions}} | | Elixirs = {{Elixirs}} | ||
| Keys = {{Keys}} | |||
| Grenades = {{Grenades}} | |||
| Potions = {{SmallIcon|Potions Icon.png}} [[Potions]] | |||
| Scrolls = {{Scrolls}} | | Scrolls = {{Scrolls}} | ||
| Consumables = {{Consumables}} | | Consumables = {{Consumables}} | ||
| Misc = Miscellaneous Items | | Dyes = {{SmallIcon|Dye.png}} [[Dyes]] | ||
| #default = [[{{{type}}}]] }} {{#if: {{{camp supplies|}}}| | | Misc = {{SmallIcon|Miscellaneous Icon.png}} [[Miscellaneous|Miscellaneous Items]] | ||
| Containers = {{SmallIcon|Containers Icon.png}} [[Containers]] | |||
| Instruments = {{SmallIcon|Instruments Icon.png}} [[Instruments]] | |||
| Alchemy Ingredients = {{Alchemical Ingredients}} | |||
| Alchemical Ingredients = {{Alchemical Ingredients}} | |||
| Alchemy Extracts = {{Alchemical Extracts}} | |||
| Alchemical Extracts = {{Alchemical Extracts}} | |||
| #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|}}} | | |||
* {{Camp Supplies}}: {{{camp supplies}}} | * {{Camp Supplies}}: {{{camp supplies}}} | ||
}} {{#if: {{{single use|}}} | | |||
* {{SmallIcon|Consumables Icon.png}} Single Use | |||
}} {{#if: 1 | | |||
* {{Rarity | {{{rarity|common}}} | {{{rarity honour|}}} }} | |||
}} {{#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}}}}} }} | |||
}} {{#if: {{{uid2|}}} {{{uuid2|}}} | | |||
* {{SmallIcon|Ico stats.png}} {{#if: {{{uid2|}}} | {{Uid|{{{uid2}}}}} }} {{#if: {{{uuid2|}}} | {{Uuid|{{{uuid2}}}}} }} | |||
}} {{#if: {{{uid3|}}} {{{uuid3|}}} | | |||
* {{SmallIcon|Ico stats.png}} {{#if: {{{uid3|}}} | {{Uid|{{{uid3}}}}} }} {{#if: {{{uuid3|}}} | {{Uuid|{{{uuid3}}}}} }} | |||
}} {{#if: {{{uid4|}}} {{{uuid4|}}} | | |||
* {{SmallIcon|Ico stats.png}} {{#if: {{{uid4|}}} | {{Uid|{{{uid4}}}}} }} {{#if: {{{uuid4|}}} | {{Uuid|{{{uuid4}}}}} }} | |||
}} {{#if: {{{uid5|}}} {{{uuid5|}}} | | |||
* {{SmallIcon|Ico stats.png}} {{#if: {{{uid5|}}} | {{Uid|{{{uid5}}}}} }} {{#if: {{{uuid5|}}} | {{Uuid|{{{uuid5}}}}} }} | |||
}} | |||
</div> | |||
{{#if: {{{effect|}}} | | |||
<h3> Effect </h3> | |||
{{#if: {{{usage cost|}}} | {{InfoBlob | {{r|{{{usage cost|}}}}} }} }} | |||
{{{effect}}} | |||
}} | }} | ||
{{#if: {{{special|}}} | {{blank}} | |||
=== Special === | === Special === | ||
The wearer of this item gains: | |||
{{{special}}} | {{{special}}} | ||
{{#if: {{{stealth disadvantage|}}} | * {{Disadvantage}} on [[Stealth]] checks. }} | |||
}} | }} | ||
{{clear}}</div> | |||
{{#if: {{{condition|}}} | | |||
<h2> Condition: {{{condition}}} </h2> | |||
{{ | <div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common"> | ||
| | {{Condition | {{{condition}}} | ||
| | | save = {{{condition save|}}} | ||
}}</ | | dc = {{{condition dc|}}} | ||
| duration = {{{condition duration|}}} | |||
| radius m = {{{condition radius m|}}} | |||
}} | |||
{{main namespace only|{{Inflicts|{{{condition}}}|item|type=item|save={{{condition save|}}}|dc={{{condition dc|}}}|duration={{{condition duration|}}}}}}} | |||
</div> | |||
}} {{#if: {{{condition2|}}} | | |||
<h2> Condition: {{{condition2}}} </h2> | |||
--> | <div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common"> | ||
{{Condition | {{{condition2}}} | |||
| save = {{{condition2 save|}}} | |||
| dc = {{{condition2 dc|}}} | |||
| duration = {{{condition2 duration|}}} | |||
| radius m = {{{condition2 radius m|}}} | |||
}} | |||
{{main namespace only|{{Inflicts|{{{condition2}}}|item|type=item|save={{{condition2 save|}}}|dc={{{condition2 dc|}}}|duration={{{condition2 duration|}}}}}}} | |||
</div> | |||
}} {{#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|}}} | | |||
<h2> Where to find </h2> | |||
<div class="bg3wiki-tooltip-box"> | |||
{{{where to find}}} | |||
</div> | |||
}} {{#if: {{{usage|}}} | | |||
<h2> Usage </h2> | |||
<div class="bg3wiki-tooltip-box"> | |||
{{{usage}}} | |||
</div> | |||
}} {{#if: {{{book text|}}} | | |||
<h2> Text </h2> | |||
{{#if: {{{book spoiler|}}} | |||
| <div class="mw-collapsible mw-collapsed" data-expandtext="Show Spoilers" data-collapsetext="Hide Spoilers" style="background: linear-gradient(to right, #443E20, #232323, #232323, #232323); align-items:center; border-radius:10px; padding: 5px;"> | |||
[[File:Books_Icon.png|32px|link=]] ''' {{color|#ebb73f|Spoiler warning!}} This text might contain spoilers about the story of ''Baldur's Gate 3''.''' | |||
<div class="mw-collapsible-content noexcerpt" style="background:#232323; border-radius:10px; padding: 15px;">{{BookText | {{{book text}}} }} </div></div> | |||
| {{BookText | {{{book text}}} }} | |||
| | |||
| | |||
| | |||
| | |||
| | |||
}} | }} | ||
<!-- | |||
}} {{#if: {{{book author|}}} | | |||
<h2> Author </h2> | |||
<div class="bg3wiki-tooltip-box"> | |||
{{CharLink|{{{book author}}}}} | |||
</div> | |||
--> | |||
}} {{#if: {{{notes|}}} | | |||
<h2> Notes </h2> | |||
<div class="bg3wiki-tooltip-box"> | |||
{{{notes}}} | |||
</div> | |||
}} {{#if: {{{bugs|}}} | | |||
[[Category: | <h2> Bugs </h2> | ||
{ | |||
<div class="bg3wiki-tooltip-box"> | |||
{{{bugs}}} | |||
{{Main namespace only|[[Category:Bugs]]}} | |||
</div> | |||
}} {{Main namespace only|{{#switch:{{{type}}} | |||
| Misc = [[Category:Misc items]] | |||
| Alchemy Extracts|Alchemical Extracts = [[Category:Alchemical extracts]] | |||
| Alchemy Ingredients|Alchemical Ingredients = [[Category:Alchemical ingredients]] | |||
| #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|}}} | |||
|image={{{controller icon|}}} | |||
|uid={{{uid|}}} | |||
|uid={{{uid2|}}} | |||
|uid={{{uid3|}}} | |||
|uid={{{uid4|}}} | |||
|uid={{{uid5|}}} | |||
|rarity={{#if:{{{rarity|}}}|{{{rarity}}}|common}} | |||
}}{{#cargo_store: | |||
_table=misc_items | |||
|name = {{{name | {{#titleparts: {{PAGENAME}} }} }}} | |||
|uid = {{{uid|}}} | |||
|uid = {{{uid2|}}} | |||
|uid = {{{uid3|}}} | |||
|uid = {{{uid4|}}} | |||
|uid = {{{uid5|}}} | |||
|camp_supplies = {{{camp supplies|0}}} | |||
|action_type = {{{usage cost|}}} | |||
|price = {{{price|0}}} | |||
|weight_kg = {{{weight kg|}}} | |||
|rarity = {{#if:{{{rarity|}}}|{{{rarity}}}|common}} | |||
|book_author = {{{book author|}}} | |||
}} | |||
}}</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 = Wikitext | |||
|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 | |||
|price = String | |||
|weight_kg = String | |||
|book_author = String | |||
}} | |||
[[Category:Templates]] | |||
[[Category:Item page templates]] | |||
[[Category:Page generating templates]] | |||
[[Category:Cargo templates]] | |||
</noinclude> | |||