「テンプレート:Ambox」の版間の差分
ナビゲーションに移動
検索に移動
template>新幹線 細 (英語版と同様にstyleの画像変更、move追加) |
template>Kkkdc (from Template:Ambox/sandbox 2010-05-23T10:07:29Z User:新幹線 ノートページによる) |
||
1行目: | 1行目: | ||
{{#switch:{{{small|{{#if:{{{section|}}}|section}}}}} | |||
| left = | |||
{{Ambox/core/sandbox | |||
| small = left | |||
| | | type = {{{type|}}} | ||
| | | image = {{#if:{{{smallimage|}}} | ||
| | | {{{smallimage}}} | ||
| {{{image|}}} | |||
}} | |||
| | | image-file = {{#if:{{{smallimage-file|}}} | ||
| {{{smallimage-file}}} | |||
| {{{image-file|}}} | |||
}} | |||
}} {{ | | image-size = {{#if:{{{smallimage-size|{{{image-size-section|}}}}}} | ||
| {{{smallimage-size|{{{image-size-section}}}}}} | |||
| | | 20x20 | ||
}} | |||
| imageright = {{#if:{{{smallimageright|}}} | |||
}} | | {{{smallimageright}}} | ||
| {{{imageright|}}} | |||
}} | |||
{{# | | imageright-file = {{#if:{{{smallimageright-file|}}} | ||
| {{{smallimageright-file}}} | |||
| | | {{{imageright-file|}}} | ||
}} | |||
| imageright-size = {{#if:{{{smallimageright-size|{{{imageright-size-section|{{{smallimage-size|{{{image-size-section|}}}}}}}}}}}} | |||
| {{{smallimageright-size|{{{imageright-size-section|{{{smallimage-size|{{{image-size-section}}}}}}}}}}}} | |||
| 20x20 | |||
}} | |||
| style = {{{style|}}}; {{#if:{{{background|}}}|background-color: {{{background|}}}}} | |||
| textstyle = {{{textstyle|}}} | |||
| text = {{#if:{{{smalltext|{{{text-section|}}}}}} | |||
| {{{smalltext|{{{text-section}}}}}} | |||
| {{{text}}} | |||
}} | |||
| printable = {{{printable|}}} | |||
}} | |||
| section = | |||
{{Ambox/core/sandbox | |||
| small = section | |||
| type = {{{type|}}} | |||
| image = {{#if:{{{smallimage|}}} | |||
| {{{smallimage}}} | |||
| {{{image|}}} | |||
}} | |||
| image-file = {{#if:{{{smallimage-file|}}} | |||
| {{{smallimage-file}}} | |||
| {{{image-file|}}} | |||
}} | |||
}} | | image-size = {{#if:{{{smallimage-size|{{{image-size-section|}}}}}} | ||
| {{{smallimage-size|{{{image-size-section}}}}}} | |||
{{#if:{{{ | | 25x25 | ||
}} | |||
| imageright = {{#if:{{{smallimageright|}}} | |||
| {{{smallimageright}}} | |||
| {{{imageright|}}} | |||
}} | |||
| imageright-file = {{#if:{{{smallimageright-file|}}} | |||
}} | | {{{smallimageright-file}}} | ||
}} | | {{{imageright-file|}}} | ||
}} | |||
| imageright-size = {{#if:{{{smallimageright-size|{{{imageright-size-section|{{{smallimage-size|{{{image-size-section|}}}}}}}}}}}} | |||
| {{{smallimageright-size|{{{imageright-size-section|{{{smallimage-size|{{{image-size-section}}}}}}}}}}}} | |||
--><includeonly>{{#ifeq:{{BASEPAGENAME}}|{{SUBPAGENAME}}|{{#ifeq: {{NAMESPACE}}|Template|[[Category: | | 25x25 | ||
}} | |||
| style = {{{style|}}}; {{#if:{{{background|}}}|background-color: {{{background|}}}}} | |||
| textstyle = {{{textstyle|}}} | |||
| text = {{#if:{{{smalltext|{{{text-section|}}}}}} | |||
| {{{smalltext|{{{text-section}}}}}} | |||
| {{{text}}} | |||
}} | |||
| printable = {{{printable|}}} | |||
}} | |||
| #default = | |||
{{Ambox/core/sandbox | |||
| 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|}}} | |||
}} | |||
}}<!-- | |||
--><includeonly>{{#ifeq:{{BASEPAGENAME}}|{{SUBPAGENAME}}|{{#ifeq:{{NAMESPACE}}|Template|[[Category:記事用メッセージボックス]]}}}}</includeonly><!-- | |||
--><noinclude>{{Documentation}} | --><noinclude>{{Documentation}} | ||
<!-- カテゴリと言語間リンクはここではなく、/doc サブページに追加してください --></noinclude> | <!-- カテゴリと言語間リンクはここではなく、/doc サブページに追加してください --></noinclude> |
2010年7月11日 (日) 03:01時点における版
テンプレートの解説[作成]