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

From PSU Cyril Wiki
Jump to: navigation, search
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
{{#if:{{{Enemy name|}}}|{{#if:{{{Type|}}}|
+
{{#if:{{{Source|}}}|{{#if:{{{Type|}}}|
{{!}} [[PSP:{{{Enemy name}}}{{!}}{{{Enemy name}}}]] {{!}}{{!}} {{{{{Enemy name}}} (PSP) {{!}} special}} {{!}}{{!}} {{#if:{{{LvlC|}}}|{{{{{Enemy name}}} (PSP) {{!}} {{{Type}}} {{{LvlC}}}}}|x}} {{!}}{{!}} {{#if:{{{LvlB|}}}|{{{{{Enemy name}}} (PSP) {{!}} {{{Type}}} {{{LvlB}}}}}|x}} {{!}}{{!}} {{#if:{{{LvlA|}}}|{{{{{Enemy name}}} (PSP) {{!}} {{{Type}}} {{{LvlA}}}}}|x}} {{!}}{{!}} {{#if:{{{LvlS|}}}|{{{{{Enemy name}}} (PSP) {{!}} {{{Type}}} {{{LvlS}}}}}|x}}
+
{{!}} {{#if:{{{Header|}}}|{{{Header}}}|[[PSP:{{{Source}}}{{!}}{{{Source}}}]]}} {{!}}{{!}} {{{{{Source}}} (PSP) {{!}} special}} {{!}}{{!}} {{#if:{{{LvlC|}}}|{{{{{Source}}} (PSP) {{!}} {{{Type}}} {{{LvlC}}}}}|x}} {{!}}{{!}} {{#if:{{{LvlB|}}}|{{{{{Source}}} (PSP) {{!}} {{{Type}}} {{{LvlB}}}}}|x}} {{!}}{{!}} {{#if:{{{LvlA|}}}|{{{{{Source}}} (PSP) {{!}} {{{Type}}} {{{LvlA}}}}}|x}} {{!}}{{!}} {{#if:{{{LvlS|}}}|{{{{{Source}}} (PSP) {{!}} {{{Type}}} {{{LvlS}}}}}|x}}
 
{{!}}-  
 
{{!}}-  
 
|{{!}} {{!}}{{!}} {{!}}{{!}} {{!}}{{!}} {{!}}{{!}}  
 
|{{!}} {{!}}{{!}} {{!}}{{!}} {{!}}{{!}} {{!}}{{!}}  
Line 14: Line 14:
  
 
== Template Parameters ==
 
== Template Parameters ==
'''Enemy name''': The name of the enemy for which to display the drop information.<br/>
+
'''Source''': The name of the enemy or area from which to display drop information.<br/>
 +
'''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.<br/>
 
'''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.<br/>
 
'''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.<br/>
 
'''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.
 
'''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.
Line 21: Line 22:
 
<pre>
 
<pre>
 
{{User:RoloTomassi/Mission enemy drop row (PSP)
 
{{User:RoloTomassi/Mission enemy drop row (PSP)
|Enemy name=  
+
|Source=
 +
|Header=  
 
|Type=  
 
|Type=  
 
|LvlC=  
 
|LvlC=  
Line 39: Line 41:
  
 
{{User:RoloTomassi/Mission enemy drop row (PSP)
 
{{User:RoloTomassi/Mission enemy drop row (PSP)
|Enemy name= Rappy
+
|Source= Rappy
 
|Type= HU
 
|Type= HU
 
|LvlC= 1
 
|LvlC= 1
Line 55: Line 57:
  
 
{{User:RoloTomassi/Mission enemy drop row (PSP)
 
{{User:RoloTomassi/Mission enemy drop row (PSP)
|Enemy name= Rappy
+
|Source= Rappy
 +
|Type= HU
 +
|LvlC= 1
 +
|LvlB= 20
 +
|LvlA= 40
 +
|LvlS= 60}}
 +
 
 +
|}
 +
 
 +
== Area Sample ==
 +
Placed in a table, as so...
 +
<pre>
 +
{| class="wikitable" style="text-align:center"
 +
|-
 +
! Enemy name !! Special drops !! Mission LV C !! Mission LV B !! Mission LV A !! Mission LV S
 +
|-
 +
 
 +
{{User:RoloTomassi/Mission enemy drop row (PSP)
 +
|Source= Linear Line area
 +
|Header= Area drops
 +
|Type= HU
 +
|LvlC= 1
 +
|LvlB= 20
 +
|LvlA= 40
 +
|LvlS= 60}}
 +
 
 +
|}
 +
</pre>
 +
...produces:
 +
{| class="wikitable" style="text-align:center"
 +
|-
 +
! Enemy name !! Special drops !! Mission LV C !! Mission LV B !! Mission LV A !! Mission LV S
 +
|-
 +
 
 +
{{User:RoloTomassi/Mission enemy drop row (PSP)
 +
|Source= Linear Line area
 +
|Header= Area drops
 
|Type= HU
 
|Type= HU
 
|LvlC= 1
 
|LvlC= 1
Line 70: Line 108:
 
! Enemy name !! Special drops !! Mission LV C !! Mission LV B !! Mission LV A !! Mission LV S
 
! Enemy name !! Special drops !! Mission LV C !! Mission LV B !! Mission LV A !! Mission LV S
 
|-
 
|-
{{User:RoloTomassi/Mission enemy drop row (PSP)|Enemy name=Badira|Type=HU|LvlC=1|LvlB=20|LvlA=40|LvlS=60}}
+
{{User:RoloTomassi/Mission enemy drop row (PSP)|Source=Badira|Type=HU|LvlC=1|LvlB=20|LvlA=40|LvlS=60}}
{{User:RoloTomassi/Mission enemy drop row (PSP)|Enemy name=Rappy|Type=HU|LvlC=1|LvlB=20|LvlA=40|LvlS=60}}
+
{{User:RoloTomassi/Mission enemy drop row (PSP)|Source=Rappy|Type=HU|LvlC=1|LvlB=20|LvlA=40|LvlS=60}}
 
|}
 
|}
 
</pre>
 
</pre>
Line 79: Line 117:
 
! Enemy name !! Special drops !! Mission LV C !! Mission LV B !! Mission LV A !! Mission LV S
 
! Enemy name !! Special drops !! Mission LV C !! Mission LV B !! Mission LV A !! Mission LV S
 
|-
 
|-
{{User:RoloTomassi/Mission enemy drop row (PSP)|Enemy name=Badira|Type=HU|LvlC=1|LvlB=20|LvlA=40|LvlS=60}}
+
{{User:RoloTomassi/Mission enemy drop row (PSP)|Source=Badira|Type=HU|LvlC=1|LvlB=20|LvlA=40|LvlS=60}}
{{User:RoloTomassi/Mission enemy drop row (PSP)|Enemy name=Rappy|Type=HU|LvlC=1|LvlB=20|LvlA=40|LvlS=60}}
+
{{User:RoloTomassi/Mission enemy drop row (PSP)|Source=Rappy|Type=HU|LvlC=1|LvlB=20|LvlA=40|LvlS=60}}
 
|}
 
|}
  
Line 91: Line 129:
  
 
{{User:RoloTomassi/Mission enemy drop row (PSP)
 
{{User:RoloTomassi/Mission enemy drop row (PSP)
|Enemy name= Rappy
+
|Source= Rappy
 
|Type= HU
 
|Type= HU
 
|LvlC=  
 
|LvlC=  
Line 107: Line 145:
  
 
{{User:RoloTomassi/Mission enemy drop row (PSP)
 
{{User:RoloTomassi/Mission enemy drop row (PSP)
|Enemy name= Rappy
+
|Source= Rappy
 
|Type= HU
 
|Type= HU
 
|LvlC=  
 
|LvlC=  

Revision as of 18:06, 3 April 2009


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.

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

{{User:RoloTomassi/Mission enemy drop 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
|-

{{User:RoloTomassi/Mission enemy drop row (PSP)
|Source= Rappy
|Type= HU
|LvlC= 1
|LvlB= 20
|LvlA= 40
|LvlS= 60}}

|}

...produces:

User:RoloTomassi/Mission enemy drop row (PSP)
Enemy name Special drops Mission LV C Mission LV B Mission LV A Mission LV S

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
|-

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

|}

...produces:

User:RoloTomassi/Mission enemy drop row (PSP)
Enemy name Special drops Mission LV C Mission LV B Mission LV A Mission LV S

Multiple Rows

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

...produces:

User:RoloTomassi/Mission enemy drop row (PSP)User:RoloTomassi/Mission enemy drop row (PSP)
Enemy name Special drops Mission LV C Mission LV B Mission LV A Mission LV S

Omitting Levels

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

{{User:RoloTomassi/Mission enemy drop row (PSP)
|Source= Rappy
|Type= HU
|LvlC= 
|LvlB= 
|LvlA= 40
|LvlS= 60}}

|}

...produces:

User:RoloTomassi/Mission enemy drop row (PSP)
Enemy name Special drops Mission LV C Mission LV B Mission LV A Mission LV S