Template:Ammo: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
< | <div class="ammo-template"> | ||
'''{{{name|{{PAGENAME}}}}}''' | |||
[[File:{{{tooltip_image|AmmoPlaceholder.png}}}|thumb]] | |||
[[File:{{{ | |||
< | <!-- ========================== --> | ||
: | <!-- STATS --> | ||
<!-- ========================== --> | |||
{{ | <div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Stats</div> | ||
<hr style="border: 0; border-top: 1px solid #555;" /> | |||
{{ | <div style="margin-left: 1em;"> | ||
{{#if:{{{is_soulbound|}}}|'''This item is Soulbound and cannot be traded.'''<br /> | |||
| | }}'''Slot''': [[:Category:Ammo|Ammo]]<br /> | ||
{{#if:{{{ammo_type|}}}|'''Ammo Type''': [[:Category:{{{ammo_type}}}|{{{ammo_type}}}]]<br /> | |||
| | }}{{#if:{{{level_requirement|}}}|'''Level Requirement''': {{{level_requirement}}}<br /> | ||
}}{{#if:{{{class_requirement1|}}}|'''Class Requirement''': [[{{{class_requirement1}}}]]{{#if:{{{class_requirement2|}}}|, [[{{{class_requirement2}}}]]}}{{#if:{{{class_requirement3|}}}|, [[{{{class_requirement3}}}]]}}<br /> | |||
| | |||
| | |||
}} | }} | ||
</div> | |||
<!-- ========================== --> | |||
<!-- ADDITIONAL STATS --> | |||
<!-- ========================== --> | |||
{{#if:{{{stat1_name|}}}{{{stat2_name|}}}{{{stat3_name|}}}{{{stat4_name|}}}{{{stat5_name|}}}{{{stat6_name|}}}| | |||
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Additional Stats</div> | |||
<hr style="border: 0; border-top: 1px solid #555;" /> | |||
{{AdditionalStats | |||
| stat1_name = {{{stat1_name|}}} | |||
| stat1_value = {{{stat1_value|}}} | |||
| stat2_name = {{{stat2_name|}}} | |||
| stat2_value = {{{stat2_value|}}} | |||
| stat3_name = {{{stat3_name|}}} | |||
| stat3_value = {{{stat3_value|}}} | |||
| stat4_name = {{{stat4_name|}}} | |||
| stat4_value = {{{stat4_value|}}} | |||
| stat5_name = {{{stat5_name|}}} | |||
| stat5_value = {{{stat5_value|}}} | |||
| stat6_name = {{{stat6_name|}}} | |||
| stat6_value = {{{stat6_value|}}} | |||
}} | }} | ||
}} | }} | ||
{{#if: {{{ | <!-- ========================== --> | ||
<!-- CRAFTING INFO --> | |||
< | <!-- ========================== --> | ||
:{{{ | {{#if:{{{crafting_profession|}}}{{{recipe_page|}}}{{{component1_name|}}}{{{component1_material|}}}| | ||
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Crafting</div> | |||
<hr style="border: 0; border-top: 1px solid #555;" /> | |||
<div style="margin-left: 1em;"> | |||
{{#if:{{{crafting_profession|}}}|'''Crafted By''': [[{{{crafting_profession}}}]]<br /> | |||
}}{{#if:{{{recipe_page|}}}|'''Recipe''': [[{{{recipe_page}}}]]<br /> | |||
}}{{#if:{{{component1_name|}}}{{{component1_material|}}}|* '''{{{component1_name}}}''': [[{{{component1_material}}}]] | |||
}}{{#if:{{{component2_name|}}}{{{component2_material|}}}|* '''{{{component2_name}}}''': [[{{{component2_material}}}]] | |||
}}{{#if:{{{component3_name|}}}{{{component3_material|}}}|* '''{{{component3_name}}}''': [[{{{component3_material}}}]] | |||
}}{{#if:{{{component4_name|}}}{{{component4_material|}}}|* '''{{{component4_name}}}''': [[{{{component4_material}}}]] | |||
}}{{#if:{{{component5_name|}}}{{{component5_material|}}}|* '''{{{component5_name}}}''': [[{{{component5_material}}}]] | |||
}} | }} | ||
</div> | |||
}} | }} | ||
{{#if: {{{ | <!-- ========================== --> | ||
| | <!-- ACQUISITION --> | ||
<!-- ========================== --> | |||
{{#if:{{{how_to_acquire|}}}| | |||
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Acquisition</div> | |||
<hr style="border: 0; border-top: 1px solid #555;" /> | |||
{{Div col|colwidth=20em}} | |||
{{#invoke:ListLinks|fromDelimited|1={{{how_to_acquire}}}|delimiter=, }} | |||
{{Div col end}} | |||
}} | }} | ||
<!-- ========================== --> | |||
<!-- SALE PRICE --> | |||
<!-- ========================== --> | |||
{{#if:{{{sale_price|}}}| | |||
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Sale Price</div> | |||
<hr style="border: 0; border-top: 1px solid #555;" /> | |||
<div style="margin-left: 1em;"> | |||
'''Sale Price''': {{{sale_price}}}<br /> | |||
</div> | |||
}} | }} | ||
{{#if:{{{ | <!-- ========================== --> | ||
|[[Category:Ammo]]{{#if:{{{ | <!-- CATEGORIES --> | ||
<!-- ========================== --> | |||
[[Category:Ammo]] | |||
{{#if:{{{ammo_type|}}}|[[Category:{{{ammo_type}}}]] | |||
}}{{#if:{{{crafting_profession|}}}|[[Category:Crafted Ammo]] | |||
}}{{#if:{{{class_requirement1|}}}|[[Category:{{{class_requirement1}}} Ammo]] | |||
}}{{#if:{{{class_requirement2|}}}|[[Category:{{{class_requirement2}}} Ammo]] | |||
}}{{#if:{{{class_requirement3|}}}|[[Category:{{{class_requirement3}}} Ammo]] | |||
}} | }} | ||
</div> |