「Template:Infobox rock」の版間の差分

削除された内容 追加された内容
en:Template:Infobox rock 2013年9月2日 (月) 17:39(UTC)より
1行目:
{{infobox
<noinclude>
| title = {{{name|<includeonly>{{PAGENAME}}</includeonly>}}}{{#if:{{{alternative_name|}}}|<br /><small>{{{alternative_name}}}</small>}}
{{Template sandbox notice}}
| subheaderstyle = background-color: #cddeff
</noinclude><!-- テンプレートの本体コード -->{{Infobox
| subheader = {{#if:{{both|{{{name|}}}|{{{type|}}}}}|&nbsp;—&nbsp;&nbsp;[[{{{type_link|{{{type}}}}}}|{{{type}}}]]&nbsp;&nbsp;—}}
|bodyclass = vcard
| headerstyle = background-color: #ccc
|bodystyle = width:22em;
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|alt={{{alt|{{{image_alt|}}}}}}}}
|above = {{{name}}}
| caption = {{{caption|{{{image_caption|}}}}}}
 
| label1 = 座標
|subheader = {{#if:{{both|{{{name|}}}|{{{type|}}}}}|&nbsp;—&nbsp;&nbsp;[[{{{type_link|{{{type}}}}}}|{{{type}}}]]&nbsp;&nbsp;—}}
| data1 = {{{coordinates|}}}
|subheaderstyle = background: #cddeff
 
|label3 header2 = {{#if:{{{composition_secondarycomposition|}}}|構成物}}
|image = {{#if:{{{image|}}}|[[File:{{{image}}}|{{{image_size|200px}}}|{{{name}}}]]}}
|caption = {{{image_caption|}}}
 
|data3 label3 = {{#if:{{{composition_secondary|}}}|主要構成物}}
|headerstyle = background-color: #ccc
|data2 data3 = {{{composition|}}}
|datastyle = display:block; text-align:left;
 
|header1 label4 = {{#if:{{{composition|}}}|構成物}}
|label2 data4 = {{#if:{{{composition_secondary|}}}|主要構成物}}
|data2 = {{{composition|}}}
|label3 = {{#if:{{{composition_secondary|}}}|他構成物}}
|data3 = {{{composition_secondary|}}}
 
|belowstyle = border-top: 1px solid #aaa;
|below = [[プロジェクト:地球科学]]/[[Portal:地球科学]]
|tnavbar = Infobox rock
}}<noinclude>
{{Documentation}}