「テンプレート:ambox」の版間の差分
*>新幹線 細 (保護テンプレの画像変更) |
細 (Atanabe がページ「テンプレート:Ambox」をリダイレクトの「テンプレート:ambox」に移動しました) |
||
(18人の利用者による、間の39版が非表示) | |||
1行目: | 1行目: | ||
{{#switch:{{{small|{{#if:{{{section|}}}|section}}}}} | |||
| left = | |||
{{Ambox/core | |||
| small = left | |||
| | | type = {{{type|}}} | ||
| | | image = {{#if:{{{smallimage|}}} | ||
| {{{smallimage}}} | |||
| | | {{{image|}}} | ||
}} | |||
| image-file = {{#if:{{{smallimage-file|}}} | |||
}} {{#if:{{{ | | {{{smallimage-file}}} | ||
| {{{image-file|}}} | |||
}} | |||
}} | | image-size = {{#if:{{{smallimage-size|}}} | ||
| {{{smallimage-size}}} | |||
}} | | 20x20 | ||
}} | |||
| imageright = {{#if:{{{smallimageright|}}} | |||
{{# | | {{{smallimageright}}} | ||
| {{{imageright|}}} | |||
| | }} | ||
| imageright-file = {{#if:{{{smallimageright-file|}}} | |||
| {{{smallimageright-file}}} | |||
| {{{imageright-file|}}} | |||
}} | |||
| imageright-size = {{#if:{{{smallimageright-size|{{{smallimage-size|}}}}}} | |||
| {{{smallimageright-size|{{{smallimage-size}}}}}} | |||
| 20x20 | |||
}} | |||
| style = {{{style|}}}; {{#if:{{{background|}}}|background-color: {{{background|}}}}} | |||
| textstyle = {{{textstyle|}}} | |||
| text = {{#if:{{{smalltext|}}} | |||
| {{{smalltext}}} | |||
| {{{text}}} | |||
}} | |||
| printable = {{{printable|}}} | |||
}} | |||
| section = | |||
{{Ambox/core | |||
| small = section | |||
| type = {{{type|}}} | |||
| image = {{{image|}}} | |||
}} | | image-file = {{{image-file|}}} | ||
} | | image-size = {{#if:{{{image-size-section|{{{image-size|}}}}}} | ||
| {{{image-size-section|{{{image-size}}}}}} | |||
{{ | | 40x40 | ||
}} | |||
| imageright = {{{imageright|}}} | |||
| imageright-file = {{{imageright-file|}}} | |||
| imageright-size = {{#if:{{{imageright-size-section|{{{image-size-section|{{{imageright-size|{{{image-size|}}}}}}}}}}}} | |||
| {{{imageright-size-section|{{{image-size-section|{{{imageright-size|{{{image-size}}}}}}}}}}}} | |||
| 40x40 | |||
}} < | }} | ||
}} | | style = {{{style|}}}; {{#if:{{{background|}}}|background-color: {{{background|}}}}} | ||
</ | | textstyle = {{{textstyle|}}} | ||
| text = {{#if:{{{text-section|}}} | |||
{{Documentation}} | | {{{text-section}}} | ||
| {{{text}}} | |||
}} | |||
| printable = {{{printable|}}} | |||
}} | |||
| #default = | |||
{{Ambox/core | |||
| type = {{{type|}}} | |||
| image = {{{image|}}} | |||
| image-file = {{{image-file|}}} | |||
| image-size = {{#if:{{{image-size|}}} | |||
| {{{image-size}}} | |||
| 40x40 | |||
}} | |||
| imageright = {{{imageright|}}} | |||
| imageright-file = {{{imageright-file|}}} | |||
| imageright-size = {{#if:{{{imageright-size|{{{image-size|}}}}}} | |||
| {{{imageright-size|{{{image-size}}}}}} | |||
| 40x40 | |||
}} | |||
| style = {{{style|}}}; {{#if:{{{background|}}}|background-color: {{{background|}}}}} | |||
| textstyle = {{{textstyle|}}} | |||
| text = {{{text}}} | |||
| printable = {{{printable|}}} | |||
}} | |||
}}<!-- | |||
--><noinclude>{{#ifeq:{{BASEPAGENAME}}|{{SUBPAGENAME}}|{{#ifeq:{{NAMESPACE}}|Template|[[Category:記事メッセージボックス]]}}}}</noinclude><!-- | |||
--><noinclude>{{Documentation}} | |||
<!-- カテゴリと言語間リンクはここではなく、/doc サブページに追加してください --></noinclude> | <!-- カテゴリと言語間リンクはここではなく、/doc サブページに追加してください --></noinclude> |
2014年8月1日 (金) 04:33時点における最新版
テンプレートの解説[[{{fullurl:</noinclude>:/doc| action=edit&preload=Template:Documentation/preload }} 作成]]