Welcome to the Lylat Wiki, all about the Star Fox series! If you'd like to help out, please take a look at our community portal.

Help:Infoboxes

From Lylat Wiki, your source on Star Fox information. By Fans, for Fans.
Revision as of 21:35, 28 February 2010 by Tacopill (talk | contribs) (Created page with 'Info boxes are a place to store simple facts related to the article, and putting them in a small, compact table off to the side. Our info box start off with 5 areas to be used…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Info boxes are a place to store simple facts related to the article, and putting them in a small, compact table off to the side.


Our info box start off with 5 areas to be used, plus the ability to add more. For examples:


{{InfoBoxBegin | class = {{{class|}}} Fruit | caption = Fruit | style= {{{style|}}} }} 
{{!-}}
! colspan=2 {{!}} Details
{{InfoBox
| Info1name = Colors
| Info1details = {{{colors|}}}
| Info2name = Taste 
| Info2details = {{{taste|}}}
| Info3name = Baked
| Info3details = {{{baked|}}}
| Info4name = Salted
| Info4details = {{{salted|}}}
| Info5name = [[related info]]
| Info5details = {{{related_info|}}}
}}
<!-- {{infoboxentry}} -->
{{InfoBoxEnd}}

comes out looking like: Template:InfoBoxBegin |-
! colspan=2 | Details Template:InfoBoxDetails Template:InfoBoxEnd


Each row in the table has 2 cells: Info#name and Info#details, where # is the row #. Template:InfoBoxDetails has room for 5 rows, and Template:infoboxentry can dynamically add a row for each time it's used. Template:InfoBoxBegin and Template:InfoBoxEnd complete the box with all the needed info.

Parameters

when using a infobox,