Vorlage:Ombox: Unterschied zwischen den Versionen

[unmarkierte Version][gesichtete Version]
imported>Nereid
Die Seite wurde neu angelegt: „{{#ifeq:{{{small|}}}|yes | {{ombox/core | small = yes | type = {{{type|}}} | image = {{#if:{{{smallimage|}}}| {{{smallimage}}} | {{{image|}}} }} | imager…“
 
imported>Darkmtisland4
The person who wrote this template either a) was very new to MediaWiki or b) had the wrong notion about optimization.
 
Zeile 1: Zeile 1:
{{#ifeq:{{{small|}}}|yes
{{ombox/core
| {{ombox/core
| small = {{{small|}}}
  | small = yes
| type  = {{{type|}}}
  | type  = {{{type|}}}
| image = {{{smallimage|{{{image|}}}}}}
  | image = {{#if:{{{smallimage|}}}| {{{smallimage}}} | {{{image|}}} }}
| imageright = {{{smallimageright|{{{imageright|}}}}}}
  | imageright = {{#if:{{{smallimageright|}}} | {{{smallimageright}}} | {{{imageright|}}} }}
| style = {{{style|}}}
  | style = {{{style|}}}
| textstyle = {{{textstyle|}}}
  | textstyle = {{{textstyle|}}}
| text  = {{{smalltext|{{{text}}}}}}
  | text  = {{#if:{{{smalltext|}}}| {{{smalltext}}} | {{{text}}} }}
  }}
| {{ombox/core
  | type  = {{{type|}}}
  | image = {{{image|}}}
  | imageright = {{{imageright|}}}
  | style = {{{style|}}}
  | textstyle = {{{textstyle|}}}
  | text  = {{{text}}}
  }}
}}<noinclude>{{documentation}}<!-- Add categories and interwikis to the /doc subpage, not here! --></noinclude>
}}<noinclude>{{documentation}}<!-- Add categories and interwikis to the /doc subpage, not here! --></noinclude>