Template:MessageBox: Difference between revisions

From Pressure Wiki
Content added Content deleted
(Added template)
 
(Added customisable image)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<onlyinclude>
<onlyinclude>
{| class="home-table", style="width: 60%;"
{| class="home-table" style="width: 63%;"
|-
|-
|style="font-size: 125%; font-weight: bold;"| {{{title|Title Here}}}
|style="vertical-align: top; font-size: 130%; font-weight: bold;"| {{{title|}}}||style="width: 24%; text-align: right;" rowspan="3"|{{#if: {{{image|}}}|[[File:{{{image}}}|100px]]|[[File:Hadal Division Logo.png|100px]]}}
|-
|-
| {{{content|Content text goes here.}}}
|style="vertical-align: center;"|{{{content|}}}
|-
|-
|style="font-size: 85%;|{{{subtitle|}}}
|style="vertical-align: bottom; font-size: 85%; font-style: italic;"|{{{subtitle|}}}
|}
|}
</onlyinclude>
</onlyinclude>
Line 12: Line 12:
<noinclude>
<noinclude>
== Documentation ==
== Documentation ==
This template is used to display a notice message box. The default results if no parameters are given is shown above.
This template is used to display a notice message box. The default results if no parameters are given is shown above. If no image is supplied, the default Hadal Division logo will be used.
=== Example Usage ===
=== Example Usage ===
{{MessageBox|title=Stub Article|content=This article has been marked as a stub. Stub articles are incomplete and require immediate work.|subtitle=Please feel free to [{{fullurl:{{FULLPAGENAME}}|action=edit}} edit this page] to contribute.|image=Placeholder.png}}
{{MessageBox
|title = Oopsies!
|content = It's all pressure from here on!
|subtitle = Please do not panic.
}}
=== Formatting ===
=== Formatting ===
<pre>
<pre>
Line 25: Line 21:
|content =
|content =
|subtitle =
|subtitle =
|image =
}}
}}
</pre>
</pre>
[[Category:Notice Templates]]
</noinclude>
</noinclude>

Latest revision as of 10:18, 5 July 2024


Documentation

This template is used to display a notice message box. The default results if no parameters are given is shown above. If no image is supplied, the default Hadal Division logo will be used.

Example Usage

Stub Article
This article has been marked as a stub. Stub articles are incomplete and require immediate work.
Please feel free to edit this page to contribute.

Formatting

{{MessageBox
|title =
|content =
|subtitle =
|image =
}}