ユーザ用ツール

サイト用ツール


dokuwiki:plugin:tag_plugin

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン前のリビジョン
次のリビジョン
前のリビジョン
dokuwiki:plugin:tag_plugin [2014/12/05 05:57] matsuidokuwiki:plugin:tag_plugin [2015/05/21 23:53] (現在) matsui
行 1: 行 1:
 +====== tag plugin ======
  
 +pageにタグを付ける事ができる。
 +
 +<code>
 +{{tag>tag1 tag2 tag3}}
 +
 + with namespaces: {{tag>ns1:tag1 ns1:tag2 ns2:subns1:tag3}}
 +
 +</code>
 +
 +参考サイト
 +[[https://www.dokuwiki.org/plugin:tag]]
 +
 +
 +===== topic =====
 +
 +これで
 +<code>
 +{{topic>Unixコマンド +ファイル操作&header&table&nouser&tags&sort}}
 +</code>
 +
 +=== Example ===
 +<code>
 +{{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 pagelist options to change the design
 +</code>
 +
 +下記のようになる
 +{{topic>Unixコマンド +ファイル操作&header&table&nouser&tags&sort}}
 +
 +
 +===== count =====
 +
 +これで
 +<code>
 +{{count>[tag]}}
 +</code>
 +
 +こうなる
 +{{count>Unixコマンド}}
 +
 +=== Example ===
 +<code>
 +
 +{{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)
 +
 +</code>
 +
 +{{tag>dokuwiki:plugins syntax}}