Difference between revisions of "Template:Drop info"

From PSU Cyril Wiki
Jump to: navigation, search
(Meh, improving the example. If Kit's stopped, I'll have a stab at the template itself.)
(Full-on implementation of character profile code)
Line 5: Line 5:
 
| '''Enemy/Mission''' || '''Level''' || '''Type'''
 
| '''Enemy/Mission''' || '''Level''' || '''Type'''
 
|- style="background:#f9f9f9"
 
|- style="background:#f9f9f9"
| [[{{{Enemy}}}]] || {{{Level}}} || {{{Type}}}
+
| [[{{{Enemy|}}}]] || {{{Level|}}} || {{{Type|}}}
{{ #if: Enemy2 |
+
{{#if:{{{Enemy2|}}}|<br>
 
{{bar}}- style="background:#f9f9f9"
 
{{bar}}- style="background:#f9f9f9"
{{bar}} [[{{{Enemy2}}}]] {{bar}}{{bar}} {{{Level2}}} {{bar}}{{bar}} {{{Type2}}} | }}
+
{{bar}} [[{{{Enemy2|}}}]] {{bar}}{{bar}} {{{Level2|}}} {{bar}}{{bar}} {{{Type2|}}}|}}
 +
{{#if:{{{Enemy3|}}}|<br>
 +
{{bar}}- style="background:#f9f9f9"
 +
{{bar}} [[{{{Enemy3|}}}]] {{bar}}{{bar}} {{{Level3|}}} {{bar}}{{bar}} {{{Type3|}}}|}}
 +
{{#if:{{{Enemy4|}}}|<br>
 +
{{bar}}- style="background:#f9f9f9"
 +
{{bar}} [[{{{Enemy4|}}}]] {{bar}}{{bar}} {{{Level4|}}} {{bar}}{{bar}} {{{Type4|}}}|}}
 
|}</includeonly>
 
|}</includeonly>
  

Revision as of 14:31, 13 April 2008


Example template

{{Drop info
|Enemy= <enemy>
|Level= 11-20
|Type= Board
|Enemy2= <enemy>
|Level2= 21-30
|Type2= Weapon
}}

Result

Drop information
Enemy/Mission Level Type
Unknown