「テンプレート:Info」の版間の差分
(ページの作成:「<includeonly>{|class="common-box" style="margin: 0px 10%; width:{{{width|80%}}}; background: #fbfbfb; border-left: 10px solid {{{color|#1e90ff}}};" |- | style="padding...」) |
|||
(2人の利用者による、間の2版が非表示) | |||
1行目: | 1行目: | ||
− | + | {|class="common-box" style="margin: 0px 10%; width:{{{width|80%}}}; background: #f8f9fa; border-left: 10px solid {{{color|#1e90ff}}};; box-shadow:0 1px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12),0 2px 1px -2px rgba(0,0,0,.2)" | |
|- | |- | ||
| style="padding: 2px 0 2px 0.5em" | {{{leftimage|[[image:Icon-info.png|50px|link=]]}}} | | style="padding: 2px 0 2px 0.5em" | {{{leftimage|[[image:Icon-info.png|50px|link=]]}}} | ||
| style="padding: 0.25em 0.5em"| <div style="{{{text-style|}}}">{{{text|{{{1|'''警告!まだ内容を入力してない!'''}}}}}}</div> | | style="padding: 0.25em 0.5em"| <div style="{{{text-style|}}}">{{{text|{{{1|'''警告!まだ内容を入力してない!'''}}}}}}</div> | ||
− | |} | + | |}<noinclude> |
− | <noinclude> | ||
− | |||
− | |||
− | + | === 使用例 === | |
<pre> | <pre> | ||
− | + | |text= を除いて、他の項を空白のままにしても削除しても構わない。なんの内容を書かないと、效果は上記のようです。 | |
{{info | {{info |
2019年4月5日 (金) 16:14時点における版
警告!まだ内容を入力してない!
|
使用例
|text= を除いて、他の項を空白のままにしても削除しても構わない。なんの内容を書かないと、效果は上記のようです。 {{info |width=50% |text= このinfoテンプレートはほかのテンプレートの親テンプレートです。 |text-style= color: red; font-weight: bold; font-style: italic; |leftimage= [[image:Icon-forbidden.png|50px|link=]] |color= red }}