Difference between revisions of "Template:Item drops infobox"

From Tremor Mod Wiki
Jump to: navigation, search
m (Reverted edits by Alpacalover122 (talk) to last revision by ReedemtheD3ad!)
Tag: Rollback
Line 1: Line 1:
{|class="infobox" style="font-size:89%; width:21.45em; -moz-border-radius: .7em; -webkit-border-radius: .7em;"
+
{|class="infobox" style="font-size:89%; width:21em; -moz-border-radius: .7em; -webkit-border-radius: .7em;"
 
|-
 
|-
! colspan="3" style="background-color: #1AB6EA; color: #D1F4FF; padding:0em;" |{{{title|Dropped by}}}
+
! colspan="3" style="background-color: #E4F0F7; color: #063B5E; padding:0em;" |{{{title|Dropped by}}}
 
|-
 
|-
 
{{#if: {{{1|}}} |
 
{{#if: {{{1|}}} |
! style="width:55%;background-color: #1AB6EA; color: #D1F4FF;"{{!}}'''Entity'''
+
! style="width:55%;background-color: #E4F0F7; color: #063B5E;"{{!}}'''Entity'''
! style="width:25%;background-color: #1AB6EA; color: #D1F4FF;"{{!}}'''Quantity'''
+
! style="width:25%;background-color: #E4F0F7; color: #063B5E;"{{!}}'''Quantity'''
! style="width:20%;background-color: #1AB6EA; color: #D1F4FF;"{{!}}'''Rate''' }}
+
! style="width:20%;background-color: #E4F0F7; color: #063B5E;"{{!}}'''Rate''' }}
  +
|-
  +
{{#if:{{{1|}}}|{{{1|}}}}}
 
|}<noinclude>{{doc}}</noinclude>
 
|}<noinclude>{{doc}}</noinclude>

Revision as of 22:36, 14 August 2020

Dropped by
Template-info.png Documentation The documentation below is transcluded from Template:Item drops infobox/doc. (edit | history)

Can be used on a page to display what enemies drop that item, however it is commonly stated in text instead.

Usage

{{item drops infobox|
title = (optional if you want a different title) |
{{item drops infobox/row | entity_1 | quantity | rate_1}}
...
{{item drops infobox/row | entity_n | quantity | rate_n}}
}}
title

(Optional) the title of the item (defaults to PAGENAME)