Template:Infobox: Difference between revisions
Jump to navigation
Jump to search
![]() RodRedlineM1 (talk | contribs) |
![]() RodRedlineM1 (talk | contribs) |
||
Line 2: | Line 2: | ||
| start = <div class="infobox-wrapper"><div class="infobox-inner-wrapper"> | | start = <div class="infobox-wrapper"><div class="infobox-inner-wrapper"> | ||
{{!C}} class="infobox" id="{{{id|}}}" cellspacing="{{{cellspacing|0}}}" | {{!C}} class="infobox" id="{{{id|}}}" cellspacing="{{{cellspacing|0}}}" | ||
| title = ! id="infobox-title {{{id|}}}" colspan="{{{colspan|2}}}" {{{other|}}} {{!}} {{{text|}}} | | title = ! id="infobox-title {{{id|}}}" colspan="{{{colspan|2}}}" style="{{{style|}}}" {{{other|}}} {{!}} {{{text|}}} | ||
| image = {{#if: {{{image|}}} |{{!}}- | | image = {{#if: {{{image|}}} |{{!}}- | ||
{{!}} class="infobox-image-cell" colspan="2" style="text-align:center" {{!}} {{#if:{{{image_style|}}}|<div style="{{{image_style|}}}">|}}[[File:{{{image|}}}{{#if:{{{image_size|}}}|{{!}}{{{image_size|}}}|}}]]{{#if:{{{caption|}}}|<br/><span class="caption" style="font-size:11px">{{{caption|}}}</span>|}}{{#if:{{{image_style|}}}|</div>|}}|}} | {{!}} class="infobox-image-cell" colspan="2" style="text-align:center" {{!}} {{#if:{{{image_style|}}}|<div style="{{{image_style|}}}">|}}[[File:{{{image|}}}{{#if:{{{image_size|}}}|{{!}}{{{image_size|}}}|}}]]{{#if:{{{caption|}}}|<br/><span class="caption" style="font-size:11px">{{{caption|}}}</span>|}}{{#if:{{{image_style|}}}|</div>|}}|}} |
Revision as of 12:46, 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
- {{infobox/Row}}
Name | |||||
---|---|---|---|---|---|
|