More actions
Insert uid into item icon table |
No edit summary |
||
(49 intermediate revisions by 8 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{PageSeo | <includeonly>{{PageSeo | ||
| image = {{{image|}}} | | image = {{#if:{{{controller icon|}}}|{{{controller icon}}}|{{#if:{{{image|}}}|{{{image}}}|{{{icon|}}}}}}} | ||
| 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|}}} | ||
| {{#replace: {{lc: {{{rarity}}} }} | <nowiki> </nowiki> | }} | | {{#replace: {{lc: {{{rarity}}} }} | <nowiki> </nowiki> | }} | ||
| common | | common | ||
}}"> {{#if: {{{image|}}} | [[File:{{{image}}}| | }}"> {{#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> | ||
< | <div class="bg3wiki-property-list"> | ||
* {{#switch: {{{type|}}} | |||
| Arrows = {{SmallIcon|Ammunition Icon.png}} [[Arrows]] | | Arrows = {{SmallIcon|Ammunition Icon.png}} [[Arrows]] | ||
| Books = {{Books}} | | Books = {{Books}} | ||
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 33: | Line 34: | ||
| Misc = {{SmallIcon|Miscellaneous Icon.png}} [[Miscellaneous|Miscellaneous Items]] | | Misc = {{SmallIcon|Miscellaneous Icon.png}} [[Miscellaneous|Miscellaneous Items]] | ||
| Containers = {{SmallIcon|Containers Icon.png}} [[Containers]] | | 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 38: | 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|}}} | | ||
* {{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:{{{uid|}}}{{{uuid|}}}| | }} {{#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|}}} | | {{#if: {{{effect|}}} | | ||
<h3> Effect </h3> | <h3> Effect </h3> | ||
{{# | {{#if: {{{usage cost|}}} | {{InfoBlob | {{r|{{{usage cost|}}}}} }} }} | ||
| | |||
| | |||
}} | |||
{{{effect}}} | {{{effect}}} | ||
Line 65: | Line 75: | ||
{{#if: {{{special|}}} | {{blank}} | {{#if: {{{special|}}} | {{blank}} | ||
=== Special === | |||
The wearer of this item gains: | The wearer of this item gains: | ||
Line 81: | Line 91: | ||
| 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 93: | Line 104: | ||
| 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|}}} | | |||
<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 104: | Line 121: | ||
<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 118: | Line 143: | ||
}} | }} | ||
<!-- | |||
}} {{#if: {{{book author|}}} | | |||
<h2> Author </h2> | |||
<div class="bg3wiki-tooltip-box"> | |||
{{CharLink|{{{book author}}}}} | |||
</div> | |||
--> | |||
}} {{#if: {{{notes|}}} | | }} {{#if: {{{notes|}}} | | ||
<h2> Notes </h2> | <h2> Notes </h2> | ||
<div class="bg3wiki-tooltip-box"> | |||
{{{notes}}} | |||
</div> | |||
}} {{#if: {{{bugs|}}} | | |||
{{{ | <h2> Bugs </h2> | ||
}} | |||
{{Main only|{{#switch:{{{type}}} | <div class="bg3wiki-tooltip-box"> | ||
{{{bugs}}} | |||
{{Main namespace only|[[Category:Bugs]]}} | |||
</div> | |||
}} {{Main namespace 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={{{ | |image={{{controller icon|}}} | ||
|uid={{{uid|}}} | |uid={{{uid|}}} | ||
|uid={{{uid2|}}} | |||
|uid={{{uid3|}}} | |||
|uid={{{uid4|}}} | |||
|uid={{{uid5|}}} | |||
|rarity={{#if:{{{rarity|}}}|{{{rarity}}}|common}} | |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: | }}</includeonly><noinclude>{{documentation}}{{#cargo_declare: | ||
_table=camp_supplies | _table=misc_items | ||
| | |name = String (mandatory) | ||
| | |uid = String | ||
|price = | |type = String(allowed values = Arrows, Books, Coatings, Elixirs, Food, Drinks, Grenades, Potions, Scrolls, Consumables, Instruments, Containers, Misc, Notes, Alchemical Ingredients, Alchemical Extracts, Dyes) | ||
}}</noinclude> | |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> |