Template:MessageBox: Difference between revisions
From Pressure Wiki
Content deleted Content added
Minor width change |
Added customisable image |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<onlyinclude> |
<onlyinclude> |
||
{| class="home-table" |
{| class="home-table" style="width: 63%;" |
||
|- |
|- |
||
|style="font-size: |
|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| |
|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> |