Difference between revisions of "Template:Loot table"

From EVE University Wiki
Jump to: navigation, search
(Avoid adding extra newlines that stretch boxes)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
{{{!}} class="wikitable complex collapsible sortable"
+
{{{!}} class="wikitable complex"
 
{{!}}+ Rewards
 
{{!}}+ Rewards
 
{{!}}-
 
{{!}}-
 
!Item Name
 
!Item Name
 
!Note
 
!Note
 +
{{!}}-
 
{{#if: {{{TotalBountyValue|}}} |
 
{{#if: {{{TotalBountyValue|}}} |
{{!}}-
+
{{!}}colspan="2"{{!}} Total bounty {{{TotalBountyValue|}}}  
{{!}} {{{TotalBountyValue|}}} |}}
+
{{!}}- |}}  
{{#if: {{{NotableLoot1|}}} |
+
{{#if: {{{NotableLoot1|}}}|
{{!}}-
+
{{!}} {{{NotableLoot1}}}
{{!}} {{{NotableLoot1|}}}
+
{{!}} {{{Note1|}}}  
{{!}} {{{Note1 |}}} |}}
+
{{!}}- |}}  
{{#if: {{{NotableLoot2|}}} |
+
{{#if: {{{NotableLoot2|}}}|
{{!}}-
+
{{!}} {{{NotableLoot2}}}
{{!}} {{{NotableLoot2|}}}
+
{{!}} {{{Note2|}}}  
{{!}} {{{Note2 |}}} |}}
+
{{!}}- |}}  
{{#if: {{{NotableLoot3|}}} |
+
{{#if: {{{NotableLoot3|}}}|
{{!}}-
+
{{!}} {{{NotableLoot3}}}
{{!}} {{{NotableLoot3|}}}
+
{{!}} {{{Note3|}}}  
{{!}} {{{Note3 |}}} |}}
+
{{!}}- |}}  
{{#if: {{{NotableLoot4|}}} |
+
{{#if: {{{NotableLoot4|}}}|
{{!}}-
+
{{!}} {{{NotableLoot4}}}
{{!}} {{{NotableLoot4|}}}
+
{{!}} {{{Note4|}}}  
{{!}} {{{Note4 }}} |}}
+
{{!}}- |}}
{{#if: {{{NotableLoot5|}}} |
+
{{#if: {{{NotableLoot5|}}}|
{{!}}-
+
{{!}} {{{NotableLoot5}}}
{{!}} {{{NotableLoot5|}}}
+
{{!}} {{{Note5|}}}  
{{!}} {{{Note5 |}}} |}}
+
{{!}}- |}}
{{#if: {{{NotableLoot6|}}} |
+
{{#if: {{{NotableLoot6|}}}|
{{!}}-
+
{{!}} {{{NotableLoot6}}}
{{!}} {{{NotableLoot6|}}}
+
{{!}} {{{Note6|}}}  
{{!}} {{{Note6 |}}} |}}
+
{{!}}- |}}
{{#if: {{{NotableLoot7|}}} |
+
{{#if: {{{NotableLoot7|}}}|
{{!}}-
+
{{!}} {{{NotableLoot7}}}
{{!}} {{{NotableLoot7|}}}
+
{{!}} {{{Note7|}}}  
{{!}} {{{Note7 |}}} |}}
+
{{!}}- |}}
{{#if: {{{NotableLoot8|}}} |
+
{{#if: {{{NotableLoot8|}}}|
{{!}}-
+
{{!}} {{{NotableLoot8}}}
{{!}} {{{NotableLoot8|}}}
+
{{!}} {{{Note8|}}}  
{{!}} {{{Note8 |}}} |}}
+
{{!}}- |}}
{{#if: {{{NotableLoot9|}}} |
+
{{#if: {{{NotableLoot9|}}}|
{{!}}-
+
{{!}} {{{NotableLoot9}}}
{{!}} {{{NotableLoot9|}}}
+
{{!}} {{{Note9|}}}  
{{!}} {{{Note9 |}}} |}}
+
{{!}}- |}}
|}
+
{{!}}}
 
</includeonly>
 
</includeonly>
 
<noinclude>
 
<noinclude>
{{Documentation}}  
+
{{Documentation}}
[[Category:Template]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 18:06, 13 October 2022


Template documentation (for the above template, sometimes hidden or invisible)
Description
This template is used to create the loot table for combat site pages. This table should include total bounties and all notable possible drops from the site. It takes CSS for formatting from {{NPCTableCSS}} (Included in {{CMBSiteInfo}} and the deprecated {{CMBSite}}) so include one of them to get a slightly different looking table.

This template allows up to 9 notable drops to be listed. Unused rows can be left out without breaking the template.

Dependencies
Uses
{{NPCTableCSS}}
Syntax
{{Loot table
| TotalBountyValue = 
| NotableLoot1 = 
| Note1 = 
| NotableLoot2= 
| Note2 = 
.
.
| NotableLoot9= 
| Note9 = 
}}
parameters
Empty or omitted parameters will not be shown.
TotalBountyValue
Total value of the bounty
NotableLoot<x>
<x> is 1 till 9. Description/name of the notable loot.
Note<x>
<x> is 1 till 9. Notes about the notable loot e.g. drop rate, who/what drops, etc.
Sample
{{Loot table</nowiki><br>
| TotalBountyValue = 12 mil
| NotableLoot1 = 9th Tier Overseer's Personal Effect (2.1M isk)
| Note1 = 100% drop rate
| NotableLoot2= 11th Tier Overseer's Personal Effect (6.3M isk)
| Note2 = 100% drop rate
| NotableLoot3= Shadow Serpentis Modules
| Note3 = From commander frigate
| NotableLoot4= 
| Note4 = 
| NotableLoot9= Coreli A-Type modules
| Note9 = From Supply Stronghold
}}
gives...
Rewards
Item Name Note
Total bounty 12 mil
9th Tier Overseer's Personal Effect (2.1M isk) 100% drop rate
11th Tier Overseer's Personal Effect (6.3M isk) 100% drop rate
Shadow Serpentis Modules From commander frigate
Coreli A-Type modules From Supply Stronghold
Visit Template:Loot table/doc to edit this text! (How does this work?) (Refresh this text - why?)