64,987
editsMore actions
m
Make sure book author is stored
(add uuid to example preview) |
HiddenDragon (talk | contribs) m (Make sure book author is stored) |
||
(63 intermediate revisions by 9 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 = {{{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}}}| | }}"> {{#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}} | ||
| 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}} [[ | | 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}}}]] | ||
}} | <!--}} {{#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|}}} | | }} {{#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|}}}| | }} {{#if: {{{price|}}} | | ||
{{#if:{{{uuid|}}}| | * {{Price | {{{price}}} | {{{price honour|}}} }} | ||
</ | }} {{#if: {{{uid|}}} {{{uuid|}}} | | ||
* {{SmallIcon|Ico stats.png}} {{#if: {{{uid|}}} | {{Uid|{{{uid}}}}} }} {{#if: {{{uuid|}}} | {{Uuid|{{{uuid}}}}} }} | |||
}} | |||
</div> | |||
{{#if: {{{effect|}}} | | {{#if: {{{effect|}}} | | ||
<h3> Effect </h3> | <h3> Effect </h3> | ||
{{#switch: {{{usage cost|}}} | {{#switch: {{{usage cost|}}} | ||
Line 58: | Line 68: | ||
}} | }} | ||
{{#if: {{{special|}}} | {{blank}} | |||
=== Special === | |||
</div> {{#if: {{{where to find|}}} | | The wearer of this item gains: | ||
{{{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> | <h2> Where to find </h2> | ||
Line 81: | Line 130: | ||
}} | }} | ||
<!-- | |||
}} {{#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"> | <div class="bg3wiki-tooltip-box"> | ||
{{{notes}}} | {{{notes}}} | ||
</div> | </div> | ||
}} {{#if: {{{bugs|}}} | | |||
}} | <h2> Bugs </h2> | ||
{{Main only|{{#switch:{{{type}}} | |||
| Misc = [[Category:Misc | <div class="bg3wiki-tooltip-box"> | ||
| Alchemy Extracts = [[Category:Alchemical | {{{bugs}}} | ||
| Alchemy Ingredients = [[Category:Alchemical | {{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}}}]] | | #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|}}} | |||
|rarity={{#if:{{{rarity|}}}|{{{rarity}}}|common}} | |rarity={{#if:{{{rarity|}}}|{{{rarity}}}|common}} | ||
}} | }}{{#cargo_store: | ||
_table=misc_items | |||
|name = {{{name | {{#titleparts: {{PAGENAME}} }} }}} | |||
|uid = {{{uid|}}} | |||
|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 | |||
}}</noinclude> | |||
| description = | |||
| quote = | |||
| | |||
| rarity = | |||
| | |||
| effect = | |||
| | |||
| | |||
| price = | |||
| | |||
| | |||
}} | |||