Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Equipment page: Difference between revisions

Template page
Remove uses of Template:H3 (automated edits)
No edit summary
 
(39 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{{#switch: {{{this is an example|}}}
<includeonly>{{#lvardef: filename | {{#replace:{{#replace:{{#replace:{{#replace:{{#titleparts: {{PAGENAME}} }}|:|}}|/|<nowiki/> <nowiki/>}}|(|<nowiki/> <nowiki/>}}|)|<nowiki/> <nowiki/>}}}}{{#lvardef: icon | {{#if: {{{icon|}}} | {{{icon}}} | {{#lvar: filename}} Unfaded Icon.png }} }}{{#lvardef: controllericon | {{#if: {{{controller icon|}}} | {{{controller icon}}} | {{#lvar: filename}} Unfaded.png }} }}{{#switch: {{{this is an example|}}}
| yes =
| yes =
| #default = {{PageSeo
| #default = {{PageSeo
   | image = {{#if:{{{controller icon|}}}|{{{controller icon}}}|{{#if:{{{image|}}}|{{{image}}}|{{{icon|}}}}}}}
   | image = {{#lvar: controllericon}}
  | description = {{{seo description|{{EquipmentPage/Description
  | description = {{#if: {{{description|}}} | {{{description}}} | {{EquipmentPage/Description
     | type = {{{type}}}
     | type = {{{type}}}
     | rarity = {{{rarity|}}}
     | rarity = {{{rarity|}}}
     }}}}}
     }} }}
   }}
   }}
}} __NOTOC__
}} __NOTOC__
Line 14: Line 14:
}}">
}}">


{{#if: {{{image|}}} | [[File:{{{image}}}|frameless|right||alt={{PAGENAME}} image]] | {{Main only|[[Category:Equipment pages without images]]}}}}{{#if:{{{icon|}}} ||{{Main only|[[Category:Item pages without icons]]}} }}{{#if:{{{controller icon|}}} ||{{Main only|[[Category:Item pages without controller 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}}} <!-- No support for auto-generated equipment descriptions for now. -->
{{{description}}} <!-- No support for auto-generated equipment descriptions for now. -->
Line 29: Line 29:
     | [[Armour Class]] + [[Dexterity#Dexterity Modifier Chart|Dexterity modifier]] ''(max +2)''}}
     | [[Armour Class]] + [[Dexterity#Dexterity Modifier Chart|Dexterity modifier]] ''(max +2)''}}
| Heavy Armour =  [[Armour Class]]
| Heavy Armour =  [[Armour Class]]
| #default = [[Armour Class]]}}}}}} {{#if: {{{armour class bonus|}}} |
| #default = [[Armour Class]]}}}}
{{Armour class value|{{{armour class bonus}}}|[[Armour Class]]}}}}
}} {{#if: {{{armour class bonus|}}} |
<ul class="bg3wiki-property-list" style="margin-left: 7px">  
{{Armour class value|{{{armour class bonus}}}|[[Armour Class]]}}
{{#if: {{{type|}}} | <li> {{WeaponType | {{{type}}} }} </li>}}
}}
{{#if: {{{proficiency|}}} | <li> {{Icon|Proficiency Icon.png|32}} Required Proficiency: {{WeaponType|{{{proficiency}}}}} </li>}}
<div class="bg3wiki-property-list" style="margin-left: 7px">  
<li> {{Rarity | {{{rarity|common}}} | {{{rarity honour|}}} }} </li>
{{#if: {{{type|}}} |
{{#if: {{{enchantment|}}} | <li> {{Enchantment | {{{enchantment|}}} }} </li>}}
* {{WeaponType | {{{type}}} }}
<li> {{Weight | kg = {{{weight kg}}} | lb = {{{weight lb}}} }} </li>
}} {{#if: {{{proficiency|}}} |
<li> {{Price | {{{price}}} | {{{price honour|}}} }} </li>
* {{Icon|Proficiency Icon.png|32}} Required Proficiency: {{WeaponType|{{{proficiency}}}}}
{{#if:{{{uid|}}}{{{uuid|}}}{{{filename|}}}|<li>{{SmallIcon|Ico stats.png}}{{#if:{{{uid|}}}|{{Uid|{{{uid}}}}} }} {{#if:{{{uuid|}}}|{{Uuid|{{{uuid}}}}} }} {{#if: {{{filename|}}}|{{filename|{{{filename}}}}} }}</li>}}
}} {{#if: 1 |
</ul>
* {{Rarity | {{{rarity|common}}} | {{{rarity honour|}}} }}
{{#if: {{{passives|}}}{{{special|}}}{{{stealth disadvantage|}}} | {{blank}}
}} {{#if: {{{enchantment|}}} |
* {{Enchantment | {{{enchantment|}}} }}
}} {{#if: {{{weight kg|}}} |
* {{Weight | kg = {{{weight kg}}} | lb = {{{weight lb}}} }}
}} {{#if: {{{price|}}} |
* {{Price | {{{price}}} | {{{price honour|}}} }}
}} {{#if: {{{uid|}}} {{{uuid|}}} {{{filename|}}} |
* {{SmallIcon|Ico stats.png}} {{#if: {{{uid|}}} | {{Uid|{{{uid}}}}} }} {{#if: {{{uuid|}}} | {{Uuid|{{{uuid}}}}} }} {{#if: {{{filename|}}}|{{filename|{{{filename}}}}} }}
}}
</div> {{#if: {{{passives|}}}{{{special|}}}{{{stealth disadvantage|}}} | {{blank}}
=== Special ===
=== Special ===


The wearer of this item gains:
The wearer of this item gains:
{{#if: {{{passives|}}} | {{#invoke: ParseList | main | {{{passives}}} | useTemplate = Passive | type = htmlList }} |}}
{{#if: {{{special|}}} | {{blank}}
{{{special|}}}
 
{{#if: {{{stealth disadvantage|}}} | * {{Disadvantage}} on [[Stealth]] checks. }}
{{{special}}}
}}{{clear}}</div> {{#if: {{{condition|}}} |
 
}}{{#if: {{{passives|}}} | {{blank}}
{{#invoke: ParseList | main | {{{passives}}} | useTemplate = Passive | type = none }}
 
}}{{#if: {{{stealth disadvantage|}}} | {{blank}}
 
* {{Disadvantage}} on [[Stealth]] checks. }}
 
}}
{{clear}}</div> {{#if: {{{grants|}}} |


<h3> Condition: {{{condition}}} </h3>
<h2> Grants: </h2>
 
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common">
{{#invoke: ParseList | main | {{{grants}}} | type = htmlListNoBullets | useTemplate = SAI/fixed }}
</div>
 
}} {{#if: {{{condition|}}} | {{blank}}
 
<h2> Condition: {{{condition}}} </h2>


<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common">
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common">
Line 57: Line 83:
| dc = {{{condition dc|}}}
| dc = {{{condition dc|}}}
}}
}}
{{main namespace only|{{Inflicts|{{{condition}}}|item}}}}
{{main namespace only|{{Inflicts|{{{condition}}}|item|type=equipment|save={{{condition save|}}}|dc={{{condition dc|}}}|duration={{{condition duration|}}}}}}}
</div>
</div>
{{#if: {{{condition2|}}} |
}} {{#if: {{{condition2|}}} | {{blank}}


<h3> Condition: {{{condition2}}} </h3>
<h2> Condition: {{{condition2}}} </h2>


<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common">
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common">
Line 69: Line 95:
| dc = {{{condition2 dc|}}}
| dc = {{{condition2 dc|}}}
}}
}}
{{main namespace only|{{Inflicts|{{{condition2}}}|item}}}}
{{main namespace only|{{Inflicts|{{{condition2}}}|item|type=equipment|save={{{condition2 save|}}}|dc={{{condition2 dc|}}}|duration={{{condition2 duration|}}}}}}}
</div>
</div>
 
}} {{#if: {{{where to find|}}}{{{where to find2|}}}{{{where to find3|}}}{{{where to find4|}}}{{{where to find5|}}} | {{blank}}
  }}
}} {{#if: {{{where to find|}}} | {{blank}}


<h2> Where to find </h2>
<h2> Where to find </h2>


<div class="bg3wiki-tooltip-box">
<div class="bg3wiki-tooltip-box">
{{{where to find}}}
{{#if: {{{where to find|}}}|
</div>
{{Where to find|{{{where to find}}}|{{{where to find location|}}}|{{{where to find x|}}}|{{{where to find y|}}}}}
}} {{#if: {{{notes|}}} | {{blank}}
}}{{#if: {{{where to find2|}}}|
{{Where to find|{{{where to find2}}}|{{{where to find2 location|}}}|{{{where to find2 x|}}}|{{{where to find2 y|}}}}}
}}{{#if: {{{where to find3|}}}|
{{Where to find|{{{where to find3}}}|{{{where to find3 location|}}}|{{{where to find3 x|}}}|{{{where to find3 y|}}}}}
}}{{#if: {{{where to find4|}}}|
{{Where to find|{{{where to find4}}}|{{{where to find4 location|}}}|{{{where to find4 x|}}}|{{{where to find4 y|}}}}}
}}{{#if: {{{where to find5|}}}|
{{Where to find|{{{where to find5}}}|{{{where to find5 location|}}}|{{{where to find5 x|}}}|{{{where to find5 y|}}}}}
}}
</div> }} {{#if: {{{notes|}}} | {{blank}}


<h2> Notes </h2>
<h2> Notes </h2>
Line 87: Line 120:
{{{notes}}}
{{{notes}}}
</div>
</div>
}}
}} {{#if: {{{bugs|}}} | {{blank}}
{{Main namespace only|[[Category:{{{type}}}]] {{#ifeq: {{{rarity|}}} | very rare | [[Category:Very Rare items]] | [[Category:{{{rarity|common}}} items]]}}
 
}}{{ItemIcon Insert
<h2> Bugs </h2>
 
<div class="bg3wiki-tooltip-box">
{{{bugs}}}
{{Main namespace only|[[Category:Bugs]]}}
</div>
}} {{Main namespace only|[[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|}}}
|uid={{{uid|}}}
|uid={{{uid|}}}
|image={{{controller icon|}}}
|image={{{controller icon|}}}
|rarity={{{rarity|common}}}
|rarity={{{rarity|common}}}
}}{{#switch: {{{this is an example|}}}
}}{{#cargo_store: _table = equipment
| yes =
| #default = {{#cargo_store: _table = equipment
| name = {{{name | {{#titleparts: {{PAGENAME}} }} }}}
| name = {{{name | {{#titleparts: {{PAGENAME}} }} }}}
| image = {{{image|}}}
| controller_icon = {{#lvar:controllericon}}
| icon = {{#lvar:icon}}
| uid = {{{uid|}}}
| uid = {{{uid|}}}
| legacy = {{#var:legacy}} <!-- Intentionally using a page-scope var to pick up information from a different template. -->
| legacy = {{#var:legacy}} <!-- Intentionally using a page-scope var to pick up information from a different template. -->
Line 136: Line 183:
| special = Wikitext
| special = Wikitext
| legacy = String(allowed values = inaccessible, unobtainable)
| legacy = String(allowed values = inaccessible, unobtainable)
}}</noinclude>
| bugs = Wikitext
}}
[[Category:Templates]]
[[Category:Equipment page templates]]
[[Category:Page generating templates]]
[[Category:Cargo templates]]
</noinclude>