Template:Infobox/doc: Difference between revisions

ArrowHead294 (talk | contribs)
mNo edit summary
Ganaram inukshuk (talk | contribs)
No edit summary
Line 1: Line 1:
{{dochead}}{{lua}}
{{dochead}}{{lua}}
'''{{ARTICLEROOTPAGENAME}}''' is intended as a meta-template (i.e. a template intended mainly for constructing other templates). Although using [[Module:Infobox]] directly is the primary way to create infoboxes (such as those that automatically add entries), this template can be used standalone, such as with prototyping or making simple infoboxes. See [[:Category:Infoboxes]] to see all templates that generate infoboxes.{{clear}}
'''{{ARTICLEROOTPAGENAME}}''' is intended as a meta-template (i.e. a template intended mainly for constructing other templates). Although using [[Module:Infobox]] directly is the primary way to create infoboxes (such as those that automatically add entries), this template can be used standalone, such as with prototyping or making simple infoboxes. See [[:Category:Infoboxes]] to see all templates that generate infoboxes.{{clear}}
== Parameters ==
; <code>name</code> (optional)
: The template's name, needed to create its view/talk/edit links.
; <code>Title</code> (recommended; default <code>Infobox Title</code>)
: The title text.
; <code>''Direction'' Link</code> (optional)
: A link to the next or previous page, if the page is part of a series of related pages. <code>''Direction''</code> can be any of the following: Upper Left, Upper, Upper Right, Left, Right, Lower Left, Lower, Lower Right.
; <code>Header Row</code> (optional) and <code>Footer Row</code> (optional)
: Text for an infobox's header and footer rows, respectively.
; <code>Header ''N''</code> (recommended) and <code>Data ''N''</code> (recommended)
: Text for a row's header cell and data cell. A row's header cell may be omitted for simple infoboxes. Up to 30 rows are supported using the template.


=== Basic usage ===
=== Basic usage ===