Template:Infobox: Difference between revisions

From LBA File Information
Jump to navigation Jump to search
[checked revision][checked revision]
Content deleted Content added
Created page with "<includeonly><table class="infobox {{#if:{{{float|}}}|side}} {{{class|}}}" border="0" cellpadding="0" cellspacing="0"> {{Infobox/row |header={{#if: {{{title|}}} | {{{title..."
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 4: Line 4:
|class=title
|class=title
}}{{
}}{{
#ifeq: {{{noimage|false}}} | false
#if: {{{image|}}}
|{{Infobox/row
|{{Infobox/row
|data={{articleimage |{{{image|}}}| {{{imagecaption|Image for article: {{PAGENAME}}}}} | nocat={{{nocat|false}}} }}
|data=[[Image:{{{image}}}|250px]]
|class=image}}
|class=image}}
}}
}}
Line 163: Line 163:
This template is used to show an infobox for an article. It should be the first of the article, before the general description.
This template is used to show an infobox for an article. It should be the first of the article, before the general description.
This template uses it's [[Template:infobox/row|Row]] subpage for rendering title, optional [[Template:Articleimage|article image]], and 30 optional rows of custom data.
This template uses it's [[Template:infobox/row|Row]] subpage for rendering title, optional [[Template:Articleimage|article image]], and 30 optional rows of custom data.
{{stub}}


==Parameters==
==Parameters==

Latest revision as of 08:58, 11 February 2013

This template is used to show an infobox for an article. It should be the first of the article, before the general description. This template uses it's Row subpage for rendering title, optional article image, and 30 optional rows of custom data.

Parameters[edit]

  • infoboxname: The name of the infobox calling this template, for the link to documentation (case sensitive, defaults to no documentation link displayed)
  • title:
  • float: yes/no
  • class: one of the class values on the themes subpage
  • image:
  • imagecaption:
  • noimage:
  • nocat:

...

Syntax[edit]

Copy and paste the following for quick use:

{{infobox
 |class=
 |image=
 |imagecaption=
}}

Example[edit]

...