Template:SmallNavBox: Difference between revisions

Jump to navigation Jump to search
no edit summary
[unchecked revision][unchecked revision]
No edit summary
No edit summary
Line 2:
Unfortunately, this template will not work because Parser Functions extension is not installed. The #if functions do not work. The idea was to create infoboxes for some subjects like on wikipedia [http://en.wikipedia.org/wiki/Wikipedia:Infobox_templates Infobox templates].
</noinclude>
 
{| class="infobox" style="width:210px; float: right; clear: right; text-align:center; margin-top:1em; "
|- style="font-size:90%; background:#DCF0FF"
| '''[[{{{Name}}}]]'''
|-
{{#if:{{{Image|}}}|{{!}}[[Image:{{{Image}}}{{!}}160px]]|}}
{{#if:{{{Label|}}}|{{!}}<div style="padding-top: 7px; padding-bottom: 4px;">{{{Label}}}|}}</div>
{{#if:{{{LabelId|}}}|
{{!}}- style="padding-top: 0px;font-size: 75%; line-height: 150%;"
{{!}}{{{LabelId}}}|}}
{{#if:{{{KeyItems|}}}|
{{!}}- style="font-size: 90%; line-height: 150%;"
{{!}}{{{KeyItems}}}|}}
{| class="collapsible {{#ifeq:Eq {{{Topic1|}}}|{{{cTopic}}}| | collapsed}}" width="100%"
!style=" text-align: left; background: #DCF0FF; font-size: 90%;"|{{{Topic1}}}
|-style="font-size: 90%; line-height: 150%;"
|{{{Items1}}}
|}{{#if:{{{Topic2|}}}|{{{!}} class="collapsible {{#ifeq:Eq {{{Topic2|}}}|{{{cTopic}}}| | collapsed}}" width="100%"
!style=" text-align: left; background: #DCF0FF; font-size: 90%;"{{!}}{{{Topic2}}}
{{!}}-style="font-size: 90%; line-height: 150%;"
{{!}}{{{Items2}}}
{{!}}}|}}{{#if:{{{Topic3|}}}|{{{!}} class="collapsible {{#ifeq:Eq {{{Topic3|}}}|{{{cTopic}}}| | collapsed}}" width="100%"
!style=" text-align: left; background: #DCF0FF; font-size: 90%;"{{!}}{{{Topic3}}}
{{!}}-style="font-size: 90%; line-height: 150%;"
{{!}}{{{Items3}}}
{{!}}}|}}{{#if:{{{Topic4|}}}|{{{!}} class="collapsible {{#ifeq:Eq {{{Topic4|}}}|{{{cTopic}}}| | collapsed}}" width="100%"
!style=" text-align: left; background: #DCF0FF; font-size: 90%;"{{!}}{{{Topic4}}}
{{!}}-style="font-size: 90%; line-height: 150%;"
{{!}}{{{Items4}}}
{{!}}}|}}{{#if:{{{Topic5|}}}|{{{!}} class="collapsible {{#ifeq:Eq {{{Topic5|}}}|{{{cTopic}}}| | collapsed}}" width="100%"
!style=" text-align: left; background: #DCF0FF; font-size: 90%;"{{!}}{{{Topic5}}}
{{!}}-style="font-size: 90%; line-height: 150%;"
{{!}}{{{Items5}}}
{{!}}}|}}{{#if:{{{Topic6|}}}|{{{!}} class="collapsible {{#ifeq:Eq {{{Topic6|}}}|{{{cTopic}}}| | collapsed}}" width="100%"
!style=" text-align: left; background: #DCF0FF; font-size: 90%;"{{!}}{{{Topic6}}}
{{!}}-style="font-size: 90%; line-height: 150%;"
{{!}}{{{Items6}}}
{{!}}}|}}{{#if:{{{Topic7|}}}|{{{!}} class="collapsible {{#ifeq:Eq {{{Topic7|}}}|{{{cTopic}}}| | collapsed}}" width="100%"
!style=" text-align: left; background: #DCF0FF; font-size: 90%;"{{!}}{{{Topic7}}}
{{!}}-style="font-size: 90%; line-height: 150%;"
{{!}}{{{Items7}}}
{{!}}}|}}{{#if:{{{Topic8|}}}|{{{!}} class="collapsible {{#if: {{{Topic8|}}}|{{{cTopic}}}| | collapsed}}" width="100%"
!style=" text-align: left; background: #DCF0FF; font-size: 90%;"{{!}}{{{Topic8}}}
{{!}}-style="font-size: 90%; line-height: 150%;"
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu