Difference between revisions of "Template:Infobox"

From annadreambrush.com/wiki
Jump to navigation Jump to search
imported>Melancholie
m (optimized; BTW: valign="top" would be better for Opera and other browsers)
imported>Primefac
(Undid revision 855063393 by Jdlrobson (talk) rather problematic change mentioned on talk page, reverting until it can be sorted)
 
(200 intermediate revisions by 56 users not shown)
Line 1: Line 1:
{| class="infobox" style="width:22em;"
+
{{#invoke:Infobox|infobox}}<includeonly>{{template other|{{#ifeq:{{PAGENAME}}|Infobox||{{#ifeq:{{str left|{{SUBPAGENAME}}|7}}|Infobox|[[Category:Infobox templates|{{remove first word|{{SUBPAGENAME}}}}]]}}}}|}}</includeonly><noinclude>
! colspan="2" style="font-size:larger;" | {{{name}}}
+
{{documentation}}
|-
+
<!-- Categories go in the /doc subpage, and interwikis go in Wikidata. -->
| colspan="2" style="text-align:center;" | {{{image}}}<br />{{{caption}}}
+
</noinclude>
|- style="vertical-align:top;"
 
| '''Data 1:'''
 
| {{{data 1}}}
 
|- class="hiddenStructure{{{data 2}}}" style="vertical-align:top;"
 
| '''Data 2 (hidden if empty):'''
 
| {{{data 2}}}
 
|- class="hiddenStructure" style{{Var1|1=|1{{{data 3}}}=X}}="display:table-row; vertical-align:top;"
 
| '''Data 3 (hidden if empty or even undefined):'''
 
| {{{data 3}}}
 
|- style="vertical-align:top;"
 
| '''Data 4:'''
 
| {{{data 4}}}
 
|- style="vertical-align:top;"
 
| colspan="2" style="font-size:smaller;" | {{footnote}}
 
|}
 
<br style="clear:both;" />
 
<pre>
 
{| class="infobox" style="width:22em;"
 
! colspan="2" style="font-size:larger;" | {{{name}}}
 
|-
 
| colspan="2" style="text-align:center;" | {{{image}}}<br />{{{caption}}}
 
|- style="vertical-align:top;"
 
| '''Data 1:'''
 
| {{{data 1}}}
 
|- class="hiddenStructure{{{data 2}}}" style="vertical-align:top;"
 
| '''Data 2 (hidden if empty):'''
 
| {{{data 2}}}
 
|- class="hiddenStructure" style{{Var1|1=|1{{{data 3}}}=X}}="display:table-row; vertical-align:top;"
 
| '''Data 3 (hidden if empty or even undefined):'''
 
| {{{data 3}}}
 
|- style="vertical-align:top;"
 
| '''Data 4:'''
 
| {{{data 4}}}
 
|- style="vertical-align:top;"
 
| colspan="2" style="font-size:smaller;" | {{footnote}}
 
|}
 
</pre>
 

Latest revision as of 19:33, 15 August 2018

The time allocated for running scripts has expired.