Difference between revisions of "Template:Infobox"

From Anabaptistwiki
Line 1: Line 1:
{|clear=right cellpadding="3" cellspacing="0" class="infobox" align="right" style="font-size:89%; width:300px; background-color:#FFF; border:1px solid #ccc; float:right; margin-left:0.5em; margin-bottom:0.5em; margin-top:0.5em;"
+
{{#invoke:Infobox|infobox}}<includeonly>{{template other|{{#ifeq:{{PAGENAME}}|Infobox||{{#ifeq:{{str left|{{SUBPAGENAME}}|7}}|Infobox|[[Category:Infobox templates|{{remove first word|{{SUBPAGENAME}}}}]]}}}}|}}</includeonly><noinclude>
|-
+
{{documentation}}
! colspan="2" style="background-color:#cedff2; cellspacing: 0; color:#000000; font-size:120%; padding:1em; border-bottom: 1px solid #ccc;" | {{{Box title|No Title}}}
+
<!-- Categories go in the /doc subpage, and interwikis go in Wikidata. -->
{{#if: {{{image|}}}|
+
</noinclude>
{{!}}-
 
{{!}} colspan="2" style="text-align:center;" {{!}} [[{{{image}}}|{{{imagewidth|250}}}px]]<br/>''{{{caption| }}}''
 
|
 
}}
 
|-
 
| style="width:30%;" |
 
'''{{{Row 1 title|No Title}}}'''
 
| style="width:70%;"|
 
{{{Row 1 info|No information}}}
 
{{#if: {{{Row 2 title|}}}|
 
{{!}}-
 
{{!}}
 
'''{{{Row 2 title}}}'''
 
{{!}}
 
{{{Row 2 info|No information}}}
 
{{#if: {{{Row 3 title|}}}|
 
{{!}}-
 
{{!}}
 
'''{{{Row 3 title}}}'''
 
{{!}}
 
{{{Row 3 info|No information}}}
 
{{#if: {{{Row 4 title|}}}|
 
{{!}}-
 
{{!}}
 
'''{{{Row 4 title}}}'''
 
{{!}}
 
{{{Row 4 info|No information}}}
 
{{#if: {{{Row 5 title|}}}|
 
{{!}}-
 
{{!}}
 
'''{{{Row 5 title}}}'''
 
{{!}}
 
{{{Row 5 info|No information}}}
 
{{#if: {{{Row 6 title|}}}|
 
{{!}}-
 
{{!}}
 
'''{{{Row 6 title}}}'''
 
{{!}}
 
{{{Row 6 info|No information}}}
 
{{#if: {{{Row 7 title|}}}|
 
{{!}}-
 
{{!}}
 
'''{{{Row 7 title}}}'''
 
{{!}}
 
{{{Row 7 info|No information}}}
 
{{#if: {{{Row 8 title|}}}|
 
{{!}}-
 
{{!}}
 
'''{{{Row 8 title}}}'''
 
{{!}}
 
{{{Row 8 info|No information}}}
 
{{#if: {{{Row 9 title|}}}|
 
{{!}}-
 
{{!}}
 
'''{{{Row 9 title}}}'''
 
{{!}}
 
{{{Row 9 info|No information}}}
 
{{#if: {{{Row 10 title|}}}|
 
{{!}}-
 
{{!}}
 
'''{{{Row 10 title}}}'''
 
{{!}}
 
{{{Row 10 info|No information}}}
 
{{#if: {{{Row 11 title|}}}|
 
{{!}}-
 
{{!}} colspan="2" style="text-align:center; background:#AAAAAA;" {{!}}
 
'''Too many parameters'''
 
|
 
}}
 
|
 
}}
 
|
 
}}
 
|
 
}}
 
|
 
}}
 
|
 
}}
 
|
 
}}
 
|
 
}}
 
|
 
}}
 
|
 
}}
 
|}<noinclude><br style="clear:both;"/>
 
{{documentation}}</noinclude>
 

Revision as of 18:45, 21 May 2020