Difference between revisions of "Template:Area drop chart"

From PSU Cyril Wiki
Jump to: navigation, search
(Added support for LV175 tier drops.)
(This should clear up a bunch of unnecessary coding as well as add the 190-200 tier.. Hopefully I didn't break it!)
Line 1: Line 1:
 
<includeonly>{| class="wikitable" style="text-align:center; font-size:90%"
 
<includeonly>{| class="wikitable" style="text-align:center; font-size:90%"
{{#ifeq: {{{Ver.}}}|AOTI| |! colspan="8" {{!}} ''Phantasy Star Universe''
+
{{#ifeq: {{{Ver.|}}}|AOTI||! colspan="9" {{!}} ''Phantasy Star Universe''
 
{{!}}-
 
{{!}}-
! LV !! Special drops !! 1-9 !! 10-19 !! 20-29 !! 30-39 !! 40-49 !! 50-59
+
! LV !! Special drops !! LV1-9 !! LV10-19 !! LV20-29 !! LV30-39 !! LV40-49 !! LV50-59 !! LV60-69
 
{{!}}-
 
{{!}}-
 
! Drop<br/>items
 
! Drop<br/>items
{{!}} {{#if: {{{Area name}}}|{{{{{Area name}}} {{#switch: {{{Drop type}}}
+
{{!}} rowspan="5" {{!}} {{#if: {{{Area name|}}}|{{{{{Area name}}} area | special}}|?}} {{!}}{{!}} {{#if: {{{Area name|}}}|{{{{{Area name}}} area | 1}}|?}} {{!}}{{!}} {{#if: {{{Area name|}}}|{{{{{Area name}}} area | 10}}|?}} {{!}}{{!}} {{#if: {{{Area name|}}}|{{{{{Area name}}} area | 20}}|?}} {{!}}{{!}} {{#if: {{{Area name|}}}|{{{{{Area name}}} area | 30}}|?}} {{!}}{{!}} {{#if: {{{Area name|}}}|{{{{{Area name}}} area | 40}}|?}} {{!}}{{!}} {{#if: {{{Area name|}}}|{{{{{Area name}}} area | 50}}|?}} {{!}}{{!}} {{#if: {{{Area name|}}}|{{{{{Area name}}} area | 60}}|?}}
|Area= area
 
|Box= box}} | special}}|--}} {{!}}{{!}} {{#if: {{{Area name}}}|{{{{{Area name}}} {{#switch: {{{Drop type}}}
 
|Area= area
 
|Box= box}} | 1}}|--}} {{!}}{{!}} {{#if: {{{Area name}}}|{{{{{Area name}}} {{#switch: {{{Drop type}}}
 
|Area= area
 
|Box= box}} | 10}}|--}} {{!}}{{!}} {{#if: {{{Area name}}}|{{{{{Area name}}} {{#switch: {{{Drop type}}}
 
|Area= area
 
|Box= box}} | 20}}|--}} {{!}}{{!}} {{#if: {{{Area name}}}|{{{{{Area name}}} {{#switch: {{{Drop type}}}
 
|Area= area
 
|Box= box}} | 30}}|--}} {{!}}{{!}} {{#if: {{{Area name}}}|{{{{{Area name}}} {{#switch: {{{Drop type}}}
 
|Area= area
 
|Box= box}} | 40}}|--}} {{!}}{{!}} {{#if: {{{Area name}}}|{{{{{Area name}}} {{#switch: {{{Drop type}}}
 
|Area= area
 
|Box= box}} | 50}}|--}}
 
 
{{!}}-
 
{{!}}-
 
! Missions
 
! Missions
{{!}} {{#if: {{{PSU missions}}}|{{{PSU missions}}}|--}} {{!}}{{!}} {{#if: {{{PSU missions 1}}}|{{{PSU missions 1}}}|--}} {{!}}{{!}} {{#if: {{{PSU missions 10}}}|{{{PSU missions 10}}}|--}} {{!}}{{!}} {{#if: {{{PSU missions 20}}}|{{{PSU missions 20}}}|--}} {{!}}{{!}} {{#if: {{{PSU missions 30}}}|{{{PSU missions 30}}}|--}} {{!}}{{!}} {{#if: {{{PSU missions 40}}}|{{{PSU missions 40}}}|--}} {{!}}{{!}} {{#if: {{{PSU missions 50}}}|{{{PSU missions 50}}}|--}}
+
{{!}} {{#if: {{{PSU missions 1|}}}|{{{PSU missions 1}}}|--}} {{!}}{{!}} {{#if: {{{PSU missions 10|}}}|{{{PSU missions 10}}}|--}} {{!}}{{!}} {{#if: {{{PSU missions 20|}}}|{{{PSU missions 20}}}|--}} {{!}}{{!}} {{#if: {{{PSU missions 30|}}}|{{{PSU missions 30}}}|--}} {{!}}{{!}} {{#if: {{{PSU missions 40|}}}|{{{PSU missions 40}}}|--}} {{!}}{{!}} {{#if: {{{PSU missions 50|}}}|{{{PSU missions 50}}}|--}} {{!}}{{!}} {{#if: {{{PSU missions 60|}}}|{{{PSU missions 60}}}|--}}
 
{{!}}-
 
{{!}}-
! LV !! 60-69 !! 70-79 !! 80-99 !! 100-124 !! 125-149 !! 150-174 !! 175-199
+
! LV !! LV70-79 !! LV80-99 !! LV100-124 !! LV125-149 !! LV150-174 !! LV175-189 !! LV190-200
 
{{!}}-
 
{{!}}-
 
! Drop<br/>items
 
! Drop<br/>items
{{!}} {{#if: {{{Area name}}}|{{{{{Area name}}} {{#switch: {{{Drop type}}}
+
{{!}} {{#if: {{{Area name|}}}|{{{{{Area name}}} area | 70}}|?}} {{!}}{{!}} {{#if: {{{Area name|}}}|{{{{{Area name}}} area | 80}}|?}} {{!}}{{!}} {{#if: {{{Area name|}}}|{{{{{Area name}}} area | 100}}|?}} {{!}}{{!}} x {{!}}{{!}} x {{!}}{{!}} x {{!}}{{!}} x
|Area= area
+
{{!}}-
|Box= box}} | 60}}|--}} {{!}}{{!}} {{#if: {{{Area name}}}|{{{{{Area name}}} {{#switch: {{{Drop type}}}
 
|Area= area
 
|Box= box}} | 70}}|--}} {{!}}{{!}} {{#if: {{{Area name}}}|{{{{{Area name}}} {{#switch: {{{Drop type}}}
 
|Area= area
 
|Box= box}} | 80}}|--}} {{!}}{{!}} {{#if: {{{Area name}}}|{{{{{Area name}}} {{#switch: {{{Drop type}}}
 
|Area= area
 
|Box= box}} | 100}}|--}} {{!}}{{!}} x {{!}}{{!}} x {{!}}{{!}} x
 
 
{{!}}-
 
{{!}}-
 
! Missions
 
! Missions
{{!}} {{#if: {{{PSU missions 60}}}|{{{PSU missions 60}}}|--}} {{!}}{{!}} {{#if: {{{PSU missions 70}}}|{{{PSU missions 70}}}|--}} {{!}}{{!}} {{#if: {{{PSU missions 80}}}|{{{PSU missions 80}}}|--}} {{!}}{{!}} {{#if: {{{PSU missions 100}}}|{{{PSU missions 100}}}|--}} {{!}}{{!}} x {{!}}{{!}} x {{!}}{{!}} x}}
+
{{!}} {{#if: {{{PSU missions|}}}|{{{PSU missions}}}|--}} {{!}}{{!}} {{#if: {{{PSU missions 70|}}}|{{{PSU missions 70}}}|--}} {{!}}{{!}} {{#if: {{{PSU missions 80|}}}|{{{PSU missions 80}}}|--}} {{!}}{{!}} {{#if: {{{PSU missions 100|}}}|{{{PSU missions 100}}}|--}} {{!}}{{!}} x {{!}}{{!}} x {{!}}{{!}} x {{!}}{{!}} x
 +
{{!}}-}}
 +
! colspan="9" | ''Ambition of the Illuminus''
 
|-
 
|-
! colspan="8" | ''Ambition of the Illuminus''
+
! LV !! Special drops !! LV1-9 !! LV10-19 !! LV20-29 !! LV30-39 !! LV40-49 !! LV50-59 !! LV60-69
|-
 
! LV !! Special drops !! 1-9 !! 10-19 !! 20-29 !! 30-39 !! 40-49 !! 50-59
 
 
|-
 
|-
 
! Drop<br/>items
 
! Drop<br/>items
| {{#if: {{{Area name}}}|{{{{{Area name}}} {{#switch: {{{Drop type}}}
+
| rowspan="5" | {{#if: {{{Area name|}}}|{{{{{Area name}}} area | AOTI special}}|?}} || {{#if: {{{Area name|}}}|{{{{{Area name}}} area | AOTI 1}}|?}} || {{#if: {{{Area name|}}}|{{{{{Area name}}} area | AOTI 10}}|?}} || {{#if: {{{Area name|}}}|{{{{{Area name}}} area | AOTI 20}}|?}} || {{#if: {{{Area name|}}}|{{{{{Area name}}} area | AOTI 30}}|?}} || {{#if: {{{Area name|}}}|{{{{{Area name}}} area | AOTI 40}}|?}} || {{#if: {{{Area name|}}}|{{{{{Area name}}} area | AOTI 50}}|?}} || {{#if: {{{Area name|}}}|{{{{{Area name}}} area | AOTI 60}}|?}}
|Area= area
 
|Box= box}} | AOTI special}}|--}} || {{#if: {{{Area name}}}|{{{{{Area name}}} {{#switch: {{{Drop type}}}
 
|Area= area
 
|Box= box}} | AOTI 1}}|--}} || {{#if: {{{Area name}}}|{{{{{Area name}}} {{#switch: {{{Drop type}}}
 
|Area= area
 
|Box= box}} | AOTI 10}}|--}} || {{#if: {{{Area name}}}|{{{{{Area name}}} {{#switch: {{{Drop type}}}
 
|Area= area
 
|Box= box}} | AOTI 20}}|--}} || {{#if: {{{Area name}}}|{{{{{Area name}}} {{#switch: {{{Drop type}}}
 
|Area= area
 
|Box= box}} | AOTI 30}}|--}} || {{#if: {{{Area name}}}|{{{{{Area name}}} {{#switch: {{{Drop type}}}
 
|Area= area
 
|Box= box}} | AOTI 40}}|--}} || {{#if: {{{Area name}}}|{{{{{Area name}}} {{#switch: {{{Drop type}}}
 
|Area= area
 
|Box= box}} | AOTI 50}}|--}}
 
 
|-
 
|-
 
! Missions
 
! Missions
| {{#if: {{{AOTI missions}}}|{{{AOTI missions}}}|--}} || {{#if: {{{AOTI missions 1}}}|{{{AOTI missions 1}}}|--}} || {{#if: {{{AOTI missions 10}}}|{{{AOTI missions 10}}}|--}} || {{#if: {{{AOTI missions 20}}}|{{{AOTI missions 20}}}|--}} || {{#if: {{{AOTI missions 30}}}|{{{AOTI missions 30}}}|--}} || {{#if: {{{AOTI missions 40}}}|{{{AOTI missions 40}}}|--}} || {{#if: {{{AOTI missions 50}}}|{{{AOTI missions 50}}}|--}}
+
| {{#if: {{{AOTI missions 1|}}}|{{{AOTI missions 1}}}|--}} || {{#if: {{{AOTI missions 10|}}}|{{{AOTI missions 10}}}|--}} || {{#if: {{{AOTI missions 20|}}}|{{{AOTI missions 20}}}|--}} || {{#if: {{{AOTI missions 30|}}}|{{{AOTI missions 30}}}|--}} || {{#if: {{{AOTI missions 40|}}}|{{{AOTI missions 40}}}|--}} || {{#if: {{{AOTI missions 50|}}}|{{{AOTI missions 50}}}|--}} || {{#if: {{{AOTI missions 60|}}}|{{{AOTI missions 60}}}|--}}
 
|-
 
|-
! LV !! 60-69 !! 70-79 !! 80-99 !! 100-124 !! 125-149 !! 150-174 !! 175-199
+
! LV !! LV70-79 !! LV80-99 !! LV100-124 !! LV125-149 !! LV150-174 !! LV175-189 !! LV190-200
 
|-
 
|-
 
! Drop<br/>items
 
! Drop<br/>items
| {{#if: {{{Area name}}}|{{{{{Area name}}} {{#switch: {{{Drop type}}}
+
| {{#if: {{{Area name|}}}|{{{{{Area name}}} area | AOTI 70}}|?}} || {{#if: {{{Area name|}}}|{{{{{Area name}}} area | AOTI 80}}|?}} || {{#if: {{{Area name|}}}|{{{{{Area name}}} area | AOTI 100}}|?}} || {{#if: {{{Area name|}}}|{{{{{Area name}}} area | AOTI 125}}|?}} || {{#if: {{{Area name|}}}|{{{{{Area name}}} area | AOTI 150}}|?}} || {{#if: {{{Area name|}}}|{{{{{Area name}}} area | AOTI 175}}|?}} || {{#if: {{{Area name|}}}|{{{{{Area name}}} area | AOTI 190}}|?}}
|Area= area
 
|Box= box}} | AOTI 60}}|--}} || {{#if: {{{Area name}}}|{{{{{Area name}}} {{#switch: {{{Drop type}}}
 
|Area= area
 
|Box= box}} | AOTI 70}}|--}} || {{#if: {{{Area name}}}|{{{{{Area name}}} {{#switch: {{{Drop type}}}
 
|Area= area
 
|Box= box}} | AOTI 80}}|--}} || {{#if: {{{Area name}}}|{{{{{Area name}}} {{#switch: {{{Drop type}}}
 
|Area= area
 
|Box= box}} | AOTI 100}}|--}} || {{#if: {{{Area name}}}|{{{{{Area name}}} {{#switch: {{{Drop type}}}
 
|Area= area
 
|Box= box}} | AOTI 125}}|--}} || {{#if: {{{Area name}}}|{{{{{Area name}}} {{#switch: {{{Drop type}}}
 
|Area= area
 
|Box= box}} | AOTI 150}}|--}} || {{#if: {{{Area name}}}|{{{{{Area name}}} {{#switch: {{{Drop type}}}
 
|Area= area
 
|Box= box}} | AOTI 175}}|--}}
 
 
|-
 
|-
 
! Missions
 
! Missions
| {{#if: {{{AOTI missions 60}}}|{{{AOTI missions 60}}}|--}} || {{#if: {{{AOTI missions 70}}}|{{{AOTI missions 70}}}|--}} || {{#if: {{{AOTI missions 80}}}|{{{AOTI missions 80}}}|--}} || {{#if: {{{AOTI missions 100}}}|{{{AOTI missions 100}}}|--}} || {{#if: {{{AOTI missions 125}}}|{{{AOTI missions 125}}}|--}} || {{#if: {{{AOTI missions 150}}}|{{{AOTI missions 150}}}|--}} || {{#if: {{{AOTI missions 175}}}|{{{AOTI missions 175}}}|--}}
+
| {{#if: {{{AOTI missions|}}}|{{{AOTI missions}}}|--}} || {{#if: {{{AOTI missions 70|}}}|{{{AOTI missions 70}}}|--}} || {{#if: {{{AOTI missions 80|}}}|{{{AOTI missions 80}}}|--}} || {{#if: {{{AOTI missions 100|}}}|{{{AOTI missions 100}}}|--}} || {{#if: {{{AOTI missions 125|}}}|{{{AOTI missions 125}}}|--}} || {{#if: {{{AOTI missions 150|}}}|{{{AOTI missions 150}}}|--}} || {{#if: {{{AOTI missions 175|}}}|{{{AOTI missions 175}}}|--}} || {{#if: {{{AOTI missions 190|}}}|{{{AOTI missions 190}}}|--}}
 
|}</includeonly><noinclude>
 
|}</includeonly><noinclude>
== Examples ==
+
=== Blank template ===
=== Blank table ===
 
 
<pre>{{Area drop chart
 
<pre>{{Area drop chart
 
|Area name=  
 
|Area name=  
|Drop type=
 
|Ver.=
 
|PSU missions=
 
|PSU missions 1=
 
|PSU missions 10=
 
|PSU missions 20=
 
|PSU missions 30=
 
|PSU missions 40=
 
|PSU missions 50=
 
|PSU missions 60=
 
|PSU missions 70=
 
|PSU missions 80=
 
|PSU missions 100=
 
|AOTI missions=
 
|AOTI missions 1=
 
|AOTI missions 10=
 
|AOTI missions 20=
 
|AOTI missions 30=
 
|AOTI missions 40=
 
|AOTI missions 50=
 
|AOTI missions 60=
 
|AOTI missions 70=
 
|AOTI missions 80=
 
|AOTI missions 100=
 
|AOTI missions 125=
 
|AOTI missions 150=
 
|AOTI missions 175= }}</pre>
 
 
=== PSU table ===
 
{{Area drop chart
 
|Area name= Meadow
 
|Drop type= Area
 
 
|Ver.=  
 
|Ver.=  
 
|PSU missions=  
 
|PSU missions=  
Line 147: Line 65:
 
|AOTI missions 125=  
 
|AOTI missions 125=  
 
|AOTI missions 150=  
 
|AOTI missions 150=  
|AOTI missions 175= }}
+
|AOTI missions 175=  
 
+
|AOTI missions 190= }}</pre>
=== AOTI table ===
 
{{Area drop chart
 
|Area name= Il Cabo
 
|Drop type= Box
 
|Ver.= AOTI
 
|AOTI missions=
 
|AOTI missions 1=
 
|AOTI missions 10=
 
|AOTI missions 20=
 
|AOTI missions 30=
 
|AOTI missions 40=
 
|AOTI missions 50=
 
|AOTI missions 60=
 
|AOTI missions 70=
 
|AOTI missions 80=
 
|AOTI missions 100=
 
|AOTI missions 125=
 
|AOTI missions 150=  
 
|AOTI missions 175= }}
 
  
[[Category:Database Templates]]</noinclude>
+
[[Category:Article templates|{{PAGENAME}}]]</noinclude>

Revision as of 00:33, 4 April 2012

Blank template

{{Area drop chart
|Area name= 
|Ver.= 
|PSU missions= 
|PSU missions 1= 
|PSU missions 10= 
|PSU missions 20= 
|PSU missions 30= 
|PSU missions 40= 
|PSU missions 50= 
|PSU missions 60= 
|PSU missions 70= 
|PSU missions 80= 
|PSU missions 100= 
|AOTI missions= 
|AOTI missions 1= 
|AOTI missions 10= 
|AOTI missions 20= 
|AOTI missions 30= 
|AOTI missions 40= 
|AOTI missions 50= 
|AOTI missions 60= 
|AOTI missions 70= 
|AOTI missions 80= 
|AOTI missions 100= 
|AOTI missions 125= 
|AOTI missions 150= 
|AOTI missions 175= 
|AOTI missions 190= }}