Template:MP box/doc: Difference between revisions
From Portals of Phereon Wiki
Content added Content deleted
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
<pre> |
<pre> |
||
{{MP box |
{{MP box |
||
|id = mybox1 |
|id = mybox1 |
||
|heading = Title |
|heading = Title |
||
|content = Content stuff here |
|content = Content stuff here |
||
|footer = I am a footer |
|footer = I am a footer |
||
|footerlink = https://www.portalsofphereon.com/wiki/Main_Page |
|||
}} |
}} |
||
</pre> |
</pre> |
||
Gets you this: |
Gets you this: |
||
{{MP box |
{{MP box |
||
|id = mybox1 |
|id = mybox1 |
||
|heading = Title |
|heading = Title |
||
|content = Content stuff here |
|content = Content stuff here |
||
|footer = I am a footer |
|footer = I am a footer |
||
|footerlink = https://www.portalsofphereon.com/wiki/Main_Page |
|||
}} |
}} |
||
Revision as of 16:31, 29 August 2020
Usage
Using this:
{{MP box |id = mybox1 |heading = Title |content = Content stuff here |footer = I am a footer |footerlink = https://www.portalsofphereon.com/wiki/Main_Page }}
Gets you this:
Title
Content stuff here
Template data
A box designed for the main page
Parameter | Description | Type | Status | |
---|---|---|---|---|
id | id | A unique ID for this box, to be referenced in CSS or JS
| String | optional |
Heading | heading | What shows up in the heading section
| String | suggested |
Content | content | Content goes here | Content | suggested |
Footer | footer | What shows up in the footer section | String | optional |