Template:InfoItem: Difference between revisions

From the Kingdom Hearts Wiki, the Kingdom Hearts encyclopedia
Jump to navigationJump to search
(I don't think there's a problem with just using DDDitem1; if necessary, the tab handlers can be contained within item2 if templates, rather than duplicating parameters)
(I think this way, if there is only one item, it won't show the tab.)
Line 293: Line 293:
{{!}}colspan="4" style="background:#FFFFFF; color:#000000; text-align:center"{{!}}<div class="tabber" style="float:center;">
{{!}}colspan="4" style="background:#FFFFFF; color:#000000; text-align:center"{{!}}<div class="tabber" style="float:center;">
{{#if:{{{DDDitem1|}}}|<nowiki/>
{{#if:{{{DDDitem1|}}}|<nowiki/>
<div class="tabbertab" title="{{{DDDitem1|}}}"><center>[[File:{{{DDDimage1|}}}|{{{DDDitem1|}}}]]</center><small>''"{{{DDDdesc1|}}}"''</small></div>
{{#if:{{{DDDitem2|}}}|<nowiki/><div class="tabbertab" title="{{{DDDitem1|}}}">}}<center>[[File:{{{DDDimage1|}}}|{{{DDDitem1|}}}]]</center><small>''"{{{DDDdesc1|}}}"''</small></div>
}}{{#if:{{{DDDitem2|}}}|<nowiki/>
}}{{#if:{{{DDDitem2|}}}|<nowiki/>
<div class="tabbertab" title="{{{DDDitem2|}}}"><center>[[File:{{{DDDimage2|}}}|{{{DDDitem2|}}}]]</center><small>''"{{{DDDdesc2|}}}"''</small></div>
<div class="tabbertab" title="{{{DDDitem2|}}}"><center>[[File:{{{DDDimage2|}}}|{{{DDDitem2|}}}]]</center><small>''"{{{DDDdesc2|}}}"''</small></div>

Revision as of 17:21, 4 March 2013