Difference between revisions of "Template:Mission drops row (PSP)"
RoloTomassi (talk | contribs) |
RoloTomassi (talk | contribs) m (Organizing: adding category) |
||
(7 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}} |
− | | {{!}}{{!}} {{!}}{{!}} {{!}}{{!}} {{!}}{{!}} }}| {{!}}{{!}} {{!}}{{!}} {{!}}{{!}} {{!}}{{!}} }} | + | {{!}}- |
− | </includeonly> | + | |{{!}} {{!}}{{!}} {{!}}{{!}} {{!}}{{!}} {{!}}{{!}} |
− | <noinclude> | + | {{!}}- }} |
− | This template completes a row in a mission's drop table for a given battle type. | + | |{{!}} {{!}}{{!}} {{!}}{{!}} {{!}}{{!}} {{!}}{{!}} |
+ | {{!}}- }} | ||
+ | </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 == | ||
− | ''' | + | '''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> | ||
− | {{ | + | {{Mission drops row (PSP) |
− | | | + | |Source= |
+ | |Header= | ||
|Type= | |Type= | ||
|LvlC= | |LvlC= | ||
Line 25: | Line 32: | ||
== Rappy Sample == | == Rappy Sample == | ||
+ | Placed in a table, as so... | ||
<pre> | <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 | |Type= HU | ||
|LvlC= 1 | |LvlC= 1 | ||
Line 33: | Line 46: | ||
|LvlA= 40 | |LvlA= 40 | ||
|LvlS= 60}} | |LvlS= 60}} | ||
+ | |||
+ | |} | ||
</pre> | </pre> | ||
...produces: | ...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 | |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.
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}} |