Difference between revisions of "Template:Mission drops row (PSP)"
RoloTomassi (talk | contribs) |
RoloTomassi (talk | contribs) m (Organizing: adding category) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
− | {{#if:{{{ | + | {{#if:{{{Source|}}}|{{#if:{{{Type|}}}| |
− | {{!}} [[PSP:{{{ | + | {{!}} {{#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 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 isn't much shorter than typing out the equivalent wikitext, but it requires less tweaking if you copy/paste it | + | 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 == | ||
− | ''' | + | '''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 20: | Line 20: | ||
== Blank Template == | == Blank Template == | ||
<pre> | <pre> | ||
− | {{ | + | {{Mission drops row (PSP) |
− | | | + | |Source= |
+ | |Header= | ||
|Type= | |Type= | ||
|LvlC= | |LvlC= | ||
Line 38: | Line 39: | ||
|- | |- | ||
− | {{ | + | {{Mission drops row (PSP) |
− | | | + | |Source= Rappy |
|Type= HU | |Type= HU | ||
|LvlC= 1 | |LvlC= 1 | ||
Line 54: | Line 55: | ||
|- | |- | ||
− | {{ | + | {{Mission drops row (PSP) |
− | |Enemy name= | + | |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 | ||
+ | |- | ||
+ | |||
+ | {{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 | |Type= HU | ||
|LvlC= 1 | |LvlC= 1 | ||
Line 70: | Line 107: | ||
! 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 | ||
|- | |- | ||
− | {{ | + | {{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> | </pre> | ||
Line 79: | Line 116: | ||
! 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 | ||
|- | |- | ||
− | {{ | + | {{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}} |
|} | |} | ||
Line 90: | Line 127: | ||
|- | |- | ||
− | {{ | + | {{Mission drops row (PSP) |
− | | | + | |Source= Rappy |
|Type= HU | |Type= HU | ||
|LvlC= | |LvlC= | ||
Line 106: | Line 143: | ||
|- | |- | ||
− | {{ | + | {{Mission drops row (PSP) |
− | | | + | |Source= Rappy |
|Type= HU | |Type= HU | ||
|LvlC= | |LvlC= | ||
Line 116: | 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.
Contents
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}} |