Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
Diese Website erlaubt HTML-Inhalte. Obwohl das Erlernen aller HTML-Befehle abschreckend erscheint, ist es sehr einfach, nur eine kleine Anzahl der grundlegendsten HTML-„Tags“ zu lernen. Diese Tabelle enthält Beispiele für jedes Tag, das auf dieser Website erlaubt ist.
Weitere Informationen zu HTML sind in SelfHTML erhältlich oder können mit Suchmaschinen im Internet auch an anderer Stelle gefunden werden.
| Tag-Beschreibung | Eingegeben | Ergebnis |
| Anker werden benutzt um Links zu anderen Seiten zu erstellen. | <a href="http://www.malteser-straubing.de">Malteser in Straubing</a> | Malteser in Straubing |
| Hervorgehoben | <em>Hervorgehoben</em> | Hervorgehoben |
| Fett | <strong>Fett</strong> | Fett |
| Zitat | <cite>Zitat</cite> | Zitat |
| Kodierter Text um Quelltexte anzuzeigen | <code>Code</code> | Code |
| Ungeordnete Liste – Mit <li> wird jedes Listenelement begonnen | <ul> <li>Erster Eintrag</li> <li>Zweiter Eintrag</li> </ul> | - Erster Eintrag
- Zweiter Eintrag
|
| Geordnete Liste – Mit <li> wird jedes Listenelement begonnen | <ol> <li>Erster Eintrag</li> <li>Zweiter Eintrag</li> </ol> | - Erster Eintrag
- Zweiter Eintrag
|
Definitionslisten sind ähnlich zu anderen HTML-Listen. <dl> leitet die Definitionsliste ein, <dt> enthält den zu definierenden Begriff und <dd> enthält die Definitionsbeschreibung. | <dl> <dt>Erste Bedingung</dt> <dd>Erste Definition</dd> <dt>Zweiter Begriff</dt> <dd>Zweite Definition</dd> </dl> | - Erste Bedingung
- Erste Definition
- Zweiter Begriff
- Zweite Definition
|
Die meisten Sonderzeichen können problemlos direkt eingegeben werden.
Falls Probleme auftreten, sollten HTML-Entitäten verwendet werden. Ein Beispiel ist & für ein kaufmännisches &. Eine vollständige Liste stellt SelfHTML bereit. Einige Zeichen sind:
| Zeichenbeschreibung | Eingegeben | Ergebnis |
| Kaufmännisches Und | & | & |
| Mehr als | > | > |
| Weniger als | < | < |
| Anführungszeichen | " | " |
Linodef
Linodef is a filter for internal links. It uses a simple but unique markup so Linodef doesn't interfere with other filter modules.
The ID of a node or of a taxonomy term and optionally a fieldname are the solely elements stored in your text. One advantage of this method in comparison to similar filter modules is the fact that the links don't break if you change the node title or term name. Furthermore, if you change the title of the node or the value of a field or the name of a term then those are automatically updated in your text, too.
Embed elements
To embed elements into your text, prepend the element ID with the hash key # and surround them by brackets []: [#ID]. That way a node title is inserted and linked. To embed the content of a field, add the field name: [#ID:field_name]. Moreover it is possible to add a field value number in the case you have a field with multiple values and want to use a different value than the first: [#ID:field_name:number].
HilfeThe syntax is as following:
Example for nodes and fields:
We have a node with id=8 and a title Perry Rhodan. It contains a multiple value field called firstnames. The first value is Gucky, second is Atlan. Note that the field value numbers start at 0, so first value has number "0", second has number "1" etc. If the node has a path alias then the link contains this instead of the default drupal path (the examples are limited to the default paths).
HilfeAlter embedding by tag options
Options can modify the ID type and the embed method. They are entered right after the ID or the field settings and are separated by a comma. The number of options a tag can have is not limited.
| Tag-Beschreibung | Eingegeben | Ergebnis |
| Embed an element with options. | [#ID,option1,option2,...] | Depends on the options used. |
| Embed a field value with options. | [#ID:field_name,option1,option2,...] | Depends on the options used. |
| Embed a certain field value with options. | [#ID:field_name:field_value_number,option1,option2,...] | Depends on the options used. |
Example for ID type and embed modification options:
Here we use the embed modification "nolink" to have an output without a link to the element and the ID type option "tid" to embed a taxonomy term instead of a node. The taxonomy term has the id=5 and the name Jupiter. If the term has a path alias then the link contains this instead of the default drupal path (the example is limited to the default path). Furthermore we have a node (optional option "nid") with id=5 and the title Kallisto.
| Eingegeben | Ergebnis |
[#5,tid] | Jupiter |
[#5,tid,nolink] | Jupiter |
[#5,nid,nolink] | Kallisto |
[#5,nolink] | Kallisto |
HilfeUse comments to flag your tags for editors
Comments act as an indicator for Linodef tags, to describe your tag for yourself or other editors. A comment can be inserted inside the tag prepended with a space and it may consist of all UTF-8 characters except the closing bracket ].
Comments are visible only during editing and never appear by viewing a text. The nature of comments is that they must not modified automatically and therefore will not change unless you change it. This is important to understand since the content the tag displays can change automatically and so the comment may be outdated. So try to use a common description.
| Tag-Beschreibung | Eingegeben | Ergebnis |
| Use comments to give information about the tag during editing. | [#ID comment] | node title |
| Comment a field content. | [#ID:field_name:field_value_number comment] | node title |
| Comments work together with options. | [#ID:field_name:field_value_number,option1,option2,... comment] | Depends on the options used. |
Create node links with own linktext
The syntax is as following:
<#NodeID>your Text</#>.
Example:
| Eingegeben | Ergebnis |
<#8>your Text</#> | your Text |