Vorlage:Ambox: 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 Updating to use "mbox-*" class names instead of "ambox-*". See Template talk:Mbox#Simpler to use class names. |
||
| Zeile 15: | Zeile 15: | ||
{{#ifeq:{{{image|}}}|none | {{#ifeq:{{{image|}}}|none | ||
| <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --><td style="border: none; padding: 0px; width: 1px;"></td> | | <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --><td style="border: none; padding: 0px; width: 1px;"></td> | ||
| <td class=" | | <td class="mbox-image"><div style="width: 52px;"> | ||
{{#ifeq:{{{image|}}}|blank | {{#ifeq:{{{image|}}}|blank | ||
| | | | ||
| Zeile 35: | Zeile 35: | ||
}}</div></td> | }}</div></td> | ||
}} | }} | ||
<td class=" | <td class="mbox-text" style="{{{textstyle|}}}"> {{{text}}} </td> | ||
{{#if:{{{imageright|}}} | {{#if:{{{imageright|}}} | ||
| <td class=" | | <td class="mbox-imageright"><div style="width: 52px;"> {{{imageright}}} </div></td> | ||
}} | }} | ||
</tr> | </tr> | ||
Version vom 27. September 2008, 18:03 Uhr
| {{{text}}} |
Für die Vorlage {{Ambox}} gibt es noch keine Dokumentation. Du kannst sie aber anlegen.
Hinweise
- Die obige Dokumentation wurde aus der Seite Vorlage:Ambox/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