「テンプレート:Sidebar with heading backgrounds」の版間の差分

提供: Yourpedia
移動: 案内検索
(ページの作成:「{{Sidebar |name = {{{name|{{PAGENAME}}}}} |class = {{{class|{{{bodyclass|}}}}}} |style = <noinclude>width:13.0em;</noinclude> {{{style|{{{bo...」)
 
(条件文の除去)
 
10行目: 10行目:
 
|outertitlestyle = {{{outertitlestyle|}}}
 
|outertitlestyle = {{{outertitlestyle|}}}
  
|topimage        = {{#if:{{{topimage<includeonly>|</includeonly>}}} |{{{topimage}}} |&nbsp;}}
+
|topimage        = {{{topimage|}}}
 
|topimageclass  = {{{topimageclass|}}}
 
|topimageclass  = {{{topimageclass|}}}
|topimagestyle  = {{#if:{{{topimage<includeonly>|</includeonly>}}} |{{{topimagestyle|}}} |padding:0;line-height:0.4em;}}
+
|topimagestyle  = padding:0;line-height:0.4em; {{{topimagestyle|}}}
 
|topcaption      = {{{topcaption<includeonly>|</includeonly>}}}
 
|topcaption      = {{{topcaption<includeonly>|</includeonly>}}}
 
|topcaptionstyle = {{{topcaptionstyle|}}}
 
|topcaptionstyle = {{{topcaptionstyle|}}}
37行目: 37行目:
 
  -------and heading1 if nothing else between:------->
 
  -------and heading1 if nothing else between:------->
 
|abovestyle = padding:0; line-height:0.4em;
 
|abovestyle = padding:0; line-height:0.4em;
|above = {{#if:{{{image<includeonly>|</includeonly>}}}
+
|above = &nbsp;
          | |{{#if:{{{title|}}}
+
              | {{#if:{{{heading1|}}} |&nbsp;}}
+
            }}
+
        }}
+
 
+
 
|heading1style = {{{heading1style|}}}
 
|heading1style = {{{heading1style|}}}
 
|heading1 = {{{heading1<includeonly>|</includeonly>}}}
 
|heading1 = {{{heading1<includeonly>|</includeonly>}}}

2018年6月6日 (水) 17:37時点における最新版