Fandom


Wikiでこのテンプレートを使うには、こちらをクリックしてエクスポートした後、インポートしてください。詳しい手順はヘルプページをご覧ください。
FANDOMのライセンスに基づき、編集内容の要約には忘れずに以下のメッセージを加えてください:
[[w:c:ja.templates:テンプレート:Ambox]]より複製
このテンプレートはFANDOM starter pages for Japaneseにはありません。どのFANDOMコミュニティでも使用できますが、はじめから組み込まれているものではないので注意してください。
テンプレートの解説
注意: 上記のテンプレートは部分的または完全に非表示になることがあります。
下記の解説を閲覧・編集する。 (詳しくはこちら)
Editors can experiment with this template's sandbox and test case pages.

This template creates article messages boxes. It uses {{Mbox/wikitext}} that is based on Mbox on Wikipedia. Please see Mbox for installation instructions.

Dependencies

Usage

{{Ambox
| type  =
| small =
| id    =
| class =
| style =
| textstyle  =
| plainlinks =
| text  =
| issue =
| fix   =
| date  =
| info  =
| image =
| imageright
| doc =
| cat =
}}

Parameters

  • type
    • speedy - speedy delete message box
    • delete - delete message box
    • content - content message box
    • style - style message box
    • notice - general message box (default)
    • protection - protection message box
  • small - a small left floated message box
  • id - the id of the box
  • class - any additional classes for the box
  • style - any additional styles for the box
  • textstyle - any additional style for the text in the box
  • plainlinks - if you want all external links to be plain links
  • text - text of the message box or use the following together
    • issue - the issue of the message box
    • fix - how to fix the message issue
  • date - the date the box was placed
  • info - more information about the issue
  • image - image in the left side of the message box.
  • imageright - image in the right side of the message box.
  • doc - answer yes to this when you are using your Ambox template on a documentation page, the documentation will not be categorized.
  • cat - this is the category your Ambox will put the pages in where it is used.

Boxen

All options are not shown.

This wiki has instant commons. If you want these images, your wiki's admin will have to request instant commons or you will have to upload the images manually.

Ambox warning pn
This is an article speedy deletion message box.
{{Ambox
| type  = speedy
| text  = This is an article speedy deletion message box.
| image = [[File:Ambox warning pn.svg|50px]]
| cat = Articles for speedy deletion
}}
Ambox warning pn
This is an article deletion message box.
{{Ambox
| type  = delete
| text  = This is an article deletion message box.
| image = [[File:Ambox warning pn.svg|50px]]
| cat = Articles for deletion
}}
Ambox warning orange
This article has a content issue. This is the fix. (2月 2020)
More information:
{{Ambox
| type  = content
| issue = '''This is an article has a content issue.'''
| fix   = This is the fix.
| date  = {{CURRENTMONTHNAME}} {{CURRENTYEAR}}
| info  = More infomation:
| image = [[File:Ambox_warning_orange.svg|50px]]
}}
Ambox warning yellow
This article has a style issue. This is the fix. (2月 2020)
More information:
{{Ambox
| type  = style
| issue = '''This article has a style issue.'''
| fix   = This is the fix.
| date  = {{CURRENTMONTHNAME}} {{CURRENTYEAR}}
| info  = More information:
| image = [[File:Ambox_warning_yellow.svg|50px]]
}}
Ambox warning blue
This is an article general message box.
{{Ambox
| type  = notice
| text  = This is an article general message box.
| image = [[File:Ambox_warning_blue.svg|50px]]
}}
Merge-split-transwiki default
This is an article move or merge message box.
{{Ambox
| type  = move
| text  = This is an article move or merge message box.
| image = [[File:Merge-split-transwiki_default.svg|50px]]
}}
Padlock
This is an article protection message box.
{{Ambox
| type  = protection
| text  = This is an article protection message box.
| image = [[File:Padlock.svg|50px]]
| cat = Protected articles
}}

Small box

This is a small article general message box.

This is a message box that can be used in a section of an article to highlight issues with the section. It is suggested to use a normal box for problems within the whole article. Text can flow around this box, so if you do not want text beside the box, you should use the <div style="clear:both"></div> directly after the box.

Here is the code for the above box.

{{Ambox
| small = yes
| type  = notice
| text  = This is a small article general message box.
}}

See also

テンプレートWikiの記事
特に記載のない限り、コミュニティのコンテンツはCC-BY-SA ライセンスの下で利用可能です。