Difference between revisions of "Template:Loot table/doc"

From EVE University Wiki
Jump to: navigation, search
(Created page with "{{#css: table.headers_left tr th {text-align: left; } table.complex {font-size: 0.9em; line-height: 1.1em; padding-bottom: 0;} table.complex caption {padding: 0.25em; text-ali...")
 
m (Format.)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#css:
+
{{NPCTableCSS}}
table.headers_left tr th {text-align: left; }
+
; Description
table.complex {font-size: 0.9em; line-height: 1.1em; padding-bottom: 0;}
+
: 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 {{T|NPCTableCSS}} (Included in {{Tl|CMBSiteInfo}} and the deprecated {{Tl|CMBSite}}) so include one of them to get a slightly different looking table.
table.complex caption {padding: 0.25em; text-align:left; }
 
table.complex tr th {background-color: #222; padding: 0.35em;}
 
table.complex tr td {padding: 0.25em; }
 
table.complex tr td.icon {text-align: center; padding: 0; }
 
h4, h5, h6 {line-height: 1; padding-top: 0; padding-bottom: 0;}
 
  
@keyframes flashy { 50% { opacity: 0; } }
+
This template allows up to 9 notable drops to be listed. Unused rows can be left out without breaking the template.
@-webkit-keyframes flashy { 50% { opacity: 0; } }
 
@-moz-keyframes flashy { 50% { opacity: 0; } }
 
@-o-keyframes flashy { 50% { opacity: 0; } }
 
.flashy img {
 
    animation-name: flashy;
 
    animation-duration: 1s;
 
    animation-timing-function: linear;
 
    animation-iteration-count: infinite;
 
    animation-direction: alternate;
 
    -webkit-animation-name: flashy;
 
    -webkit-animation-duration: 1s;
 
    -webkit-animation-timing-function: linear;
 
    -webkit-animation-iteration-count: infinite;
 
    -webkit-animation-direction: alternate;
 
    -moz-animation-name: flashy;
 
    -moz-animation-duration: 1s;
 
    -moz-animation-timing-function: linear;
 
    -moz-animation-iteration-count: infinite;
 
    -moz-animation-direction: alternate;
 
    -o-animation-name: flashy;
 
    -o-animation-duration: 1s;
 
    -o-animation-timing-function: linear;
 
    -o-animation-iteration-count: infinite;
 
    -o-animation-direction: alternate;
 
}
 
.wikitable.NPC .head-first {min-width: 360px; }
 
.wikitable.NPC .head th p {display: none; }
 
.wikitable.NPC caption {text-align:left; margin-left: 0.5em; }
 
.wikitable.NPC th {background-color: #222; padding: 0.5em 0.5em 0.4em; }
 
.wikitable.NPC td {padding: 0.65em 0.5em 0.5em; line-height: 1; }
 
.wikitable.NPC td.icon {padding: 0.1em; text-align: center; width: 24px; white-space: nowrap; }
 
.wikitable.NPC td.icon a {padding: 0 0.2em; }
 
.wikitable.NPC td.icon a img {margin: -6px; }
 
.wikitable.NPC .mw-collapsible-toggle {position: absolute; left: 10px; }
 
}}
 
  
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 {{t|CMBSite}} so either include it or the CSS blurb from it to get slightly different looking table.
+
; Dependencies
 +
:; Uses
 +
:: {{T|NPCTableCSS}}
  
This template allows up to 9 notable drops to be listed. Unused rows can be left out without breaking the template. If a site has more notable drops than this template allows you can edit the template to allow more rows without breaking existing uses.
+
; Syntax
 +
<pre style="margin-left : 1em">
 +
{{Loot table
 +
| TotalBountyValue =
 +
| NotableLoot1 =
 +
| Note1 =
 +
| NotableLoot2=
 +
| Note2 =
 +
.
 +
.
 +
| NotableLoot9=
 +
| Note9 =
 +
}}
 +
</pre>
 +
:; 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
== Sample output ==
+
<pre>
 
+
{{Loot table</nowiki><br>
<code><nowiki>{{Loot table</nowiki><br>
+
| TotalBountyValue = 12 mil
<nowiki>| TotalBountyValue = 12 mil</nowiki><br>
+
| NotableLoot1 = 9th Tier Overseer's Personal Effect (2.1M isk)
<nowiki>| NotableLoot1 = 9th Tier Overseer's Personal Effect (2.1M isk)</nowiki><br>
+
| Note1 = 100% drop rate
<nowiki>| Note1 = 100% drop rate</nowiki><br>
+
| NotableLoot2= 11th Tier Overseer's Personal Effect (6.3M isk)
<nowiki>| NotableLoot2= 11th Tier Overseer's Personal Effect (6.3M isk)</nowiki><br>
+
| Note2 = 100% drop rate
<nowiki>| Note2 = 100% drop rate</nowiki><br>
+
| NotableLoot3= Shadow Serpentis Modules
<nowiki>| NotableLoot3= Shadow Serpentis Modules</nowiki><br>
+
| Note3 = From commander frigate
<nowiki>| Note3 = From commander frigate</nowiki><br>
+
| NotableLoot4=  
<nowiki>| NotableLoot4= Coreli A-Type modules</nowiki><br>
+
| Note4 =  
<nowiki>| Note4 = From Supply Stronghold</nowiki><br>
+
| NotableLoot9= Coreli A-Type modules
<nowiki>| NotableLoot5= </nowiki><br>
+
| Note9 = From Supply Stronghold
<nowiki>| Note5 = </nowiki><br>
+
}}
<nowiki>| NotableLoot6= </nowiki><br>
+
</pre>
<nowiki>| Note6 = </nowiki><br>
+
: gives...
<nowiki>| NotableLoot7= </nowiki><br>
 
<nowiki>| Note7 =</nowiki><br>
 
<nowiki>| NotableLoot8= </nowiki><br>
 
<nowiki>| Note8 =</nowiki><br>
 
<nowiki>| NotableLoot9=</nowiki><br>
 
<nowiki>| Note9 =</nowiki><br>
 
<nowiki>}}</nowiki></code>
 
 
 
:gives...
 
 
{{Loot table
 
{{Loot table
 
| TotalBountyValue = 12 mil
 
| TotalBountyValue = 12 mil
Line 83: Line 54:
 
| NotableLoot3= Shadow Serpentis Modules
 
| NotableLoot3= Shadow Serpentis Modules
 
| Note3 = From commander frigate
 
| Note3 = From commander frigate
| NotableLoot4= Coreli A-Type modules
+
| NotableLoot9= Coreli A-Type modules
| Note4 = From Supply Stronghold
+
| Note9 = From Supply Stronghold
| NotableLoot5=
 
| Note5 =
 
| NotableLoot6=
 
| Note6 =
 
| NotableLoot7=
 
| Note7 =
 
| NotableLoot8=
 
| Note8 =
 
| NotableLoot9=
 
| Note9 =
 
 
}}
 
}}

Latest revision as of 13:33, 8 March 2023

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