Actions

Template

Difference between revisions of "InfoBoxSandbox"

m (Spacing)
(Test documentation)
Line 9: Line 9:
 
     </div>
 
     </div>
 
<!-- Do not seperate these tags! -->
 
<!-- Do not seperate these tags! -->
</includeonly><noinclude>{{InfoBoxSandbox
+
</includeonly><noinclude>{{Documentation
|title=Test infobox
+
| title        = Infobox
|infoBoxTable=
+
| introduction  = The infobox acts as the basis for all other infoboxes on this wiki.
<tr>
+
| usageContent  = The section explaining how to use it
     <td>Test stuff here</td>
+
| usageExample  = <nowiki>{{InfoBoxSandbox
    <td>And here</td>
+
| title=Test infobox
}}
+
| infoBoxTable=
    <templatedata>
+
    <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 -->
 +
}}</nowiki>
 +
| usageResult  = {{InfoBoxSandbox
 +
    |title=Test infobox
 +
    |infoBoxTable=
 +
     <tr>
 +
        <td>Test stuff here</td>
 +
        <td>And here</td>
 +
    </tr>
 +
    }}
 +
| parameters = <templatedata>
 
         {
 
         {
 
             "params": {
 
             "params": {
Line 35: Line 49:
 
         }
 
         }
 
     </templatedata>
 
     </templatedata>
</noinclude>
+
}}</noinclude>

Revision as of 19:31, 28 November 2020

Infobox

The infobox acts as the basis for all other infoboxes on this wiki.

Usage:

The section explaining how to use it

       {{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.

Template parameters

ParameterDescriptionTypeStatus
Titletitle

The title of the info box

Example
Templar Order
Stringrequired
Info box templateinfoBoxTable

The template table to show in the infobox

Unbalanced wikitextrequired