Template:Infobox/doc: Difference between revisions
No edit summary |
ArrowHead294 (talk | contribs) mNo edit summary |
||
(10 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{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}} | |||
=== Basic usage === | === Basic usage === | ||
Rows in an infobox can be added by adding parameters <code><nowiki>Header N</nowiki></code> and <code><nowiki>Row N</nowiki></code>. Up to 30 rows can be added, each with a separate header and data entry. | Rows in an infobox can be added by adding parameters <code><nowiki>Header N</nowiki></code> and <code><nowiki>Row N</nowiki></code>. Up to 30 rows can be added, each with a separate header and data entry. | ||
Line 26: | Line 29: | ||
=== Left and right links === | === Left and right links === | ||
Basic navigation can be added by including <code><nowiki>Left Link</nowiki></code> and <code><nowiki>Right Link</nowiki></code>. | Basic navigation can be added by including <code><nowiki>Left Link</nowiki></code> and <code><nowiki>Right Link</nowiki></code>. | ||
Note that links are ''not'' automatically formatted. | |||
{{Infobox | {{Infobox | ||
Line 37: | Line 42: | ||
}} | }} | ||
<pre>{{Infobox | <pre>{{Infobox | ||
| Title=12edo | | Title=12edo | ||
Line 51: | Line 55: | ||
=== Omitting links === | === Omitting links === | ||
Links can be omitted, such as with border cases. | Links can be omitted, such as with border cases. | ||
Line 138: | Line 141: | ||
| Upper Link = ↑ 4L 2s | | Upper Link = ↑ 4L 2s | ||
| Lower Link = ↓ 6L 2s | | Lower Link = ↓ 6L 2s | ||
}}</pre> | }}</pre>{{clear}} | ||
{{ | |||
=== Advanced use === | === Advanced use === | ||
{{todo|inline=1| work-in-progress }} | |||