Template:Infobox: Difference between revisions
Jump to navigation
Jump to search
RodRedlineM1 (talk | contribs) |
RodRedlineM1 (talk | contribs) |
||
Line 4: | Line 4: | ||
| title = ! id="infobox-title {{{id|}}}" colspan="{{{colspan|2}}}" style="{{{style|}}}" {{{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; {{{style|}}}" {{!}} {{#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>|}}|}} | ||
| end = {{Table_end}}</div></div> | | end = {{Table_end}}</div></div> | ||
| section = {{#if:{{{entries|}}}|{{!}}- class="infobox-section" id="{{{id|}}}" | | section = {{#if:{{{entries|}}}|{{!}}- class="infobox-section" id="{{{id|}}}" |
Revision as of 13:48, 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 | |||||
---|---|---|---|---|---|
|