• Home
  • Random
  • Log in
  • Settings
  • About Azupedia
  • Disclaimers
Azupedia

Template:Cmbox

  • Language
  • Watch
  • View source
Template documentation[view] [edit] [history] [purge]
Message box
meta-templates
templatecontext
{{Ambox}}article
{{Cmbox}}category
{{Imbox}}image
{{Tmbox}}talk
{{Fmbox}}footer / header
{{Ombox}}other pages
{{Mbox}}auto-detect
{{Asbox}}article stub
{{Dmbox}}disambiguation
Lua logoLuaModuleを使用しています:
  • Module:Message box

Cmbox はカテゴリのメッセージボックス (Category Message BOX) 用メタテンプレートです。

このテンプレートはおおよそ {{ambox}} と同様に動作します。

Contents

  • 1 ソース
  • 2 使用例
  • 3 タイプ
  • 4 引数
  • 5 カテゴリ
  • 6 関連項目

ソース

{{Cmbox
| type  =
| image = 
| imageright =
| style =
| textstyle =
| text  = 
}}

使用例

{{cmbox | text = 文章をここに}}
文章をここに
{{cmbox
| type      = style
| image     = [[Image:Emblem-question-yellow.svg|40px]]
| style     = width: 400px; 
| textstyle = color: red; font-weight: bold; font-style: italic;
| text      = メッセージ本体
}}
メッセージ本体

タイプ

type=speedy
type=delete
type=content
type=style
type=notice
type=move
type=protection

引数

引数の一覧
引数 指定内容 既定値 説明
type speedy / delete / content / style /
notice / move / protection
image 画像
imageright 画像
style CSS値
textstyle CSS値
text テキスト

カテゴリ

このテンプレートは、貼り付けられたページに次のカテゴリを適用します:

カテゴリ ソートキー 説明

関連項目

  • {{ambox}} - 記事用
  • {{tmbox}} - ノートページ用
  • {{cmbox}} - カテゴリ用
  • {{ombox}} - その他のページ用
  • {{mbox}} - 名前空間を自動判定して表示形式を変えるメッセージボックス
  • {{fmbox}} - ヘッダ/フッタ用
  • {{dmbox}} - 曖昧さ回避用
  • {{asbox}} - 記事スタブ用
The above documentation is transcluded from Template:Cmbox/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://wiki.tiffa.net/w/index.php?title=Template:Cmbox&oldid=32"
Last edited on 22 August 2020, at 18:01

Languages

      This page is not available in other languages.

      Azupedia
      • This page was last edited on 22 August 2020, at 18:01.
      • Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
      • Privacy policy
      • About Azupedia
      • Disclaimers
      • Desktop