InfoboxLocation - World of T-Shirts Wiki

From World of T-Shirts Wiki
Jump to navigation Jump to search
Ptfitb (talk | contribs)
No edit summary
Ptfitb (talk | contribs)
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
{| class="infobox" style="width:250px; font-size:90%; line-height:1.5em; border:1px solid #aaa; background-color:#f9f9f9;"
<table style="float:right; clear:right; margin:0 0 1em 1em; width:250px; font-size:90%; line-height:1.4em; background:#f9f9f9; border:1px solid #aaa; border-collapse:collapse;">
|-
  <tr>
! colspan="2" style="text-align:center; font-size:120%; background-color:#f2f2f2;" | {{{title|}}}
    <th colspan="2" style="text-align:center; background:#e6e6e6; font-size:120%; padding:8px;">{{{title|Infobox}}}</th>
|-
  </tr>
| colspan="2" style="text-align:center;" | [[File:{{{image|Placeholder.png}}}|250px]]
  <tr>
|-
    <td colspan="2" style="text-align:center; padding:5px;">
! Start date
      [[File:{{{image|}}}|250px|alt={{{title|}}}]]
| {{{start_date|—}}}
    </td>
|-
  </tr>
! End date
  <tr>
| {{{end_date|—}}}
    <th style="text-align:left; background:#e6e6e6; padding:4px;">Start date</th>
|-
    <td style="padding:4px;">{{{start_date|—}}}</td>
! Field 1
  </tr>
| {{{field1|—}}}
  <tr>
|-
    <th style="text-align:left; background:#e6e6e6; padding:4px;">End date</th>
! Field 2
    <td style="padding:4px;">{{{end_date|—}}}</td>
| {{{field2|—}}}
  </tr>
|-
  <tr>
! Field 3
    <th style="text-align:left; background:#e6e6e6; padding:4px;">Field 1</th>
| {{{field3|—}}}
    <td style="padding:4px;">{{{field1|—}}}</td>
|}
  </tr>
  <tr>
    <th style="text-align:left; background:#e6e6e6; padding:4px;">Field 2</th>
    <td style="padding:4px;">{{{field2|—}}}</td>
  </tr>
  <tr>
    <th style="text-align:left; background:#e6e6e6; padding:4px;">Field 3</th>
    <td style="padding:4px;">{{{field3|—}}}</td>
  </tr>
</table>
</includeonly>
</includeonly>


<noinclude>
<noinclude>
== Usage ==
Paste the following into any article to display the infobox:
<pre>
{{InfoboxCustom
| title = Example Title
| image = Example.jpg
| start_date = January 1, 1776
| end_date = Present
| field1 = Capital: Example City
| field2 = Population: 10 million
| field3 = HDI: 0.920
}}
</pre>
[[Category:Infobox templates]]
<templatedata>
<templatedata>
{
{
Line 36: Line 62:
}
}
}
}
</templatedata>
</templatedata></noinclude>
</noinclude>

Revision as of 01:42, 13 April 2025


Usage

Paste the following into any article to display the infobox:

{{InfoboxCustom
| title = Example Title
| image = Example.jpg
| start_date = January 1, 1776
| end_date = Present
| field1 = Capital: Example City
| field2 = Population: 10 million
| field3 = HDI: 0.920
}}

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
titletitle

no description

Unknownoptional
imageimage

no description

Unknownoptional
start_datestart_date

no description

Unknownoptional
end_dateend_date

no description

Unknownoptional
field1field1

no description

Unknownoptional
field2field2

no description

Unknownoptional
field3field3

no description

Unknownoptional