「テンプレート:Gbox」の版間の差分

提供: Yourpedia
移動: 案内検索
(条件文の除去)
 
(他の1人の利用者による、間の1版が非表示)
1行目: 1行目:
{| id="{{{id|}}}" class="{{{class|}}}" style="max-width:{{#ifeq:{{{width}}}|100%||{{{width}}}}}; border:{{{border|1px #000 solid}}}; background:{{{background|#fff}}}; color:{{{color|#000}}}; margin:0.5em {{#ifeq:{{{width}}}|100%|1em|auto}}"
+
{| id="{{{id|}}}" class="{{{class|}}}" style="max-width:{{{width|100%}}}; border:{{{border|1px #000 solid}}}; background:{{{background|#fff}}}; color:{{{color|#000}}}; margin:0.5em 1em"
| style="text-align:center"|{{#ifexist:Image:|[[Image:{{{image}}}]]|{{#if:{{{imagetext|}}}|<div style="font-size:{{{imagetextsize|x-small}}}; line-height:130%; margin-top:0.25em">{{{imagetext}}}</div>}}
+
| style="text-align:center"{{!}}{{{image|}}}<div style="font-size:{{{imagetextsize|x-small}}}; line-height:130%; margin-top:0.25em">{{{imagetext|}}}</div>
| style="padding:0.5em 0.25em; width:{{#if:{{{width|}}}|100%}}"|
+
| style="padding:0.5em 0.25em; width:{{{width|100%}}}"|<div style="text-align:center; font-size:{{{titlesize|x-large}}}; line-height:130%; font-weight:bold; padding-bottom:0.25em">{{{title|}}}</div><div style="text-align:{{{align|left}}}; font-size:{{{size|100%}}}; line-height:150%">{{{text|}}}</div>
{{#if:{{title|}}|<div style="text-align:center; font-size:{{{titlesize|x-large}}}; line-height:130%; font-weight:bold; padding-bottom:0.25em">{{{title}}}</div>}}
+
| style="text-align:center"|{{{imageright|}}}
<div style="text-align:{{{align|left}}}; font-size:{{{size|}}}; line-height:150%">{{{text}}}</div>
+
| style="text-align:center"|{{#ifexist:Image:{{{imageright}}}|[[Image:{{{imageright}}}]]|{{{imageright|}}}}}
+
 
|}<noinclude>
 
|}<noinclude>
 
<pre>
 
<pre>

2018年6月2日 (土) 21:43時点における最新版

{{Gbox
|id = 
|class = 
|text = 
|title = 
|width = 
|border = 
|background = 
|color = 
|align = 
|size = 
|titlesize = 
|image = 
|imagetext = 
|imagetextsize = 
|imageright = 
}}