<@2> <$v.title ="利用可能なタグ"> <@> システムモード <$v.system_mode()> <$option = v.query_ary#1> <@>パーサーのロード <$call(v.parser_skelton_dir . 'default')>

利用可能なタグと属性

<@ifexec(option eq '' && v.allow_edit, begin)>

記法タグ

ユーザー定義タグを含みます。 ※標準パーサーでのみ利用可能

使用例[google:adiary:Googleでadiaryを検索][wiki:ブログ]

<@forexec(t, v.parser.load_tags(1, 48), begin)> <$end>
タグタイトルoption検索 / リンク
<@t.name><@t.title><@t.option><@if(t.url, t.url, '(関数実装)')>
<@forexec(t, v.parser.load_tags(2, 60), begin)> <$end>
タグタイトルoptionタグ置き換え
<@t.name><@t.title><@t.option><@t.url>
<@forexec(t, v.parser.load_htmltags(), begin)> <$end>
タグHTMLタグclass追加の属性
<@t.name><@t.html><@t.class><@t.attribute>
<@forexec(t, v.parser.load_aliases(), begin)> <$end>
タグ別名(alias)
<@t.tag><@t.alias>
<$end> <$taglist_file = v.diary_allow_tags> <$ifset(option eq 'description', taglist_file, v.description_allow_tags)> <$ifset(option eq 'usertext', taglist_file, v.usertext_allow_tags)> <$ifset(option eq 'main', taglist_file, v.main_allow_tags)> <$ifset(option eq 'mainone', taglist_file, v.mainone_allow_tags)> <$ifset(option eq 'sidebar', taglist_file, v.sidebar_allow_tags)> <$tag = loadpm('TextParser::TagEscape', taglist_file)> <$tag.allow_anytag = v.trust_mode>

HTMLタグ

<@if(option eq 'description', '

「日記帳の紹介」で利用可能なタグ

')> <@if(option eq 'usertext', '

「デザイン埋め込みテキスト」で利用可能なタグ

')> <@if(option eq 'main', '

「日記表示部(複数表示)」で利用可能なタグ

')> <@if(option eq 'mainone', '

「日記表示部(単一表示)」で利用可能なタグ

')> <@if(option eq 'sidebar', '

「サイドバー部分」で利用可能なタグ

')> <@ifexec(tag.allow_anytag, begin, begin)>
  • すべてのタグが利用可能です。
  • <$else> <$tags = tag.load_allowtags()> <@forexec(t, tags, begin)> ><@t.attris>  <$end>
    タグ属性
    全て<@tag.allow_base> 
    <@t.tag>
    • リンク可能なプロトコル : <@tag.allow_protocol> <$end>
    • 相対パス→絶対パス: <@if(tag.force_absolute_path, '書き換える', '(none)')>
    • 相対URI→絶対URI : <@if(tag.force_absolute_uri, '書き換える', '(none)')>