Difference between revisions of "InfoBoxSandbox"
m (Spacing) |
|||
Line 13: | Line 13: | ||
| introduction = The infobox acts as the basis for all other infoboxes on this wiki. | | introduction = The infobox acts as the basis for all other infoboxes on this wiki. | ||
| usageContent = To use this info box, you simply need to pass a title and some content. The content appears in a table so make sure to wrap whatever you have in a table row (tr tag). | | usageContent = To use this info box, you simply need to pass a title and some content. The content appears in a table so make sure to wrap whatever you have in a table row (tr tag). | ||
− | | usageExample = <nowiki>{{InfoBoxSandbox | + | | usageExample =<nowiki>{{InfoBoxSandbox |
| title=Test infobox | | title=Test infobox | ||
| infoBoxTable= | | infoBoxTable= |
Revision as of 19:43, 28 November 2020
Infobox
The infobox acts as the basis for all other infoboxes on this wiki.
Usage:
To use this info box, you simply need to pass a title and some content. The content appears in a table so make sure to wrap whatever you have in a table row (tr tag).
{{InfoBoxSandbox | title=Test infobox | infoBoxTable= <tr> <td>Test stuff here</td> <td>And here</td> </tr> <!-- You can use any other HTML Tags or any wikitext too, just wrap them in a tr -->}}
The above would render the following:
Test infobox | |
---|---|
Test stuff here | And here |
Parameters:
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Title | title | The title of the info box
| String | required |
Info box template | infoBoxTable | The template table to show in the infobox | Unbalanced wikitext | required |