Difference between revisions of "Template:Infobox"

From Valve Cut Content
Jump to: navigation, search
(float should be this)
Line 1: Line 1:
 
{{#ifeq:{{{child|}}}|yes||<table class="infobox {{{bodyclass|}}}" cellspacing="3" style="{{#ifeq:{{{subbox|}}}|yes
 
{{#ifeq:{{{child|}}}|yes||<table class="infobox {{{bodyclass|}}}" cellspacing="3" style="{{#ifeq:{{{subbox|}}}|yes
  |padding:0; border:none; border-spacing:3px; margin:-3px; width:auto; min-width:100%; font-size:100%; clear:none; float:right; background-color:transparent;
+
  |padding:0; border:none; border-spacing:3px; margin:-3px; width:auto; min-width:100%; font-size:100%; clear:none; float:none; background-color:transparent; <!-- IF: Subbox -->
  |border-spacing: 3px; width:22em;
+
  |border-spacing: 3px; width:22em; float:right; <!-- IF: independent infobox -->
 
}} {{{bodystyle|}}}"><!--
 
}} {{{bodystyle|}}}"><!--
 
  Caption
 
  Caption

Revision as of 20:25, 21 November 2018

This is attempt 1 of backporting templates, implementing the composite Mediawiki infobox setup prior to its Lua implementation.

Original Source: https://en.wikipedia.org/w/index.php?title=Template:Infobox&action=edit&oldid=558281256

Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit Template:Infobox/doc to edit this documentation. (How does this work?)
Template:Infobox/doc