Extension:Link Attributes/de

Diese Erweiterung fügt Unterstützung für die Attribute,   und   auf Links hinzu:


 * – The relationship of the linked URL as space-separated link types.
 * – Specified a reverse link; the opposite of the  attribute. Deprecated for being very confusing.
 * – A space-separated list of the classes of the element. Classes allows CSS and JavaScript to select and access specific elements.

Verwendung
The syntax is a little unorthodox. To set the rel attribute, place one or more tokens in double-parentheses at the end of the link title. e.g.:

My website((me home))

The above would be converted to the following link:

To set the class attribute, the same syntax is used, but tokens which represent classes are prefixed with a dot:

My website((me .class1 home .class2))

Becomes:

Similarly, prefixing with a tilde (~) sets the  attribute.

Tokens may be prefixed by a minus sign (-) to indicate that you don't want to add the token, but remove it. For example:

My website((me -.external home))

Becomes:

The "nofollow" rel token is considered untouchable though.

Installation


Siehe auch

 * – a different syntax for adding the attributes.
 * 35886