Difference between revisions of "InfoBoxSandbox"
m (Spacing) |
m (Spacing) |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
− | + | <div class="info-box-outer"> | |
− | + | <table class="info-box"> | |
− | + | <tr> | |
− | + | <th class="infobox-title" colspan="2">{{{title}}}</th> | |
− | + | {{{infoBoxTable|}}} | |
− | + | </tr> | |
− | + | </table> | |
− | + | </div> | |
</includeonly> | </includeonly> | ||
− | <noinclude>{{InfoBox|title=Test infobox|infoBoxTable=<tr><td>Test stuff here</td><td>And here</td>}}This is some text<templatedata>{"params": {"title": {"label": "Title","description": "The title of the info box","example": "Templar Order","type": "string","required": true},"infoBoxTable": {"label": "Info box template","description": "The template table to show in the infobox","type": "unbalanced-wikitext","required": true}}}</templatedata></noinclude> | + | <noinclude> |
+ | {{InfoBox | ||
+ | |title=Test infobox | ||
+ | |infoBoxTable=<tr><td>Test stuff here</td><td>And here</td>}} | ||
+ | This is some text | ||
+ | <templatedata> | ||
+ | { | ||
+ | "params": { | ||
+ | "title": { | ||
+ | "label": "Title", | ||
+ | "description": "The title of the info box", | ||
+ | "example": "Templar Order", | ||
+ | "type": "string", | ||
+ | "required": true | ||
+ | }, | ||
+ | "infoBoxTable": { | ||
+ | "label": "Info box template", | ||
+ | "description": "The template table to show in the infobox", | ||
+ | "type": "unbalanced-wikitext", | ||
+ | "required": true | ||
+ | } | ||
+ | } | ||
+ | } | ||
+ | </templatedata> | ||
+ | </noinclude> |
Revision as of 19:08, 28 November 2020
Test infobox | |
---|---|
Test stuff here | And here |
This is some text
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 |