Vorlage:Ombox: Unterschied zwischen den Versionen
Erscheinungsbild
imported>Davidgothberg Decreasing the empty left image cell from a total of 3px width to 1px width. Can't be 0px since then boxes who are not filled with text don't stay 80% wide. |
imported>Davidgothberg Adding the "small=yes" functionality. Now using {{ombox/core}} with hard-coded small styles due to the CSS caching, but it also has the "ombox-small" class so it can be skinned. |
||
| Zeile 1: | Zeile 1: | ||
{{#ifeq:{{{small|}}}|yes | |||
{{# | | {{ombox/core | ||
| | | small = yes | ||
| | | type = {{{type|}}} | ||
| | | image = {{#if:{{{smallimage|}}}| {{{smallimage}}} | {{{image|}}} }} | ||
| | | imageright = {{#if:{{{smallimageright|}}} | {{{smallimageright}}} | {{{imageright|}}} }} | ||
| | | style = {{{style|}}} | ||
| | | textstyle = {{{textstyle|}}} | ||
| text = {{#if:{{{smalltext|}}}| {{{smalltext}}} | {{{text}}} }} | |||
}} | |||
| {{ombox/core | |||
| type = {{{type|}}} | |||
{{ | | image = {{{image|}}} | ||
| | | imageright = {{{imageright|}}} | ||
| style = {{{style|}}} | |||
| textstyle = {{{textstyle|}}} | |||
| text = {{{text}}} | |||
}} | |||
}}<noinclude> | |||
} | |||
}} | |||
{{ | |||
| | |||
}} | |||
{{pp-template|small=yes}} | {{pp-template|small=yes}} | ||
{{ | {{documentation}} | ||
<!-- Add categories and | <!-- Add categories and interwikis to the /doc subpage, not here! --> | ||
</noinclude> | </noinclude> | ||
Version vom 15. September 2008, 22:11 Uhr
Für die Vorlage {{Ombox}} gibt es noch keine Dokumentation. Du kannst sie aber anlegen.
Hinweise
- Die obige Dokumentation wurde aus der Seite Vorlage:Ombox/Doku eingefügt. (bearbeiten | Versionsgeschichte) Die Kategorien für diese Vorlage sollten in der Dokumentation eingetragen werden. Die Interwiki-Links sollten auf Wikidata eingepflegt werden.
- Doku anlegen -Testseite anlegen -Editnotice anlegen -Wartungsseite anlegen
- Liste der Unterseiten