Difference between revisions of "Template:New drop test"
m (Bleh, again. D:) |
m (Trying again, this time with multiple "if no source" conditions. *fingers crossed*) |
||
Line 5: | Line 5: | ||
! Source !! Level !! Ver. !! Type | | ! Source !! Level !! Ver. !! Type | | ||
{{!}}- | {{!}}- | ||
− | {{!}} [[{{{Source}}}]] {{#switch: {{{Source type}}} | + | {{!}} {{#if: {{{Source}}}|[[{{{Source}}}]] {{#switch: {{{Source type}}} |
|Boss box = boss box | |Boss box = boss box | ||
|Special box = special box | |Special box = special box | ||
|Normal box = box | |Normal box = box | ||
|Area drop = area | |Area drop = area | ||
− | |#default= }} {{!}}{{!}} {{{Level}}} {{!}}{{!}} {{#switch: {{{Ver.}}} | + | |#default= }}|colspan="4" {{!}} Unknown}} {{#if: {{{Source}}}|{{!}}{{!}} {{{Level}}}|}}{{#if: {{{Source}}}|{{!}}{{!}} {{#switch: {{{Ver.}}} |
|PSU= {{PSU version}} | |PSU= {{PSU version}} | ||
|AOTI= {{AOTI version}} | |AOTI= {{AOTI version}} | ||
− | |#default= {{PSU version}} {{AOTI version}}}} {{!}}{{!}} {{#switch: {{{Type}}} | + | |#default= {{PSU version}} {{AOTI version}}}}|}} {{#if: {{{Source}}}|{{!}}{{!}} {{#switch: {{{Type}}} |
|Line shield= {{Line shield icon}} | |Line shield= {{Line shield icon}} | ||
|Board= {{Board icon}} | |Board= {{Board icon}} | ||
Line 50: | Line 50: | ||
|TCSM= {{TCSM icon}} | |TCSM= {{TCSM icon}} | ||
|Rod= {{Rod icon}}}} | |Rod= {{Rod icon}}}} | ||
− | |#default= }}}} | + | |#default= }}}}|}} |
{{#ifeq: {{{Footer}}}|Y|{{!}}}|}}</includeonly><noinclude> | {{#ifeq: {{{Footer}}}|Y|{{!}}}|}}</includeonly><noinclude> | ||
== Template parameters and usage == | == Template parameters and usage == | ||
Line 150: | Line 150: | ||
|Type= Unit | |Type= Unit | ||
|Category= Extra}} | |Category= Extra}} | ||
+ | |||
+ | === Example 3 === | ||
+ | This example shows various unit drops. | ||
+ | <pre>{{New drop test | ||
+ | |Header= Y}} | ||
+ | {{New drop test | ||
+ | |Footer= Y | ||
+ | |Source= | ||
+ | |Level= | ||
+ | |Ver.= | ||
+ | |Type= | ||
+ | |Category= }}</pre> | ||
+ | ...produces... | ||
+ | {{New drop test | ||
+ | |Header= Y}} | ||
+ | {{New drop test | ||
+ | |Footer= Y | ||
+ | |Source= | ||
+ | |Level= | ||
+ | |Ver.= | ||
+ | |Type= | ||
+ | |Category= }} | ||
</noinclude> | </noinclude> |
Revision as of 19:18, 27 June 2008
Template parameters and usage
This template works in a slightly different manner from previously used drop templates. Basically, you will use the same template multiple times to achieve a drop chart in whatever size you need. The first template will act as the chart header to fill out the cells at the top to identify the data in the columns. The following templates will be used to fill in drop data while the final template will contain drop data as well as the footer to close out the table.
Header: In order to create the header of the drop table, enter a Y here and leave all other fields empty.
Source: Identify from what or where the item drops with this parameter. This can be an enemy, area or mission.
Source type: In the case of enemy drops, this field will be left blank. With missions and areas, however, identify the type of drop with Normal box, Boss box, Area drop or Special box.
Level: Type the level range for the drop here. In the case of enemies and area drops, use numerals to identify the range; for missions, use letters (C-S2).
Ver.: Use this field to identify the version of the game the item drops from. By default, when left blank, this field will display both PSU and AOTI icons as many drops will be the same between both games. However, if an enemy or area drop is exclusive to one or the other, enter either PSU or AOTI to identify the exclusivity.
Type: Identify the drop type with this field. You can use Board, Unit, Line shield or Weapon.
Category: Certain drops (weapons and units) will be categorized further from the parameter above. In the case of weapons, enter the weapon category name, first letter capitalized. (For example, Shotgun, Laser cannon, RCSM, etc.) For units, use Head, Arm, Body or Extra.
Footer: The final template used for a drop chart will require this parameter to be marked with a Y. Otherwise the table will not close properly.
Examples
Example 1
The following example displays weapon and board drops.
{{New drop test |Header= Y}} {{New drop test |Source= Lightning Beasts |Source type= Boss box |Level= A |Ver.= AOTI |Type= Board |Category= }} {{New drop test |Source= Raffon Meadow |Source type= Area drop |Level= 10-49 |Ver.= |Type= Weapon |Category= Shotgun}} {{New drop test |Footer= Y |Source= Polty |Level= 100-124 |Ver.= PSU |Type= Weapon |Category= Shotgun}}
...produces...
Drop information | |||
Source | Level | Ver. | Type |
---|---|---|---|
Lightning Beasts clear box | A | ||
Raffon Meadow area | 10-49 | ||
Polty | 100-124 |
Example 2
This example shows various unit drops.
{{New drop test |Header= Y}} {{New drop test |Source= Poltisimo |Source type= |Level= 80-99 |Ver.= AOTI |Type= Unit |Category= Arm}} {{New drop test |Footer= Y |Source= Distova |Level= 100-149 |Ver.= |Type= Unit |Category= Extra}}
...produces...
Drop information | |||
Source | Level | Ver. | Type |
---|---|---|---|
Poltisimo | 80-99 | ||
Distova | 100-149 |
Example 3
This example shows various unit drops.
{{New drop test |Header= Y}} {{New drop test |Footer= Y |Source= |Level= |Ver.= |Type= |Category= }}
...produces...
Drop information | |||
Source | Level | Ver. | Type |
---|---|---|---|
No known drop sources. |