Template:Infobox: Difference between revisions

From Pixar Cars Wiki
Jump to navigation Jump to search
Line 1: Line 1:
{{#switch: {{{1|}}}
{{#switch: {{{1|}}}
  | start = <div class="infobox-wrapper" style="{{{outer_style|}}}"><div class="infobox-inner-wrapper">
  | start = <div class="infobox-wrapper" style="{{{outer_style|}}}"><div class="infobox-inner-wrapper" style="{{{inner_style|}}}">
{{!C}} class="infobox" id="{{{id|}}}" cellspacing="{{{cellspacing|0}}}"
{{!C}} class="infobox" id="{{{id|}}}" cellspacing="{{{cellspacing|0}}}"
  | title = ! id="infobox-title {{{id|}}}" colspan="{{{colspan|2}}}" style="{{{style|}}}" {{{other|}}} {{!}} {{{text|}}}
  | title = ! id="infobox-title {{{id|}}}" colspan="{{{colspan|2}}}" style="{{{style|}}}" {{{other|}}} {{!}} {{{text|}}}

Revision as of 13:44, 20 June 2024

This is the infobox builder, designed for ease-of-use and to help maintain consistency between different templates. Heavily inspired by Destinypedia's setup and approach.

Syntax
start
title
image
section
row
end

Components


Name
Section title
Test1 Test2