提供: Japanese Scratch-Wiki

(min-height)
 
(4人の利用者による、間の6版が非表示)
1行目: 1行目:
<includeonly><div style=
+
<div class="scratchwikiframe" style=
 
"border:1px solid #E0E0E0;
 
"border:1px solid #E0E0E0;
 
-webkit-border-radius:10px 10px 0 0;
 
-webkit-border-radius:10px 10px 0 0;
 
border-radius:10px 10px 0 0;
 
border-radius:10px 10px 0 0;
 
box-shadow:0 2px 3px rgba(34, 25, 25, 0.5);
 
box-shadow:0 2px 3px rgba(34, 25, 25, 0.5);
margin:0px 0px 20px 3px;
+
margin:0px 0px {{{6|10px}}} 0px;
 
padding:0px;background-color:#FFFFFF;
 
padding:0px;background-color:#FFFFFF;
 
width:{{{3}}};
 
width:{{{3}}};
height:{{{4}}};
+
min-height:{{{4}}};
 
overflow:hidden;
 
overflow:hidden;
 
float:{{{5}}};
 
float:{{{5}}};
 
">
 
">
<div style=
+
<div class="scratchwikiframe-title" style=
"height:20px;
+
"min-height:20px;
 
padding:7px 7px;
 
padding:7px 7px;
 
position:relative;
 
position:relative;
 
background-color:#F7F7F7;font-size:1.5em;
 
background-color:#F7F7F7;font-size:1.5em;
 
text-align:center;
 
text-align:center;
 +
word-break:break-all;
 
border-bottom:1px solid rgb(224, 224, 224);
 
border-bottom:1px solid rgb(224, 224, 224);
">{{{1}}}
+
">{{#if:{{{7|}}} | [[{{{7}}}|{{{1}}}]] | {{{1}}} }} <!--If 7th parameter exists, make the title a link.-->
</div><div style="padding:5px">
+
</div><div style="padding:5px" class="scratchwikiframe-content"><!--
{{{2}}}
+
-->{{{2}}}
</div></div></includeonly><noinclude>
+
</div></div>
<nowiki>
+
<noinclude>{{/doc}}[[カテゴリ:テンプレート]]</noinclude>
using:
 
 
 
{{Scratchwikiframe|This is a Headline|This is a Text|90%|100px|left}}
 
 
 
 
 
{{Scratchwikiframe|This is a Headline|This is a Text|45%|150px|right}}
 
[[de:template:Scratchwikiframe]]</nowiki>
 
 
 
will be displayed as:
 
{{Scratchwikiframe|This is a Headline|This is a Text|90%|100px|left}}
 
 
 
{{Scratchwikiframe|This is a Headline|This is a Text|45%|150px|right}}
 
[[de:template:Scratchwikiframe]]
 
</noinclude>
 

2018年9月15日 (土) 12:16時点における最新版

{{{1}}}
{{{2}}}

Documentation テンプレートの説明