Difference between revisions of "Template:Mission drops row (PSP)"

From PSU Cyril Wiki
Jump to: navigation, search
m (Mission drops row (PSP) moved to Template:Mission drops row (PSP): template belongs in template ns =/)
m (Organizing: adding category)
 
(One intermediate revision by the same user not shown)
Line 7: Line 7:
 
|{{!}} {{!}}{{!}} {{!}}{{!}} {{!}}{{!}} {{!}}{{!}}  
 
|{{!}} {{!}}{{!}} {{!}}{{!}} {{!}}{{!}} {{!}}{{!}}  
 
{{!}}- }}
 
{{!}}- }}
</includeonly>
+
</includeonly><noinclude>
<noinclude>
+
This template completes a row in a mission's drop table for a given battle type.
This template completes a row in a mission's drop table for a given battle type.  This template only works for enemies, since area drops include drops from previous levels as well.
 
  
This template isn't much shorter than typing out the equivalent wikitext, but it requires less tweaking if you copy/paste it: name/type/lvlC/B/A/S are only changed once instead of for each column.
+
This template isn't much shorter than typing out the equivalent wikitext, but it requires a little less tweaking if you copy/paste it.  IMO, it's also more readable.
  
 
== Template Parameters ==
 
== Template Parameters ==
Line 154: Line 153:
 
|}
 
|}
  
</noinclude>
+
[[Category:Database Templates]]</noinclude>

Latest revision as of 07:13, 4 May 2009

This template completes a row in a mission's drop table for a given battle type.

This template isn't much shorter than typing out the equivalent wikitext, but it requires a little less tweaking if you copy/paste it. IMO, it's also more readable.

Template Parameters

Source: The name of the enemy or area from which to display drop information.
Header: (Optional) Type the text to display in the first column. If omitted, the source will be used in the first column as a link.
Type: The basic battle type for which to display drops. This means for FM use HU, for GM use RA, for MF use FO, and for AM or PT use AM/PT.
LvlC, LvlB, LvlA, LvlS: The minimum level in the drop range in which the enemy appears for the given mission level (C/B/A/S). If one of these parameters is missing or empty, I take it to mean that the enemy doesn't appear at that mission level: an 'x' is inserted instead of a drop.

Blank Template

{{Mission drops row (PSP)
|Source= 
|Header= 
|Type= 
|LvlC= 
|LvlB= 
|LvlA= 
|LvlS= 
}}

Rappy Sample

Placed in a table, as so...

{| class="wikitable" style="text-align:center"
|-
! Enemy name !! Special drops !! Mission LV C !! Mission LV B !! Mission LV A !! Mission LV S
|-

{{Mission drops row (PSP)
|Source= Rappy
|Type= HU
|LvlC= 1
|LvlB= 20
|LvlA= 40
|LvlS= 60}}

|}

...produces:

Enemy name Special drops Mission LV C Mission LV B Mission LV A Mission LV S
Rappy special}} HU 1}} HU 20}} HU 40}} HU 60}}

Area Sample

Placed in a table, as so...

{| class="wikitable" style="text-align:center"
|-
! Enemy name !! Special drops !! Mission LV C !! Mission LV B !! Mission LV A !! Mission LV S
|-

{{Mission drops row (PSP)
|Source= Linear Line area
|Header= Area drops
|Type= HU
|LvlC= 1
|LvlB= 20
|LvlA= 40
|LvlS= 60}}

|}

...produces:

Enemy name Special drops Mission LV C Mission LV B Mission LV A Mission LV S
Area drops special}} HU 1}} HU 20}} HU 40}} HU 60}}

Multiple Rows

{| class="wikitable" style="text-align:center"
|-
! Enemy name !! Special drops !! Mission LV C !! Mission LV B !! Mission LV A !! Mission LV S
|-
{{Mission drops row (PSP)|Source=Badira|Type=HU|LvlC=1|LvlB=20|LvlA=40|LvlS=60}}
{{Mission drops row (PSP)|Source=Rappy|Type=HU|LvlC=1|LvlB=20|LvlA=40|LvlS=60}}
|}

...produces:

Enemy name Special drops Mission LV C Mission LV B Mission LV A Mission LV S
Badira special}} HU 1}} HU 20}} HU 40}} HU 60}}
Rappy special}} HU 1}} HU 20}} HU 40}} HU 60}}

Omitting Levels

{| class="wikitable" style="text-align:center"
|-
! Enemy name !! Special drops !! Mission LV C !! Mission LV B !! Mission LV A !! Mission LV S
|-

{{Mission drops row (PSP)
|Source= Rappy
|Type= HU
|LvlC= 
|LvlB= 
|LvlA= 40
|LvlS= 60}}

|}

...produces:

Enemy name Special drops Mission LV C Mission LV B Mission LV A Mission LV S
Rappy special}} x x HU 40}} HU 60}}