Difference between revisions of "Template:Drop info"

From PSU Cyril Wiki
Jump to: navigation, search
m (Forgot to close a line-break >.>;;)
m
Line 1: Line 1:
 
<includeonly>{| class="wikitable" style="text-align:center"
 
<includeonly>{| class="wikitable" style="text-align:center"
 
|- style="background:#e8e8e8"
 
|- style="background:#e8e8e8"
| colspan="3" | '''Drop information'''
+
| {{#switch: {{{Category|}}}
 +
|Unit= colspan="2"
 +
|#default= colspan="3"}} | '''Drop information'''
 
|- style="background:#f2f2f2"
 
|- style="background:#f2f2f2"
| '''Enemy/Mission''' || '''Level''' || '''Type'''
+
| '''Enemy/Mission''' || '''Level''' {{#switch: {{{Category|}}}
 +
|Unit=
 +
|#default= {{!}}{{!}} '''Type'''}}
 
|- style="background:#f9f9f9"
 
|- style="background:#f9f9f9"
| {{#if:{{{Enemy|}}}| [[{{{Enemy|}}}]] {{bar}}{{bar}} {{{Level|}}} {{bar}}{{bar}} {{{Type|}}}| colspan="3" {{bar}} Unknown }}{{#if:{{{Enemy2|}}}|<br>
+
| {{#if:{{{Enemy|}}}| [[{{{Enemy|}}}]] {{!}}{{!}} {{{Level|}}} {{#switch: {{{Category|}}}
{{bar}}- style="background:#f9f9f9"
+
|Unit=
{{bar}} [[{{{Enemy2|}}}]] {{bar}}{{bar}} {{{Level2|}}} {{bar}}{{bar}} {{{Type2|}}}
+
|#default= {{!}}{{!}} {{{Type|}}}}}| colspan="3" {{!}} Unknown }}{{#if:{{{Enemy2|}}}|<br>
 +
{{!}}- style="background:#f9f9f9"
 +
{{!}} [[{{{Enemy2|}}}]] {{!}}{{!}} {{{Level2|}}} {{#switch: {{{Category|}}}
 +
|Unit=
 +
|#default= {{!}}{{!}} {{{Type2|}}}}}
 
|}}{{#if:{{{Enemy3|}}}|<br>
 
|}}{{#if:{{{Enemy3|}}}|<br>
{{bar}}- style="background:#f9f9f9"
+
{{!}}- style="background:#f9f9f9"
{{bar}} [[{{{Enemy3|}}}]] {{bar}}{{bar}} {{{Level3|}}} {{bar}}{{bar}} {{{Type3|}}}
+
{{!}} [[{{{Enemy3|}}}]] {{!}}{{!}} {{{Level3|}}} {{#switch: {{{Category|}}}
 +
|Unit=
 +
|#default= {{!}}{{!}} {{{Type3|}}}}}
 
|}}{{#if:{{{Enemy4|}}}|<br>
 
|}}{{#if:{{{Enemy4|}}}|<br>
{{bar}}- style="background:#f9f9f9"
+
{{!}}- style="background:#f9f9f9"
{{bar}} [[{{{Enemy4|}}}]] {{bar}}{{bar}} {{{Level4|}}} {{bar}}{{bar}} {{{Type4|}}}
+
{{!}} [[{{{Enemy4|}}}]] {{!}}{{!}} {{{Level4|}}} {{#switch: {{{Category|}}}
 +
|Unit=
 +
|#default= {{!}}{{!}} {{{Type4|}}}}}
 
|}}
 
|}}
 
|}</includeonly><noinclude>__NOTOC__
 
|}</includeonly><noinclude>__NOTOC__

Revision as of 04:51, 19 April 2008

Example 1 - One Enemy

Code:

{{Drop info
|Enemy= Ageeta
|Level= 11-20
|Type= Board
}}

Result:

Drop information
Enemy/Mission Level Type
Unknown

Example 2 - Multiple Enemies

Code:

{{Drop info
|Enemy= Ageeta
|Level= 11-20
|Type= Board
|Enemy2= Sageeta
|Level2= 21-30
|Type2= Weapon
|Enemy3= Otherageeta
|Level3= 31-40
|Type3= Weapon
}}

Result:

Drop information
Enemy/Mission Level Type
Unknown

Example 3 - No Known Drops

Code:

{{Drop info}}

Result:

Drop information
Enemy/Mission Level Type
Unknown