Vorlage:Image: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 1: | Zeile 1: | ||
<includeonly><html><img src="</html>{{{1}}}<html>" </html>{{#if: {{{atts|}}} | {{{atts}}} }}<html> </html>{{#if: {{{height|}}} | <html>height="</html>{{{height}}}<html>"</html>}}<html> ></img></html></includeonly><noinclude> | <includeonly><html><img src="</html>{{{1}}}<html>" </html>{{#if: {{{atts|}}} | {{{atts}}} }}<html> </html>{{#if: {{{height|}}} | <html>height="</html>{{{height}}}<html>"</html>}}<html> ></img></html></includeonly><noinclude> | ||
{{TemplateOnlyInclude}} | {{TemplateOnlyInclude}} | ||
;Verwendung: <code><nowiki>{{</nowiki>Image|''dateiname''<nowiki>}}</nowiki></code> | ;Verwendung: | ||
* <code><nowiki>{{</nowiki>Image|''dateiname''<nowiki>}}</nowiki></code> oder | |||
* <code><nowiki>{{</nowiki>Image|''dateiname''|''optionen''<nowiki>}}</nowiki></code> | |||
; Wobei: <code>''optionen''</code> sind: | |||
* <code>height=''höheninformation''</code> | |||
* <code>''attributname''=''attributwert''</code> | |||
* <code>''attributname''</code>: Jeder Attribut-Name, der im HTML tag <code><nowiki><image></nowiki></code> erlaubt ist. | |||
* <code>''attributwert''</code>: Jeder zulässige Wert für das HTML-Attribut <code>''attributname''</code> | |||
* <code>''höheninformation''</code>: Jeder zulässige Wert für das Attribut <code>height</code> im HTML tag <code><nowiki><image></nowiki></code> | |||
*: Beispiel <code>height=200px</code> - macht das Bild 200 Pixel hoch | |||
</noinclude> | </noinclude> | ||
Version vom 6. Juni 2018, 18:48 Uhr
Diese Vorlage kann nur bei Einbindung angezeigt werden
- Verwendung
{{Image|dateiname}}oder{{Image|dateiname|optionen}}
- Wobei
optionensind:
height=höheninformationattributname=attributwertattributname: Jeder Attribut-Name, der im HTML tag<image>erlaubt ist.attributwert: Jeder zulässige Wert für das HTML-Attributattributnamehöheninformation: Jeder zulässige Wert für das Attributheightim HTML tag<image>- Beispiel
height=200px- macht das Bild 200 Pixel hoch
- Beispiel