Benutzer-Werkzeuge

Webseiten-Werkzeuge


wiki:hilfe:tags_setzen

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Nächste Überarbeitung
Vorhergehende Überarbeitung
Nächste ÜberarbeitungBeide Seiten der Revision
wiki:hilfe:tags_setzen [2008/11/13 17:35] – angelegt hetzerwiki:hilfe:tags_setzen [2008/12/10 15:22] hetzer
Zeile 1: Zeile 1:
 ====== Tags ====== ====== Tags ======
 +===== Syntax =====
 +
 +  {{tag>[list of tags]}}
 +
 +^ [list of tags] | a space separated list of tags that describe the content of the current page | required |
 +
 +Allows you to categorize your wiki pages. The resulting links point to the corresponding page in the specified tag namespace. If you want a link to point to a page in another namespace, you have to indicate the namespace before the tag name.
 +
 +Examples:
 +  * ''%%{{tag>tag1 tag2 tag3}}%%'' 
 +  * with namespaces: ''%%{{tag>:ns1:tag1 ns1:tag2 ns2:subns1:tag3}}%%'' 
 +
 +
 +
 +^ [tag] | the category tag for which you want a list of pages | required |
 +
 +This displays a list of all pages that contain the given category tag. The list is sorted alphabetically by page ID. You can also prepend the modifiers ''+'' and ''-''. ''+'' creates an intersection between the list of pages created by the already defined tags and the pages matching the tag following the ''+'' (AND), ''-'' removes all pages tagged with the given tag from the list of already found pages.
 +
 +Example: 
 +  * ''%%{{topic>tag1 -tag2}}%%'' -- Lists all pages tagged with tag1 but not with tag2.
 +  * ''%%{{topic>tag1 +tag2}}%%'' -- Lists all pages tagged with tag1 and tag2.
 +  * ''%%{{topic>tag1 tag2}}%%'' -- Lists all pages tagged with either tag1 or tag2 or both.
 +
 +Beispiel: 
 +
 +^ Kategorien: {{tag>Tag1 Tag2 Tag3}} ^
  
  
Zeile 7: Zeile 33:
 {{tag>tag_with_multiple_words}} {{tag>tag_with_multiple_words}}
 </code> </code>
 +
 +===== Demo =====
 +
 +You can see the plugin in action [[http://chimeric.de/_demo/plugin:tag|here]].
 +
 +
 +=====
 +^ Kategorien: {{tag>Hilfe Syntax}} ^
  
wiki/hilfe/tags_setzen.txt · Zuletzt geändert: 2015/12/15 15:28 von 127.0.0.1