Difference between revisions of "Template:Infobox Event"

From Unofficial Fantasica Wiki
Jump to: navigation, search
m (correcting test)
m (testing preceded/follows)
Line 1: Line 1:
 
{{Infobox
 
{{Infobox
 
|title  = {{{name|}}}
 
|title  = {{{name|}}}
|image  = {{#if:{{{image|}}}|[[Image:{{{image}}}|350px]]|{{Banner|{{{name}}}}} }}
+
|image  = {{#if:{{{image|}}} | [[Image:{{{image}}}|350px]] | {{Banner|{{{name}}}}} }}
 
|label1  = Start Date
 
|label1  = Start Date
 
|data1  = {{{start}}}
 
|data1  = {{{start}}}
Line 9: Line 9:
 
|data3  = [[{{{type}}}]]
 
|data3  = [[{{{type}}}]]
 
|label4  = Event Cards
 
|label4  = Event Cards
|data4  = {{{cards|}}}
+
|data4  = {{#if: {{{cards|}}} | {{{cards}}} }}
 
|label5  = Japanese Wiki
 
|label5  = Japanese Wiki
|data5  = {{{jpwiki|''none''}}}
+
|data5  = {{#if: {{{jpwiki|}}} | {{{jpwiki}}} }}
|data6   = {{#ifexist: Image:{{{name}}}_announcement.jpg|[[Image:{{{name}}}_announcement.jpg|350px]]|{{#ifexist: Image:{{{name}}}_announcement.png|[[Image:{{{name}}}_announcement.png|350px]]}}}}
+
|label6  = ''Preceded By''
|data7   = {{#ifexist: Image:{{{name}}}_release.jpg|[[Image:{{{name}}}_release.jpg|350px]]|{{#ifexist: Image:{{{name}}}_release.png|[[Image:{{{name}}}_release.png|350px]]}}}}
+
|data6  = {{#if: {{{preceded|}}} | {{{preceded}}} }}
 +
|label7  = ''Followed By''
 +
|data7  = {{#if: {{{followed|}}} | {{{followed}}} }}
 +
|data8   = {{#ifexist: Image:{{{name}}}_announcement.jpg|[[Image:{{{name}}}_announcement.jpg|350px]]|{{#ifexist: Image:{{{name}}}_announcement.png|[[Image:{{{name}}}_announcement.png|350px]]}}}}
 +
|data9   = {{#ifexist: Image:{{{name}}}_release.jpg|[[Image:{{{name}}}_release.jpg|350px]]|{{#ifexist: Image:{{{name}}}_release.png|[[Image:{{{name}}}_release.png|350px]]}}}}
 
}}
 
}}

Revision as of 15:02, 17 June 2014

Banner Not Found
Start Date {{{start}}}
End Date {{{end}}}
Event Type [[{{{type}}}]]
Personal tools
Namespaces

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