Template:Item/CoreStats: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 10: Line 10:
|<div class="qud-item-stats-entry-wrap"><div class="qud-item-stats-entry qud-tooltip"><!--
|<div class="qud-item-stats-entry-wrap"><div class="qud-item-stats-entry qud-tooltip"><!--
--><div class="qud-item-stat-symbol">{{PV}}</div><!--
--><div class="qud-item-stat-symbol">{{PV}}</div><!--
--><div class="qud-item-stat-value">{{#ifeq: {{{vibro|}}} | yes | <span class="symbol-vibro">≈</span> | {{{pv|4}}}<span class="qud-max-pv">/{{{maxpv|4}}}</span> }}</div><!--
--><div class="qud-item-stat-value">{{#ifeq: {{{vibro|}}} | yes | <span class="symbol-vibro">≈</span> | {{{pv|4}}}{{#ifeq:{{{missile|no}}}|yes||<span class="qud-max-pv">/{{{maxpv|4}}}</span>}} }}</div><!--
--><span class="qud-tooltip-text">{{#ifeq: {{{vibro|}}} | yes | Adaptive PV<br>([[Vibro]]) | <span class="qud-pv-tooltip-text">[[PV]]<span class="qud-max-pv">/Max PV</span></span>}}</span><!--
--><span class="qud-tooltip-text">{{#ifeq: {{{vibro|}}} | yes | Adaptive PV<br>([[Vibro]]) | <span class="qud-pv-tooltip-text">[[PV]]{{#ifeq:{{{missile|no}}}|yes||<span class="qud-max-pv">/Max PV</span>}}</span>}}</span><!--
--></div></div>
--></div></div>
}}<!--
}}<!--
Line 75: Line 75:
{{Item/CoreStats
{{Item/CoreStats
| pv = 4
| pv = 4
| maxpv = 6
| maxpv = 6             <!-- if not specified, but pv is specified, 4 is used for this by default -->
| vibro = no            <!-- if yes, vibro penetration symbol is shown and pv/maxpv are ignored -->
| missile = no          <!-- if yes, maxpv won't be shown, because it's not applicable to missile weapons -->
| damage = 2d3
| damage = 2d3
| av = 3
| av = 3
Line 81: Line 83:
| weight = 10
| weight = 10
| value = 50
| value = 50
| currency = no
| currency = no         <!-- if yes, currency symbol is yellow and tooltip link goes to the Trade Goods page instead of the Commerce page -->
}}
}}
</syntaxhighlight>
</syntaxhighlight>
Line 100: Line 102:




=== other examples ===
== other examples ==


<div style="width: 270px;font-size:90%;color:var(--qud-color-y);">
=== {{favilink|copper nugget}} ===
<div style="width: 270px;font-size:90%;margin:1em 1em 4em 1em;color:var(--qud-color-y);">
{{Item/CoreStats
{{Item/CoreStats
| pv = 4
| weight = 1
| damage = 2d3
| value = 10
| av = 3
| dv = 2
| weight = 10
| value = 50
| currency = yes
| currency = yes
}}
}}
</div>
</div>


<hr>
=== {{favilink|ceremonial vibrokhopesh}} ===
 
<div style="width: 270px;font-size:90%;margin:1em 1em 4em 1em;color:var(--qud-color-y);">
<div style="width: 270px;font-size:90%;color:var(--qud-color-y);">
{{Item/CoreStats
{{Item/CoreStats
| av = 3
| pv = 4
| dv = 2
| maxpv = 4
| weight = 10
| vibro = yes
| value = 50
| damage = 1d10+2
| weight = 5
| value = 255
}}
}}
</div>
</div>


<hr>
=== {{favilink|swarm rack}} ===
 
<div style="width: 270px;font-size:90%;margin:1em 1em 4em 1em;color:var(--qud-color-y);">
<div style="width: 270px;font-size:90%;color:var(--qud-color-y);">
{{Item/CoreStats
{{Item/CoreStats
| pv = 4
| pv = 17
| maxpv = 6
| maxpv = 17
| damage = 2d3
| missile = yes
| av = 3
| damage = 3d6
| dv = 2
| weight = 1500
| value = 50
| value = 300
}}
}}
</div>
</div>


<hr>


<div style="width: 270px;font-size:90%;color:var(--qud-color-y);">
{{Item/CoreStats
| damage = 2d3
| dv = 2
| value = 50
}}
</div>
</noinclude>
</noinclude>