More actions
M88youngling (talk | contribs) No edit summary |
M88youngling (talk | contribs) No edit summary Tag: 2017 source edit |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{| cellspacing="0" cellpadding="0" style="border: 1px solid #000; background: | {| cellspacing="0" cellpadding="0" style="border: 1px solid #000; background: ; box-shadow: 2px 2px 2px #000000; -moz-box-shadow: 2px 2px 2px #000000; -webkit-box-shadow: 2px 2px 2px #000000; padding: 0; width:99%;" | ||
|- style="background:#478dff;" | |- style="background:#478dff;" | ||
| style="padding: 5px; color: #FFF;" | | | style="padding: 5px; color: #FFF;" | | ||
| Line 10: | Line 10: | ||
| style="padding: 5px;" | {{{contents}}} | | style="padding: 5px;" | {{{contents}}} | ||
|} | |} | ||
<noinclude> | |||
{{Documentation | |||
|content= | |||
== Template:PortalBox == | |||
The '''PortalBox''' template creates a styled content box used on portal pages, help pages, and navigation hubs. It provides a title bar, an edit link, and a flexible content area for lists, guides, or announcements. | |||
=== Parameters === | |||
* '''{{[title](ca://s?q=PortalBox_title_parameter)}}''' – The heading displayed in the blue title bar. Required. | |||
* '''{{[edit](ca://s?q=PortalBox_edit_parameter)}}''' – The page linked by the “edit” button in the top‑right corner. Required. | |||
* '''{{[contents](ca://s?q=PortalBox_contents_parameter)}}''' – The main body of the box. Accepts wikitext, lists, bold text, links, templates, etc. Required. | |||
=== Usage === | |||
<pre> | |||
{{PortalBox | |||
|title=Your Title | |||
|edit=Page:To/Edit | |||
|contents= | |||
Your content goes here. | |||
}} | |||
</pre></noinclude> | |||
Latest revision as of 17:22, 15 May 2026
| ||
| {{{contents}}} |
{{Documentation
|content=
Template:PortalBox
The PortalBox template creates a styled content box used on portal pages, help pages, and navigation hubs. It provides a title bar, an edit link, and a flexible content area for lists, guides, or announcements.
Parameters
- {{[title](ca://s?q=PortalBox_title_parameter)}} – The heading displayed in the blue title bar. Required.
- {{[edit](ca://s?q=PortalBox_edit_parameter)}} – The page linked by the “edit” button in the top‑right corner. Required.
- {{[contents](ca://s?q=PortalBox_contents_parameter)}} – The main body of the box. Accepts wikitext, lists, bold text, links, templates, etc. Required.
Usage
{{PortalBox
|title=Your Title
|edit=Page:To/Edit
|contents=
Your content goes here.
}}