Difference between revisions of "Template:Infobox Series"

From Unofficial Fantasica Wiki
Jump to: navigation, search
(Adding support for images based on name instead of explicitly setting them.)
m
 
(23 intermediate revisions by one user not shown)
Line 1: Line 1:
 
{{Infobox
 
{{Infobox
 
|title  = {{{name|}}}
 
|title  = {{{name|}}}
|image  = {{#if:{{{image|}}}|[[Image:{{{image}}}|350px]]|{{Banner|{{{name}}}}} }}
+
|image  = {{#ifexist: Image:{{{name}}}_banner.jpg|[[Image:{{{name}}}_banner.jpg|350px]]|{{#ifexist: Image:{{{name}}}_banner.png|[[Image:{{{name}}}_banner.png|350px]]|{{#if:{{{banner|}}}|[[Image:{{{banner}}}|350px]]}}}}}}
 
|label1  = Start Date
 
|label1  = Start Date
 
|data1  = {{{start}}}
 
|data1  = {{{start}}}
 
|label2  = End Date
 
|label2  = End Date
 
|data2  = {{{end}}}
 
|data2  = {{{end}}}
|label3  = Related Event
+
|label3  = Pack Type
|data3   = {{{event|''none''}}}
+
|data3 = {{#if: {{{packtype|}}} | {{{packtype}}} }}
|label4  = ★★★★★★
+
|label4  = Related Event
|data4  = {{{6star|0}}}
+
|data4  = {{{event|''none''}}}
|label5  = ★★★★★
+
|label5  = 15★
|data5  = {{{5star|0}}}
+
|data5  = {{#if: {{{15star|}}} | {{{15star}}} }}
|label6  = ★★★★
+
|label6  = 14★
|data6  = {{{4star|0}}}
+
|data6  = {{#if: {{{14star|}}} | {{{14star}}} }}
|label7  = ★★★
+
|label7  = 13★
|data7  = {{{3star|0}}}
+
|data7  = {{#if: {{{13star|}}} | {{{13star}}} }}
|label8  = Japanese Wiki
+
|label8  = 12★
|data8  = {{{jpwiki|''none''}}}
+
|data8  = {{#if: {{{12star|}}} | {{{12star}}} }}
|data9  = {{#ifexist: Image:{{{name}}}_announcement.jpg|[[Image:{{{name}}}_announcement.jpg|350px]]|{{#ifexist: Image:{{{name}}}_announcement.png|[[Image:{{{name}}}_announcement.png|350px]]}}}}
+
|label9  = 11★
 +
|data9  = {{#if: {{{11star|}}} | {{{11star}}} }}
 +
|label10  = 10★
 +
|data10  = {{#if: {{{10star|}}} | {{{10star}}} }}
 +
|label11 = 9★
 +
|data11  = {{#if: {{{9star|}}} | {{{9star}}} }}
 +
|label12 = 8★
 +
|data12  = {{#if: {{{8star|}}} | {{{8star}}} }}
 +
|label13 = 7★
 +
|data13  = {{#if: {{{7star|}}} | {{{7star}}} }}
 +
|label14 = 6★
 +
|data14  = {{#if: {{{6star|}}} | {{{6star}}} }}
 +
|label15 = 5★
 +
|data15  = {{#if: {{{5star|}}} | {{{5star}}} }}
 +
|label16 = 4★
 +
|data16  = {{#if: {{{4star|}}} | {{{4star}}} }}
 +
|label17 = 3★
 +
|data17  = {{#if: {{{3star|}}} | {{{3star}}} }}
 +
|label18 = 2★
 +
|data18  = {{#if: {{{2star|}}} | {{{2star}}} }}
 +
|label19 = 1★
 +
|data19  = {{#if: {{{1star|}}} | {{{1star}}} }}
 +
|label20 = Japanese Wiki
 +
|data20  = {{#if: {{{jpwiki|}}} | {{{jpwiki|}}} }}
 +
|data21  = {{#ifexist: Image:{{{name}}}_announcement.jpg | [[Image:{{{name}}}_announcement.jpg|350px]] | {{#ifexist: Image:{{{name}}}_announcement.png | [[Image:{{{name}}}_announcement.png|350px]] | {{#ifexist: Image:{{{name}}}_announcement.jpeg | [[Image:{{{name}}}_announcement.jpeg|350px]]}}}}}}
 +
|data22  = {{#ifexist: Image:{{{name}}}_release.jpg | [[Image:{{{name}}}_release.jpg|350px]] | {{#ifexist: Image:{{{name}}}_release.png | [[Image:{{{name}}}_release.png|350px]]  | {{#ifexist: Image:{{{name}}}_release.jpeg | [[Image:{{{name}}}_release.jpeg|350px]]}}}}}}
 +
|data23  = {{#ifexist: Image:{{{name}}}_release2.jpg | [[Image:{{{name}}}_release2.jpg|350px]] | {{#ifexist: Image:{{{name}}}_release2.png | [[Image:{{{name}}}_release2.png|350px]]  | {{#ifexist: Image:{{{name}}}_release2.jpeg | [[Image:{{{name}}}_release2.jpeg|350px]]}}}}}}
 +
|data24  = {{#ifexist: Image:{{{name}}}_release3.jpg|[[Image:{{{name}}}_release3.jpg|350px]]|{{#ifexist: Image:{{{name}}}_release3.png|[[Image:{{{name}}}_release3.png|350px]]|{{#ifexist: Image:{{{name}}}_release3.jpeg|[[Image:{{{name}}}_release3.jpeg|350px]]}}}}}}
 +
|data25  = {{#ifexist: Image:{{{name}}}_packart.jpg | [[Image:{{{name}}}_packart.jpg|350px]] | {{#ifexist: Image:{{{name}}}_packart.png | [[Image:{{{name}}}_packart.png|350px]]  | {{#ifexist: Image:{{{name}}}_packart.jpeg | [[Image:{{{name}}}_packart.jpeg|350px]]}}}}}}
 +
|data26  = {{#ifexist: Image:{{{name}}}_packart2.jpg | [[Image:{{{name}}}_packart2.jpg|350px]] | {{#ifexist: Image:{{{name}}}_packart2.png | [[Image:{{{name}}}_packart2.png|350px]]  | {{#ifexist: Image:{{{name}}}_packart2.jpeg | [[Image:{{{name}}}_packart2.jpeg|350px]]}}}}}}
 +
|data27  = {{#ifexist: Image:{{{name}}}_packart3.jpg | [[Image:{{{name}}}_packart3.jpg|350px]] | {{#ifexist: Image:{{{name}}}_packart3.png | [[Image:{{{name}}}_packart3.png|350px]]  | {{#ifexist: Image:{{{name}}}_packart3.jpeg | [[Image:{{{name}}}_packart3.jpeg|350px]]}}}}}}
 +
|data28  = {{#ifexist: Image:{{{name}}}_packart4.jpg | [[Image:{{{name}}}_packart4.jpg|350px]] | {{#ifexist: Image:{{{name}}}_packart4.png | [[Image:{{{name}}}_packart4.png|350px]]  | {{#ifexist: Image:{{{name}}}_packart4.jpeg | [[Image:{{{name}}}_packart4.jpeg|350px]]}}}}}}
 
}}
 
}}

Latest revision as of 13:02, 27 December 2016

Start Date {{{start}}}
End Date {{{end}}}
Related Event none
Personal tools
Namespaces

Variants
Actions
Menu
Game Menu
Card Lists
Trading
External Resources
Toolbox
Google AdSense