テンプレート:Tag

提供:きまぐれ手記 Kimagurenote
移動先: 案内検索

‎<tag>...‎</tag>

Usage

{{tag|img|o}}

‎<img>

  1. Tagの名前
    • o = open
    • c = close
    • s = single
    • p = pair (default)
  2. content = pairを選んだ場合の中身
  3. params = 属性値 href="hoge" など
  4. plain = モノクロ表示にする
  5. wrap = 途中での改行を認める

Example

  • {{tag|ref}} → ‎<ref>...‎</ref>
  • {{tag|ref|content=hello}} → ‎<ref>hello‎</ref>
  • {{tag|span|content=foo}} → ‎<span>foo‎</span>
  • {{tag|span|open}} → ‎<span>
  • {{tag|span|open|content=hello}} → ‎<span>hello
  • {{tag|span|close|content=hello}} → hello‎</span>
  • {{tag|span|pair|content=hello}} → ‎<span>hello‎</span>
  • {{tag|references|single}} → ‎<references />
  • {{tag|br|single}} → ‎<br />

Source