If you are looking for Information about PSU Clementine, Go check their Wiki

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

From The re-PSUPedia
Jump to: navigation, search
(New page: <includeonly> {{#if:{{{Enemy name|}}}|{{#if:{{{Type|}}}| {{!}} [[PSP:{{{Enemy name}}}{{!}}{{{Enemy name}}}]] {{!}}{{!}} {{{{{Enemy name}}} (PSP) {{!}} special}} {{!}}{{!}} {{#if:{{{LvlC|}}...)
 
m (Organizing: adding category)
 
(9 intermediate revisions by the same user not shown)
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}}
| {{!}}{{!}} {{!}}{{!}} {{!}}{{!}} {{!}}{{!}} }}| {{!}}{{!}} {{!}}{{!}} {{!}}{{!}} {{!}}{{!}} }}
+
{{!}}-
</includeonly>
+
|{{!}} {{!}}{{!}} {{!}}{{!}} {{!}}{{!}} {{!}}{{!}}  
<noinclude>
+
{{!}}- }}
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.
+
|{{!}} {{!}}{{!}} {{!}}{{!}} {{!}}{{!}} {{!}}{{!}}
 +
{{!}}- }}
 +
</includeonly><noinclude>
 +
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 ==
 
== 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 14: Line 20:
 
== Blank Template ==
 
== Blank Template ==
 
<pre>
 
<pre>
{{User:RoloTomassi/Mission enemy drop info (PSP)
+
{{Mission drops row (PSP)
|Enemy name=  
+
|Source=
 +
|Header=  
 
|Type=  
 
|Type=  
 
|LvlC=  
 
|LvlC=  
Line 24: Line 31:
 
</pre>
 
</pre>
  
== Badira Sample ==
+
== Rappy Sample ==
 +
Placed in a table, as so...
 
<pre>
 
<pre>
{{User:RoloTomassi/Mission enemy drop info (PSP)
+
{| class="wikitable" style="text-align:center"
|Enemy name= Badira
+
|-
 +
! Enemy name !! Special drops !! Mission LV C !! Mission LV B !! Mission LV A !! Mission LV S
 +
|-
 +
 
 +
{{Mission drops row (PSP)
 +
|Source= Rappy
 
|Type= HU
 
|Type= HU
 
|LvlC= 1
 
|LvlC= 1
Line 33: Line 46:
 
|LvlA= 40
 
|LvlA= 40
 
|LvlS= 60}}
 
|LvlS= 60}}
 +
 +
|}
 
</pre>
 
</pre>
 
...produces:
 
...produces:
{{User:RoloTomassi/Mission enemy drop info (PSP)
+
{| class="wikitable" style="text-align:center"
|Enemy name= Badira
+
|-
 +
! Enemy name !! Special drops !! Mission LV C !! Mission LV B !! Mission LV A !! Mission LV S
 +
|-
 +
 
 +
{{Mission drops row (PSP)
 +
|Source= Rappy
 
|Type= HU
 
|Type= HU
 
|LvlC= 1
 
|LvlC= 1
Line 42: Line 62:
 
|LvlA= 40
 
|LvlA= 40
 
|LvlS= 60}}
 
|LvlS= 60}}
</noinclude>
+
 
 +
|}
 +
 
 +
== 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
 +
|-
 +
 
 +
{{Mission drops 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
 +
|-
 +
 
 +
{{Mission drops row (PSP)
 +
|Source= Linear Line area
 +
|Header= Area drops
 +
|Type= HU
 +
|LvlC= 1
 +
|LvlB= 20
 +
|LvlA= 40
 +
|LvlS= 60}}
 +
 
 +
|}
 +
 
 +
== Multiple Rows ==
 +
<pre>
 +
{| 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}}
 +
|}
 +
</pre>
 +
...produces:
 +
{| 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}}
 +
|}
 +
 
 +
== Omitting Levels ==
 +
<pre>
 +
{| 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}}
 +
 
 +
|}
 +
</pre>
 +
...produces:
 +
{| 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}}
 +
 
 +
|}
 +
 
 +
[[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}}