Template:Infobox: Difference between revisions

From The Reed and Rite
mNo edit summary
Line 1: Line 1:
<includeonly><div class="infobox" style="width: 300px; float: right; vertical-align: top; display: inline-block; clear: right; position: relative; top: 1.5em;"><table class="infobox-table"><tr><td colspan="2" class="infobox-header">{{{name|No name provided}}}</td></tr>{{#if: {{{image|}}} |<tr><td colspan="2" class="infobox-image"><div class="infobox-image-container">[[File:{{{image}}}|200px|center|alt={{{caption|}}}|{{{caption|}}}]]</div></td></tr>}}{{#if: {{{caption|}}} |<tr><td colspan="2" class="infobox-caption">{{{caption}}}</td></tr>}}{{{data_rows|}}}</table></div></includeonly><noinclude>
<includeonly><div class="infobox"><table class="infobox-table"><tr><td colspan="2" class="infobox-header">{{{name|No name provided}}}</td></tr>{{#if: {{{image|}}} |<tr><td colspan="2" class="infobox-image"><div class="infobox-image-container">[[File:{{{image}}}|200px|center|alt={{{caption|}}}|{{{caption|}}}]]</div></td></tr>}}{{#if: {{{caption|}}} |<tr><td colspan="2" class="infobox-caption">{{{caption}}}</td></tr>}}{{{data_rows|}}}</table></div></includeonly><noinclude>
== Description ==
== Description ==
This template provides a foundation on which other all other [[:Category:Infoboxes|Infoboxes]] are based. Use of this template on it's own is advised against.
This template provides a foundation on which other all other [[:Category:Infoboxes|Infoboxes]] are based. Use of this template on it's own is advised against.

Revision as of 23:53, 21 May 2025

Description

This template provides a foundation on which other all other Infoboxes are based. Use of this template on it's own is advised against.

Usage

<includeonly>{{infobox<!--
-->| name = {{{name|}}}<!--
-->| image = {{{image|}}}<!--
-->| caption = {{{caption|}}}<!--

-->| data_rows =<!--
-->{{#if: {{{DATAROW1|}}} |<tr class="infobox-data-row"><th>Data Row Header 1</th><td>{{{DATAROW1}}}</td></tr>}}<!--
-->{{#if: {{{DATAROW2|}}} |<tr class="infobox-data-row"><th>Data Row Header 2</th><td>{{{DATAROW2}}}</td></tr>}}<!--
-->{{#if: {{{DATAROW3|}}} |<tr class="infobox-data-row"><th>Data Row Header 3</th><td>{{{DATAROW3}}}</td></tr>}}<!--
-->}}</includeonly><noinclude>
You Type You Get
<includeonly>{{infobox<!--
-->| name = {{{name|}}}<!--
-->| image = {{{image|}}}<!--
-->| caption = {{{caption|}}}<!--
-->| data_rows =<!--

-->{{#if: {{{DATAROW1|}}} <!--
-->|<tr class="infobox-data-row"><!--
--><th>Data Row Header 1</th><!--
--><td>{{{DATAROW1}}}</td></tr>}}<!--

-->{{#if: {{{DATAROW2|}}} <!--
-->|<tr class="infobox-data-row"><!--
--><th>Data Row Header 2</th><!--
--><td>{{{DATAROW2}}}</td></tr>}}<!--

-->{{#if: {{{DATAROW3|}}} <!--
-->|<tr class="infobox-data-row"><!--
--><th>Data Row Header 3</th><!--
--><td>{{{DATAROW3}}}</td></tr>}}
}}</includeonly><noinclude>
Infobox Template

Articles using Template