Difference between revisions of "Template:Infobox"
From Twinsuniverse
J McKalling (Talk | contribs) m (J McKalling moved page Template:Infobox to Template:Infobox/core without leaving a redirect) |
J McKalling (Talk | contribs) m (creating a new infobox layer...) |
||
Line 1: | Line 1: | ||
<includeonly>{{#vardefine: infobox_messages|<!-- initializer -->}}{{ | <includeonly>{{#vardefine: infobox_messages|<!-- initializer -->}}{{ | ||
#var_final: infobox_messages | | #var_final: infobox_messages | | ||
− | }}<table class="infobox {{#if:{{{float|}}}|side}} {{lc:{{{class|}}}}}" border="0" cellpadding="0" cellspacing="0" style="{{{ | + | }}<table class="infobox {{#if:{{{float|}}}|side}} {{lc:{{{class|}}}}}" border="0" cellpadding="0" cellspacing="0" style="{{{mainstyle|}}}"> |
{{Infobox/row | header={{#if: {{{title|}}} | {{{title}}} | {{PAGENAME}} }} | class=title | {{Infobox/row | header={{#if: {{{title|}}} | {{{title}}} | {{PAGENAME}} }} | class=title | ||
− | | titleclass={{{titleclass|}}} | titlestyle={{{ | + | | titleclass={{{titleclass|}}} | titlestyle={{{headstyle|}}} |
}}{{ | }}{{ | ||
#ifeq: {{{noimage|false}}} | false | #ifeq: {{{noimage|false}}} | false |
Revision as of 19:01, 8 January 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.
This article is a stub [list all]. You can help the Twinsuniverse by expanding it. |
Parameters
- 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 theme titles on the /themes subpage
- image:
- imagecaption:
- noimage:
- nocat:
...
Syntax
Copy and paste the following for quick use:
{{infobox |class= |image= |imagecaption= }}
Example
...