Template:Infobox: Difference between revisions

m close bolding
Trying to implement an modular infobox
Tag: Replaced
 
(219 intermediate revisions by 65 users not shown)
Line 1: Line 1:
{| align="right" border="1" cellpadding="2" width="300" style="margin-left:0.5em;"
<includeonly>{{infobox start|{{{class|}}}}}
|-
{{infobox header
! align="center" colspan="2" style="background:#efefef;" | <big>{{{subject_name}}}</big>
| name = {{{name|{{PAGENAME}}}}}
|-
| wideimage = {{{image|{{{name|{{PAGENAME}}}}}.png}}}
| align="center" colspan="2" | [[Image:{{PAGENAME}}.jpg|none|280px|]]{{{image_caption}}}
| description = {{{description|}}}
|-
}}
! '''First item''' || {{{first_item}}}
 
|-
{{infobox section|{{#if:{{{section1|}}}|{{{section1}}}|Infos}}}}
! '''Second item''' || {{{second_item}}}
{{infobox row|{{{info1|}}}|{{{info1value|}}}|{{{info1value|}}}}}
|}
{{infobox section|{{{section2}}}|{{{section2|}}}}}
{{infobox row|{{{info2|}}}|{{{info2value|}}}|{{{info2value|}}}}}
{{infobox section|{{{section3}}}|{{{section3|}}}}}
{{infobox row|{{{info3|}}}|{{{info3value|}}}|{{{info3value|}}}}}
{{infobox section|{{{section4}}}|{{{section4|}}}}}
{{infobox row|{{{info4|}}}|{{{info4value|}}}|{{{info4value|}}}}}
{{infobox section|{{{section5}}}|{{{section5|}}}}}
{{infobox row|{{{info5|}}}|{{{info5value|}}}|{{{info5value|}}}}}
{{infobox section|{{{section6}}}|{{{section6|}}}}}
{{infobox row|{{{info6|}}}|{{{info6value|}}}|{{{info6value|}}}}}
{{infobox section|{{{section7}}}|{{{section7|}}}}}
{{infobox row|{{{info7|}}}|{{{info7value|}}}|{{{info7value|}}}}}
{{infobox section|{{{section8}}}|{{{section8|}}}}}
{{infobox row|{{{info8|}}}|{{{info8value|}}}|{{{info8value|}}}}}
{{infobox section|{{{section9}}}|{{{section9|}}}}}
{{infobox row|{{{info9|}}}|{{{info9value|}}}|{{{info9value|}}}}}
{{infobox section|{{{section10}}}|{{{section10|}}}}}
{{infobox row|{{{info10|}}}|{{{info10value|}}}|{{{info10value|}}}}}
{{infobox end}}</includeonly><noinclude>
{{doc}}
[[Category:Infobox templates]]</noinclude>