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
m Test
No edit summary
 
(20 intermediate revisions by 2 users not shown)
Line 3: Line 3:
| #default = {{PageSeo
| #default = {{PageSeo
   | image = {{#lvar: controllericon}}
   | image = {{#lvar: controllericon}}
   | description = {{{description|{{EquipmentPage/Description
   | description = {{#if: {{{description|}}} | {{{description}}} | {{EquipmentPage/Description
     | type = {{{type}}}
     | type = {{{type}}}
     | rarity = {{{rarity|}}}
     | rarity = {{{rarity|}}}
     }}}}}
     }} }}
   }}
   }}
}} __NOTOC__
}} __NOTOC__
Line 49: Line 49:
* {{SmallIcon|Ico stats.png}} {{#if: {{{uid|}}} | {{Uid|{{{uid}}}}} }} {{#if: {{{uuid|}}} | {{Uuid|{{{uuid}}}}} }} {{#if: {{{filename|}}}|{{filename|{{{filename}}}}} }}
* {{SmallIcon|Ico stats.png}} {{#if: {{{uid|}}} | {{Uid|{{{uid}}}}} }} {{#if: {{{uuid|}}} | {{Uuid|{{{uuid}}}}} }} {{#if: {{{filename|}}}|{{filename|{{{filename}}}}} }}
}}
}}
</div>
</div> {{#if: {{{passives|}}}{{{special|}}}{{{stealth disadvantage|}}} | {{blank}}
{{#if: {{{passives|}}}{{{special|}}}{{{stealth disadvantage|}}} | {{blank}}
=== Special ===
=== Special ===


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


<h3> Condition: {{{condition}}} </h3>
}}
{{clear}}</div> {{#if: {{{grants|}}} |
 
<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 67: 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 79: 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|}}} |


<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|}}} |
}}{{#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 97: Line 120:
{{{notes}}}
{{{notes}}}
</div>
</div>
}} {{#if: {{{bugs|}}} |
}} {{#if: {{{bugs|}}} | {{blank}}


<h2> Bugs </h2>
<h2> Bugs </h2>
Line 105: Line 128:
{{Main namespace only|[[Category:Bugs]]}}
{{Main namespace only|[[Category:Bugs]]}}
</div>
</div>
}}
}} {{Main namespace only|[[Category:{{{type}}}]]{{#switch: {{lc:{{{rarity|}}}}}
{{Main namespace only|[[Category:{{{type}}}]] {{#ifeq: {{{rarity|}}} | very rare | [[Category:Very Rare items]] | [[Category:{{{rarity|common}}} items]]}}
| common = [[Category:Common items]]
}}{{ItemIcon Insert
| 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}}}
}}{{Main namespace only|{{#cargo_store: _table = equipment
}}{{#cargo_store: _table = equipment
| name = {{{name | {{#titleparts: {{PAGENAME}} }} }}}
| name = {{{name | {{#titleparts: {{PAGENAME}} }} }}}
| image = {{{image|}}}
| image = {{{image|}}}
Line 155: 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>