「テンプレート:Fmbox」の版間の差分
提供: ひつじ小屋別館2代目
(update from enwiki) |
細 (1版) |
||
(4人の利用者による、間の6版が非表示) | |||
1行目: | 1行目: | ||
− | + | {{#invoke:Message box|fmbox}}<noinclude> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | }}<noinclude> | ||
{{documentation}} | {{documentation}} | ||
<!-- Add categories and interwikis to the /doc subpage, not here! --> | <!-- Add categories and interwikis to the /doc subpage, not here! --> | ||
</noinclude> | </noinclude> |
2014年1月25日 (土) 22:59時点における最新版
Parameters[編集]
Parameter | Options | Notes |
---|---|---|
type | warning/editnotice/system | |
class | Additional CSS styling for the message box (pulled from another stylesheet (Mediawiki:Common.css) | |
style | Additional CSS styling for the message box (manually declared) | |
image | [[File:example.example|40px]]
|
If bank, Auto detected and chosen by type .
Default images:
|
textstyle | CSS formatting for the displayed text | |
text | The message to be displayed | |
imageright | [[File:example.example|40px]]
|
File to be shown on the right side of the message |
Example messages[編集]
Message type | Code | Example output | ||
---|---|---|---|---|
(default) | {{Fmbox |type = |text = Example message text. }} |
| ||
warning |
{{Fmbox |type = warning |text = Example message text. }} |
| ||
editnotice |
{{Fmbox |type = editnotice |text = Example message text. }} |
| ||
system |
{{Fmbox |type = system |text = Example message text. }} |
|
The above documentation is transcluded from テンプレート:Fmbox/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |