|
|
(6 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
|
Zeile 264: |
Zeile 264: |
| print False</nowiki> | | print False</nowiki> |
| |} | | |} |
| | |
| | == HTML-Tags == |
| | |
| | Manche HTML Tags sind in TeeWiki erlaubt, zum Beispiel <code><code></code>, <code><div></code>, <code><nowiki><span></nowiki></code> und <code><nowiki><font></nowiki></code>. Diese wirken überall, wo sie eingefügt werden. |
| | {| class="wikitable" |
| | ! Beschreibung |
| | ! width=40% | Eingabe |
| | ! width=40% | Ergebnis |
| | |- |
| | | Eingefügt <br />(Wird in den meisten Browsern als Unterstrichen angezeigt) |
| | | <pre> |
| | <ins>Eingefügt</ins> |
| | |
| | oder |
| | |
| | <u>Unterstrichen</u> |
| | </pre> |
| | | |
| | <ins>Eingefügt</ins> |
| | |
| | oder |
| | |
| | <u>Unterstrichen</u> |
| | |- |
| | | Gelöscht <br />(wird in den meisten Browsern als durchgestrichen angezeigt) |
| | | <pre> |
| | <s>durchgestrichen</s> |
| | |
| | oder |
| | |
| | <del>Gelöscht</del> |
| | |
| | </pre> |
| | | |
| | <s>durchgestrichen</s> |
| | |
| | oder |
| | |
| | <del>Gelöscht</del> |
| | |- |
| | | Text mit fixer Breite |
| | | <pre> |
| | <code>Quelltext</code> |
| | |
| | oder |
| | |
| | <tt>Text mit fixer Breite</tt> |
| | </pre> |
| | | |
| | <code>Quelltext</code> |
| | |
| | oder |
| | |
| | <tt>Text mit fixer Breite</tt> |
| | |- |
| | | Blockquotes |
| | | <pre> |
| | Text davor |
| | <blockquote>Blockquote</blockquote> |
| | Text danach |
| | </pre> |
| | | |
| | Text davor |
| | <blockquote>Blockquote</blockquote> |
| | Text danach |
| | |- |
| | | Anmerkung |
| | | <pre> |
| | <!-- Dies ist ein Kommentar --> |
| | Kommentare sind nur im Bearbeitungsbereich sichtbar.</pre> |
| | | |
| | <!-- Dies ist ein Kommentar --> |
| | Kommentare sind nur im Bearbeitungsbereich sichtbar. |
| | |- |
| | | Komplett vorformatierter Text |
| | | <pre> |
| | <pre>Text wird '''vorformatiert''' und |
| | ''Markups'' '''''können nicht''''' verwendet werden.</pre> |
| | ---- |
| | '''Bemerkung:''' |
| | |
| | For marking up of preformatted text, check the "Preformatted text" entry at the end of the previous table. |
| | | |
| | <pre>Text wird '''vorformatiert''' und |
| | ''Markups'' '''''können nicht''''' verwendet werden.</pre> |
| | |- |
| | | '''Customized''' preformatted text |
| | | <pre> |
| | <pre style="color: red">Text is '''preformatted''' |
| | with a style and |
| | ''markups'' '''''cannot''''' be done |
| | </pre></pre> |
| | ---- |
| | '''Bemerkung:''' |
| | |
| | A CSS style can be named within the <code>style</code> property. |
| | | |
| | <pre style="color: red">Text is '''preformatted''' |
| | with a style and |
| | ''markups'' '''''cannot''''' be done</pre> |
| | |} |
| | continued: |
| | {| class="wikitable" |
| | ! Beschreibung |
| | ! width=40% | Eingabe |
| | ! width=40% | Ergebnis |
| | |- |
| | | '''Customized''' preformatted text with text wrap according to available width |
| | | <pre> |
| | <pre style="white-space: pre-wrap; |
| | white-space: -moz-pre-wrap; |
| | white-space: -pre-wrap; |
| | white-space: -o-pre-wrap; |
| | word-wrap: break-word;"> |
| | This long sentence is used to demonstrate text wrapping. This additional sentence makes the text even longer. |
| | </pre> |
| | </pre> |
| | | |
| | <pre style="white-space: pre-wrap; |
| | white-space: -moz-pre-wrap; |
| | white-space: -pre-wrap; |
| | white-space: -o-pre-wrap; |
| | word-wrap: break-word;"> |
| | This long sentence is used to demonstrate text wrapping. This additional sentence makes the text even longer. |
| | </pre> |
| | |- |
| | | Preformatted text with text wrap according to available width |
| | | <pre> |
| | <code> |
| | This long sentence is used to demonstrate text wrapping. This additional sentence makes the text even longer. |
| | </code> |
| | </pre> |
| | | <code> |
| | This long sentence is used to demonstrate text wrapping. This additional sentence makes the text even longer. |
| | </code> |
| | |} |
| | |
| | == Symbole einfügen == |
| | |
| | Symbole und andere Sonderzeichen, die nicht auf der Tastatur verfügbar sind, können mittels einer bestimmten Zeichenfolge eingefügt werden. Diese Zeichenfolgen werden HTML-Entitäten genannt. Etwa wird die folgende Zeichenfolge (Entität) '''&rarr;''' angezeigt als <ins>right arrow</ins> HTML-Symbol → und '''&mdash;''' wird angezeigt als ein <ins>em dash</ins> HTML-Symbol —. |
| | ---- |
| | '''Bemerkung:''' |
| | |
| | Hover over any character to find out the symbol that it produces. Some symbols not available in the current font will appear as empty squares. |
| | |
| | {| class="wikitable" align=center width=100% |
| | ! colspan=32 | HTML symbol entities |
| | |- align=center |
| | | '''<span title="&Aacute;">Á</span> |
| | | '''<span title="&aacute;">á</span> |
| | | '''<span title="&Acirc;">Â</span> |
| | | '''<span title="&acirc;">â</span> |
| | | '''<span title="&acute;">´</span> |
| | | '''<span title="&AElig;">Æ</span> |
| | | '''<span title="&aelig;">æ</span> |
| | | '''<span title="&Agrave;">À</span> |
| | | '''<span title="&agrave;">à</span> |
| | | '''<span title="&alefsym;">ℵ</span> |
| | | '''<span title="&Alpha;">Α</span> |
| | | '''<span title="&alpha;">α</span> |
| | | '''<span title="&amp;">&</span> |
| | | '''<span title="&and;">∧</span> |
| | | '''<span title="&ang;">∠</span> |
| | | '''<span title="&Aring;">Å</span> |
| | | '''<span title="&aring;">å</span> |
| | | '''<span title="&asymp;">≈</span> |
| | | '''<span title="&Atilde;">Ã</span> |
| | | '''<span title="&atilde;">ã</span> |
| | | '''<span title="&Auml;">Ä</span> |
| | | '''<span title="&auml;">ä</span> |
| | | '''<span title="&bdquo;">„</span> |
| | | '''<span title="&Beta;">Β</span> |
| | | '''<span title="&beta;">β</span> |
| | | '''<span title="&brvbar;">¦</span> |
| | | '''<span title="&bull;">•</span> |
| | | '''<span title="&cap;">∩</span> |
| | | '''<span title="&Ccedil;">Ç</span> |
| | | '''<span title="&ccedil;">ç</span> |
| | | '''<span title="&cedil;">¸</span> |
| | | '''<span title="&cent;">¢</span> |
| | |- align=center |
| | | '''<span title="&Chi;">Χ</span> |
| | | '''<span title="&chi;">χ</span> |
| | | '''<span title="&circ;">ˆ</span> |
| | | '''<span title="&clubs;">♣</span> |
| | | '''<span title="&cong;">≅</span> |
| | | '''<span title="&copy;">©</span> |
| | | '''<span title="&crarr;">↵</span> |
| | | '''<span title="&cup;">∪</span> |
| | | '''<span title="&curren;">¤</span> |
| | | '''<span title="&dagger;">†</span> |
| | | '''<span title="&Dagger;">‡</span> |
| | | '''<span title="&darr;">↓</span> |
| | | '''<span title="&dArr;">⇓</span> |
| | | '''<span title="&deg;">°</span> |
| | | '''<span title="&Delta;">Δ</span> |
| | | '''<span title="&delta;">δ</span> |
| | | '''<span title="&diams;">♦</span> |
| | | '''<span title="&divide;">÷</span> |
| | | '''<span title="&Eacute;">É</span> |
| | | '''<span title="&eacute;">é</span> |
| | | '''<span title="&Ecirc;">Ê</span> |
| | | '''<span title="&ecirc;">ê</span> |
| | | '''<span title="&Egrave;">È</span> |
| | | '''<span title="&egrave;">è</span> |
| | | '''<span title="&empty;">∅</span> |
| | | '''<span title="&emsp;"> </span> |
| | | '''<span title="&ensp;"> </span> |
| | | '''<span title="&Epsilon;">Ε</span> |
| | | '''<span title="&epsilon;">ε</span> |
| | | '''<span title="&equiv;">≡</span> |
| | | '''<span title="&Eta;">Η</span> |
| | | '''<span title="&eta;">η</span> |
| | |- align=center |
| | | '''<span title="&ETH;">Ð</span> |
| | | '''<span title="&eth;">ð</span> |
| | | '''<span title="&Euml;">Ë</span> |
| | | '''<span title="&euml;">ë</span> |
| | | '''<span title="&euro;">€</span> |
| | | '''<span title="&exist;">∃</span> |
| | | '''<span title="&fnof;">ƒ</span> |
| | | '''<span title="&forall;">∀</span> |
| | | '''<span title="&frac12;">½</span> |
| | | '''<span title="&frac14;">¼</span> |
| | | '''<span title="&frac34;">¾</span> |
| | | '''<span title="&frasl;">⁄</span> |
| | | '''<span title="&Gamma;">Γ</span> |
| | | '''<span title="&gamma;">γ</span> |
| | | '''<span title="&ge;">≥</span> |
| | | '''<span title="&gt;">></span> |
| | | '''<span title="&harr;">↔</span> |
| | | '''<span title="&hArr;">⇔</span> |
| | | '''<span title="&hearts;">♥</span> |
| | | '''<span title="&hellip;">…</span> |
| | | '''<span title="&Iacute;">Í</span> |
| | | '''<span title="&iacute;">í</span> |
| | | '''<span title="&Icirc;">Î</span> |
| | | '''<span title="&icirc;">î</span> |
| | | '''<span title="&iexcl;">¡</span> |
| | | '''<span title="&Igrave;">Ì</span> |
| | | '''<span title="&igrave;">ì</span> |
| | | '''<span title="&image;">ℑ</span> |
| | | '''<span title="&infin;">∞</span> |
| | | '''<span title="&int;">∫</span> |
| | | '''<span title="&Iota;">Ι</span> |
| | | '''<span title="&iota;">ι</span> |
| | |- align=center |
| | | '''<span title="&iquest;">¿</span> |
| | | '''<span title="&isin;">∈</span> |
| | | '''<span title="&Iuml;">Ï</span> |
| | | '''<span title="&iuml;">ï</span> |
| | | '''<span title="&Kappa;">Κ</span> |
| | | '''<span title="&kappa;">κ</span> |
| | | '''<span title="&Lambda;">Λ</span> |
| | | '''<span title="&lambda;">λ</span> |
| | | '''<span title="&lang;">⟨</span> |
| | | '''<span title="&laquo;">«</span> |
| | | '''<span title="&larr;">←</span> |
| | | '''<span title="&lArr;">⇐</span> |
| | | '''<span title="&lceil;">⌈</span> |
| | | '''<span title="&ldquo;">“</span> |
| | | '''<span title="&le;">≤</span> |
| | | '''<span title="&lfloor;">⌊</span> |
| | | '''<span title="&lowast;">∗</span> |
| | | '''<span title="&loz;">◊</span> |
| | | '''<span title="&lrm;">‎</span> |
| | | '''<span title="&lsaquo;">‹</span> |
| | | '''<span title="&lsquo;">‘</span> |
| | | '''<span title="&lt;"><</span> |
| | | '''<span title="&macr;">¯</span> |
| | | '''<span title="&mdash;">—</span> |
| | | '''<span title="&micro;">µ</span> |
| | | '''<span title="&middot;">·</span> |
| | | '''<span title="&minus;">−</span> |
| | | '''<span title="&Mu;">Μ</span> |
| | | '''<span title="&mu;">μ</span> |
| | | '''<span title="&nabla;">∇</span> |
| | | '''<span title="&nbsp;"> </span> |
| | | '''<span title="&ndash;">–</span> |
| | |- align=center |
| | | '''<span title="&ne;">≠</span> |
| | | '''<span title="&ni;">∋</span> |
| | | '''<span title="&not;">¬</span> |
| | | '''<span title="&notin;">∉</span> |
| | | '''<span title="&nsub;">⊄</span> |
| | | '''<span title="&Ntilde;">Ñ</span> |
| | | '''<span title="&ntilde;">ñ</span> |
| | | '''<span title="&Nu;">Ν</span> |
| | | '''<span title="&nu;">ν</span> |
| | | '''<span title="&Oacute;">Ó</span> |
| | | '''<span title="&oacute;">ó</span> |
| | | '''<span title="&Ocirc;">Ô</span> |
| | | '''<span title="&ocirc;">ô</span> |
| | | '''<span title="&OElig;">Œ</span> |
| | | '''<span title="&oelig;">œ</span> |
| | | '''<span title="&Ograve;">Ò</span> |
| | | '''<span title="&ograve;">ò</span> |
| | | '''<span title="&oline;">‾</span> |
| | | '''<span title="&Omega;">Ω</span> |
| | | '''<span title="&omega;">ω</span> |
| | | '''<span title="&Omicron;">Ο</span> |
| | | '''<span title="&omicron;">ο</span> |
| | | '''<span title="&oplus;">⊕</span> |
| | | '''<span title="&or;">∨</span> |
| | | '''<span title="&ordf;">ª</span> |
| | | '''<span title="&ordm;">º</span> |
| | | '''<span title="&Oslash;">Ø</span> |
| | | '''<span title="&oslash;">ø</span> |
| | | '''<span title="&Otilde;">Õ</span> |
| | | '''<span title="&otilde;">õ</span> |
| | | '''<span title="&otimes;">⊗</span> |
| | | '''<span title="&Ouml;">Ö</span> |
| | |- align=center |
| | | '''<span title="&ouml;">ö</span> |
| | | '''<span title="&para;">¶</span> |
| | | '''<span title="&part;">∂</span> |
| | | '''<span title="&permil;">‰</span> |
| | | '''<span title="&perp;">⊥</span> |
| | | '''<span title="&Phi;">Φ</span> |
| | | '''<span title="&phi;">φ</span> |
| | | '''<span title="&Pi;">Π</span> |
| | | '''<span title="&pi;">π</span> |
| | | '''<span title="&piv;">ϖ</span> |
| | | '''<span title="&plusmn;">±</span> |
| | | '''<span title="&pound;">£</span> |
| | | '''<span title="&prime;">′</span> |
| | | '''<span title="&Prime;">″</span> |
| | | '''<span title="&prod;">∏</span> |
| | | '''<span title="&prop;">∝</span> |
| | | '''<span title="&Psi;">Ψ</span> |
| | | '''<span title="&psi;">ψ</span> |
| | | '''<span title="&quot;">"</span> |
| | | '''<span title="&radic;">√</span> |
| | | '''<span title="&rang;">⟩</span> |
| | | '''<span title="&raquo;">»</span> |
| | | '''<span title="&rarr;">→</span> |
| | | '''<span title="&rArr;">⇒</span> |
| | | '''<span title="&rceil;">⌉</span> |
| | | '''<span title="&rdquo;">”</span> |
| | | '''<span title="&real;">ℜ</span> |
| | | '''<span title="&reg;">®</span> |
| | | '''<span title="&rfloor;">⌋</span> |
| | | '''<span title="&Rho;">Ρ</span> |
| | | '''<span title="&rho;">ρ</span> |
| | | '''<span title="&rlm;">‏</span> |
| | |- align=center |
| | | '''<span title="&rsaquo;">›</span> |
| | | '''<span title="&rsquo;">’</span> |
| | | '''<span title="&sbquo;">‚</span> |
| | | '''<span title="&Scaron;">Š</span> |
| | | '''<span title="&scaron;">š</span> |
| | | '''<span title="&sdot;">⋅</span> |
| | | '''<span title="&sect;">§</span> |
| | | '''<span title="&shy;">­</span> |
| | | '''<span title="&Sigma;">Σ</span> |
| | | '''<span title="&sigma;">σ</span> |
| | | '''<span title="&sigmaf;">ς</span> |
| | | '''<span title="&sim;">∼</span> |
| | | '''<span title="&spades;">♠</span> |
| | | '''<span title="&sub;">⊂</span> |
| | | '''<span title="&sube;">⊆</span> |
| | | '''<span title="&sum;">∑</span> |
| | | '''<span title="&sup;">⊃</span> |
| | | '''<span title="&sup1;">¹</span> |
| | | '''<span title="&sup2;">²</span> |
| | | '''<span title="&sup3;">³</span> |
| | | '''<span title="&supe;">⊇</span> |
| | | '''<span title="&szlig;">ß</span> |
| | | '''<span title="&Tau;">Τ</span> |
| | | '''<span title="&tau;">τ</span> |
| | | '''<span title="&there4;">∴</span> |
| | | '''<span title="&Theta;">Θ</span> |
| | | '''<span title="&theta;">θ</span> |
| | | '''<span title="&thetasym;">ϑ</span> |
| | | '''<span title="&thinsp;"> </span> |
| | | '''<span title="&THORN;">Þ</span> |
| | | '''<span title="&thorn;">þ</span> |
| | | '''<span title="&tilde;">˜</span> |
| | |- align=center |
| | | '''<span title="&times;">×</span> |
| | | '''<span title="&trade;">™</span> |
| | | '''<span title="&Uacute;">Ú</span> |
| | | '''<span title="&uacute;">ú</span> |
| | | '''<span title="&uarr;">↑</span> |
| | | '''<span title="&uArr;">⇑</span> |
| | | '''<span title="&Ucirc;">Û</span> |
| | | '''<span title="&ucirc;">û</span> |
| | | '''<span title="&Ugrave;">Ù</span> |
| | | '''<span title="&ugrave;">ù</span> |
| | | '''<span title="&uml;">¨</span> |
| | | '''<span title="&upsih;">ϒ</span> |
| | | '''<span title="&Upsilon;">Υ</span> |
| | | '''<span title="&upsilon;">υ</span> |
| | | '''<span title="&Uuml;">Ü</span> |
| | | '''<span title="&uuml;">ü</span> |
| | | '''<span title="&weierp;">℘</span> |
| | | '''<span title="&Xi;">Ξ</span> |
| | | '''<span title="&xi;">ξ</span> |
| | | '''<span title="&Yacute;">Ý</span> |
| | | '''<span title="&yacute;">ý</span> |
| | | '''<span title="&yen;">¥</span> |
| | | '''<span title="&yuml;">ÿ</span> |
| | | '''<span title="&Yuml;">Ÿ</span> |
| | | '''<span title="&Zeta;">Ζ</span> |
| | | '''<span title="&zeta;">ζ</span> |
| | | '''<span title="&zwj;">‍</span> |
| | | '''<span title="&zwnj;">‌</span>''' |
| | |} |
| | |
| | {| class="wikitable" |
| | ! Beschreibung |
| | ! width=40% | Eingabe |
| | ! width=40% | Ergebnis |
| | |- |
| | | Copyright-Symbol |
| | | <tt><pre> |
| | &copy; |
| | </pre></tt> |
| | | |
| | :::'''©''' |
| | |- |
| | | Greek delta letter symbol |
| | | <tt><pre> |
| | &delta; |
| | </pre></tt> |
| | | |
| | :::'''δ''' |
| | |- |
| | | Euro-Währungssymbol |
| | | <tt><pre> |
| | &euro; |
| | </pre></tt> |
| | | |
| | :::'''€''' |
| | |} |
| | See the list of all HTML entities on the Wikipedia article [[wikipedia:List of HTML entities|List of HTML entities]]. Additionally, MediaWiki supports two non-standard entity reference sequences: <code>&רלמ;</code> and <code>&رلم;</code> which are both considered equivalent to <code>&rlm;</code> which is a [[wikipedia:Right-to-left mark|right-to-left mark]]. (Used when combining right to left languages with left to right languages in the same page.) |
| | |
| | == HTML tags and symbol entities displayed themselves (with and without interpreting them) == |
| | :<tt>&amp;euro;</tt> → '''&euro;''' |
| | |
| | :<tt><span style="color: red; text-decoration: line-through;">Tippfehler, der korrigiert werden soll</span></tt> → '''<span style="color: red; text-decoration: line-through;">Tippfehler, der korrigiert werden soll</span>''' |
| | |
| | :<tt><nowiki>&lt;span style="color: red; text-decoration: line-through;">Tippfehler, der korrigiert werden soll</span></nowiki></tt> → '''<span style="color: red; text-decoration: line-through;">Tippfehler, der korrigiert werden soll</span>''' |
| | === Nowiki für HTML === |
| | <<nowiki />nowiki /> can prohibit (HTML) tags: |
| | * <nowiki><<</nowiki>nowiki />pre> → <<nowiki/>pre> |
| | But ''not'' & symbol escapes: |
| | * &<<nowiki />nowiki />amp; → & |
| | To print & symbol escapes as text, use "<tt>&amp;</tt>" to replace the "&" character (eg. type "<tt>&amp;nbsp;</tt>", which results in "<tt>&nbsp;</tt>"). |
| | |
| | == Weitere Formatierungen == |
| | *[[Hilfe:Links | Links]] |
| | *[[Hilfe:Bilder | Bilder]] |
| | *[[Hilfe:Tabellen | Tabellen]] |
| | |
| | [[Kategorie:Hilfe]] |