Template:EnemyList: Difference between revisions

mNo edit summary
semantic footnote
 
(24 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
See [[Template:EnemyList/doc]] for documentation on this template.<br/>
{{{{PAGENAME}}/doc}}
[[Category:Location templates|EnemyList]]
[[Category:Location templates|EnemyList]]
[[Category:List templates|{{PAGENAME}}]]
</noinclude>
</noinclude>
<onlyinclude><includeonly>
<onlyinclude><includeonly>
{{ #switch: {{{1}}}  
{{ #switch: {{{1}}}  
| header = {{{!}} class="locationTemplateTable" cellpadding="2" cellspacing="0" style="margin: 5px 5px 5px 5px; height:100%; border-collapse: collapse;"
| header =
! class="locationTemplateHeader collapsible collapse" colspan="3" {{!}} {{{title}}} {{#if: {{{subtitle|}}} | ({{{subtitle}}}) }}  
{{{!}} class="locationTemplateTable mw-collapsible {{#if: {{{collapsed|}}} | mw-collapsed }}" cellpadding="5" cellspacing="0" style="margin: 5px;"
{{!}}+ class="locationTemplateHeader" style="padding: 5px; border-bottom: none; font-weight: bold;" {{!}} {{{title}}} {{#if: {{{subtitle|}}} | ({{{subtitle}}}) }}&nbsp;&nbsp;
{{!}}-
! scope="col" style="border:1px solid black;" {{!}} Enemy
! scope="col" style="border:1px solid black;" {{!}} Gold
! scope="col" style="border:1px solid black;" {{!}} Exp
{{#if: {{#pos: {{lc:{{{include|}}}}} | drops}} |
! scope="col" style="border:1px solid black;" {{!}} Drop Item
}}{{#if: {{#pos: {{lc:{{{include|}}}}} | haunts}} |
<th scope="col" style="border:1px solid black;">Haunt</th>
}}
{{!}}-
| entry =  
| entry =  
{{!}}-  
{{!}}-  
{{!}} class="locationTemplateCell" {{!}} {{{enemy}}}
{{!}} class="locationTemplateCell" style="text-align:left;"  {{!}} {{{enemy}}}
{{!}} class="locationTemplateCell" {{!}} {{{gold}}}
{{!}} class="locationTemplateCell" style="text-align:right;" {{!}} {{{gold}}}&nbsp;G
{{!}} class="locationTemplateCell" {{!}} {{{experience}}}
{{!}} class="locationTemplateCell" style="text-align:right;" {{!}} {{{exp}}}
{{#if: {{{drop|}}} |
{{!}} class="locationTemplateCell" {{!}}
<div style="display: flex; justify-content: space-between; gap: 1em;">
<div>{{{drop}}}</div>
<div>{{{rate}}}</div>
</div>
{{#if: {{{drop2|}}} |
<div style="display: flex; justify-content: space-between; gap: 1em;">
<div>{{{drop2}}}</div>
<div>{{{rate2}}}</div>
</div>
}}
}}{{#if: {{{haunt|}}} |
<td class="locationTemplateCell" style="text-align:left;">{{{haunt}}}</td>
}}
{{!}}-
| footer =  
| footer =  
{{!}}} }}
{{!}}}{{#if:{{{note|}}}|<div role="note" class="locationTemplateTable" style="margin: 5px;">{{{note}}}</div>}}
</div>
}}
</includeonly></onlyinclude>
</includeonly></onlyinclude>