Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
example [2013/04/05 15:10]
mattkunz [Syntax]
example [2018/06/14 15:21] (current)
kulyk
Line 1: Line 1:
 ====== DokuWiki Beispiel-Seite über die installierten Plugins ====== ====== DokuWiki Beispiel-Seite über die installierten Plugins ======
 +{{tag>​administratoren org ovgu php plugin urz rechenzentrums seite service shibboleth syntax system user wiki wikiservice wrap www}}
  
-===== der Nachfolgende Befehl macht die aktuelle WikiSeite exportierbar ​=====+===== Die beliebtesten Wörter (Cloud Plugin) ​=====
 +~~CLOUD~~
  
-Exportfomat ist OpenOffice "​ODF"​.+===== Die beliebtesten Tags (Tagcloud Plugin) ======  
 +~~TAGCLOUD~~
  
-{{odt>​template:​default.odt}} 
  
-~~ODT~~+===== Tag Plugin ===== 
 + 
 +  {{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 either point to the corresponding page in the specified tag namespace (only if it exists). If you want a link to point to a page in another namespace, you have to indicate the namespace before the tag name. If this page doesn'​t exist, just the list of pages with the same tag is shown when you follow one of those links. 
 + 
 +Examples: 
 +  * ''​%%{{tag>​tag1 tag2 tag3}}%%''​  
 +  * with namespaces: ''​%%{{tag>:​ns1:​tag1 ns1:tag2 ns2:​subns1:​tag3}}%%''​  
 +==== Topic ==== 
 + 
 +  {{topic>​[tag]&​[flags]}} 
 + 
 +^ [tag] | the category tag for which you want a list of pages | required | 
 +^ [flags] | pagelist flags delimited by ''&'',​ see [[pagelist#​flags]] | optional | 
 + 
 +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. 
 +  * ''​%%{{topic>​ns1?​tag1 tag2}}%%''​ -- List all pages inside namespace ns1 tagged with either tag1 or tag2  
 +  * ''​%%{{topic>​.?​tag1 tag2}}%%''​ -- List all pages inside the current namespace tagged with either tag1 or tag2  
 +  * ''​%%{{topic>​tag1 tag2 tag3&​nodate&​desc&​sort}}%%''​ (Adding [[:​plugin:​pagelist|pagelist]] options to change the design) 
 + 
 +==== Searchtags ==== 
 + 
 +   ​{{searchtags&​[flags]}} 
 + 
 +^ [flags] | pagelist flags delimited by ''&'',​ see [[pagelist#​flags]] | optional | 
 + 
 +This displays a search form with the possibility to select a namespace and to select tags from a table of all tags that should either be in- or excluded with the option to choose if the tags should be associated with AND or OR. The results are displayed as in the topic component. 
 + 
 +Example: 
 +  * ''​%%{{searchtags}}%%''​ -- The basic syntax 
 +  * ''​%%{{searchtags&​nodate&​desc&​sort}}%%''​ -- with [[:​plugin:​pagelist|pagelist]] options to change the design 
 + 
 +==== Count ==== 
 + 
 +  {{count>​[tag]}} 
 + 
 +^ [tag] | the category tag for which you want the list the occurrence | required | 
 + 
 +This part allow you to display an overview of your current used tags. It prints the tag and the related occurrence (how often is the tag used?) in your wiki. Either you can specify a ''​+''​ as tag-name, which results in a list of all used tags or just specify some tags separated by spaces. 
 + 
 +Example: 
 +  * ''​%%{{count>​+}}%%''​ -- List all tags with related occurrences. 
 +  * ''​%%{{count>​tag1 tag2}}%%''​ -- List the occurrence of tag1 and tag2. 
 +  * ''​%%{{count>​tag1 tag2 tag3&. ns1 ns2}}%%''​ -- List all occurrences for the given tags inside the namespaces (the dot specifies the root namespace) 
 +   
 +{{count>​[mattkunz]}} ​  
 +==== Tagpage ==== 
 + 
 +   ​{{tagpage>​[tag][&​dynamic][|title]}} 
 +    
 +This displays a link to the listing of all tags as it is done by the [[#Tag]] syntax but without tagging the page with that tag. With the optional ''​dynamic''​ flag the link becomes red when the listing of all pages with that tag is empty for the current user. The ''​dynamic''​ flag automatically disables the cache of the current page in order to ensure that the link color is always correct. Optionally a title can be specified that will be used as link name. 
 + 
 +Example: 
 +  * ''​%%{{tagpage>​test_foo}}%%''​ -- The basic syntax 
 +  * ''​%%{{tagpage>​test_foo&​dynamic}}%%''​ -- A link with dynamic link color 
 +  * ''​%%{{tagpage>​test_foo|my title}}%%''​ -- A link with custom title 
 +  * ''​%%{{tagpage>​test_foo&​dynamic|my | title}}%%''​ -- A link with dynamic link color and custom title (that can also contain ''​%%|%%''​) 
 + 
 +==== Configuration ==== 
 + 
 +The plugin can be configured with the DokuWiki configuration manager available in the admin menu. 
 + 
 +^ ''​namespace''​ | Namespace where the tag plugin looks for existing tag pages and links to them instead of the default tag overview. You could use the topic component to display the list of tags on such a page for example. (default ''​tag''​) | 
 +^ ''​sortkey''​ | Order in which tagged pages are sorted in the topic overview; available options are creation date, modification date, page name, page ID, namespace and title | 
 +^ ''​sortorder''​ | Sort order of the topic overview. | 
 +^ ''​pagelist_flags''​ | Comma separated [[plugin:​pagelist#​Flags]] of the [[plugin:​pagelist]] plugin which is used to display the topic overview | 
 +^ ''​toolbar_icon''​ | Show icon in page editor toolbar to add tags. | 
 +^ ''​list_tags_of_subns''​ | When counting tags in specified namespaces include also tags in subnamespaces. | 
 + 
 +===== Pagelist Plugin ===== 
 + 
 +The Pagelist Plugin takes a list of wiki pages and provides a nicely formatted table with information about them. The plug-in has a number of flags that can be used to control the information and format of the page list. The user can provide a list of specific page references as can some popular helper plugins such the [[Blog]], [[Discussion]],​ [[Editor]], [[Tag]], [[Task]] and [[Dir]] plugins. 
 + 
 +==== Syntax ==== 
 + 
 +Just wrap a regular unordered list of internal links with the ''​%%<​pagelist>​%%''​ tag. You may provide specific internal page references or have plug-ins supply them as in the example below: 
 + 
 +  <​pagelist&​[flags]>​ 
 +    * [[..:​blog:​|Blog Plugin]] 
 +    * [[..:​discussion:​|Discussion Plugin]] 
 +    * [[..:​editor:​|Editor Plugin]] 
 +    * [[..:​tag:​|Tag Plugin]] 
 +    * [[..:​wrap|Wrap Plugin|This is shown in the description cell]] 
 +  </​pagelist>​ 
 + 
 +^ [flags] | flags can be used to alter the appearance of the pagelist, see [[#flags]] | optional | 
 + 
 +<​pagelist&​[flags]>​ 
 +  * [[..:​blog:​|Blog Plugin]] 
 +  * [[..:​discussion:​|Discussion Plugin]] 
 +  * [[..:​editor:​|Editor Plugin]] 
 +  * [[..:​tag:​|Tag Plugin]] 
 +  * [[..:​wrap|Wrap Plugin|This is shown in the description cell]] 
 +</​pagelist>​ 
 +==== Flags ==== 
 + 
 +^ Setting ^ Default ^^ Alternative ^^ 
 +| ''​style''​ ^ ''​default''​ | table with horizontal lines ^ ''​table'',​ ''​list''​ or ''​simplelist''​ | standard DokuWiki table or list style | 
 +| ''​showheader''​ ^ ''​noheader''​ | hide the heading row of the pagelist table ^ ''​header''​ | show the header | 
 +| ''​showdate''​ ^ ''​date''​ | show the creation or last modification date ^ ''​nodate''​ | hide the date | 
 +| ''​showuser''​ ^ ''​user''​ | show creator or contributors ^ ''​nouser''​ | hide the user | 
 +| ''​showdesc''​ ^ ''​nodesc''​ | hide the description ^ ''​desc''​ | show the description (from metadata) | 
 +| ''​showcomments''​ ^ ''​nocomments''​ | hide the number of comments ^ ''​comments''​ | show the number of comments (if [[discussion|Discussion Plugin]] is installed) | 
 +| ''​showtags''​ ^ ''​notags''​ | hide the tags ^ ''​tags''​ | show the tags (if [[tag|Tag Plugin]] is installed) | 
 +| ''​showfirsthl''​ ^ ''​firsthl''​ | show the first headline ^ ''​nofirsthl''​ | show the page name | 
 +| ''​rsort/​sort'' ​       ^ ''​nosort'' ​   | no sortation of pages ^ ''​rsort/​sort''​ | sorts the pages (reverse) alphabetically by pagename | 
 + 
 +==== Example ==== 
 + 
 +  <​pagelist&​header&​comments>​ 
 +      //an unordered list of pages to display// 
 +  </​pagelist>​ 
 + 
 +In the example above, pagelist will display information about the provided pages in  a table with a header line and a comments column (if the [[plugin:​discussion|Discussion Plugin]] is installed). The user (or a plugin) must supply the specific pages to display in the list. 
 + 
 + 
 +===== Configuration ===== 
 +The plugin can be configured using the DokuWiki configuration manager available in the admin menu. The settings also apply to plugins which use the helper component of the pagelist plugin, like for example the archive component of the [[plugin:​blog]] plugin. 
 + 
 +^ ''​style''​ | List style (default, list, table) | 
 +^ ''​showheader''​ | Show table header | 
 +^ ''​showdate''​ | Shows/hides the date column (hide, creation date, modification date) | 
 +^ ''​showuser''​ | Shows/hides the user column (hide, creator, contributors) | 
 +^ ''​showdesc''​ | Shows/hides a short description taken from the first paragraph of a page (hide, max. 160 characters, max. 500 characters) | 
 +^ ''​showcomments''​ | Shows/hides comments of a page (requires the [[plugin:​discussion]] plugin) | 
 +^ ''​showlinkbacks''​ | Shows/hides linkbacks of a page (requires the [[http://​foosel.org/​snippets/​dokuwiki/​linkback|linkback]] plugin) | 
 +^ ''​showtags''​ | Shows/hides tags of a page (requires the [[plugin:​tag]] plugin) | 
 +^ ''​sort'' ​    | Sorts the pages alphabetically by pagename | 
 + 
 + 
 +===== Beispiele für das QRCode -Plugin =====
  
 <​file>​ <​file>​
-~~ODT~~+~~QRCODE~url=www.ich-bin-am-wandern-gewesen.de~size=L~~ 
 + 
 +~~QRCODE~url=www.ich-bin-am-wandern-gewesen.de~size=L ~~ Ausrichtung rechts 
 + 
 +~~QRCODE~ url=www.ich-bin-am-wandern-gewesen.de~size=L ~~ Ausrichtung zentriert 
 + 
 +~~QRCODE~ url=www.ich-bin-am-wandern-gewesen.de~size=L~~ Ausrichtung links
 </​file>​ </​file>​
 +
 +=== Attribute ===
 +
 +|url |URL die dargestellt werden soll |
 +|text |Einfacher Text der dargestellt werden soll. |
 +|sms |SMS die dargestellt werden soll: '​telefonnummer:​text'​ |
 +|tel |Telefonnummer die dargestellt werden soll |
 +|size |Größe des 2D-Barcodes (S,M,L,XL) |
 +
 +=== Beispiele ===
 +
 +QRCode
 +
 +~~QRCODE~url=www.ovgu.de~size=S~~
 +
 +Kontakt
 +
 +~~QRCODE~text=nachname:​vorname:​+49234112:​wer@da.com~size=XL~~
 +
 +Telefon
 +
 +~~QRCODE~tel=+49234112=L~~
 +
  
 ===== Tabellen ===== ===== Tabellen =====
Line 256: Line 425:
 <nspages playground -subns -nopages> ​ <nspages playground -subns -nopages> ​
 \\ \\
 +
 +===== Plugin INFO:​syntaxplugin =====
 +~~INFO:​syntaxplugins~~
  
 ===== Andre IndexMenüs anzeigen ===== ===== Andre IndexMenüs anzeigen =====
Line 347: Line 519:
  
 Mit <​code>​ ~~NOTRANS~~ </​code>​ kann man die Sprachenauswahl ausschalten. Mit <​code>​ ~~NOTRANS~~ </​code>​ kann man die Sprachenauswahl ausschalten.
- 
  
 ===== Doodle2 Plugin ===== ===== Doodle2 Plugin =====
Line 583: Line 754:
 <color yellowgreen/​lightgrey>​text</​color>​ <color yellowgreen/​lightgrey>​text</​color>​
  
-===== Videos ===== 
  
-==== Plugin html5videos ==== 
  
-===== Syntax ​=====+===== Plugin html5videos ​===== 
  
 Syntax: Syntax:
Line 1008: Line 1178:
       & = \sum_{n\geq 0} \frac{x^n}{n!}       & = \sum_{n\geq 0} \frac{x^n}{n!}
 \end{align*}  ​ \end{align*}  ​
 +
 +===== der Nachfolgende Befehl macht die aktuelle WikiSeite exportierbar =====
 +
 +Exportfomat ist OpenOffice "​ODF"​.
 +
 +{{odt>​template:​default.odt}}
 +
 +~~ODT~~
 +
 +<​file>​
 +~~ODT~~
 +</​file>​
example.1365167434.txt.gz · Last modified: 2018/06/14 14:44 (external edit)
Back to top
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0