Template:Message: Difference between revisions

From Portals of Phereon Wiki
Content added Content deleted
m (Text replacement - "(?m)^\[\[\w\w:.*?:.*?\]\]$" to "")
No edit summary
 
Line 1: Line 1:
<includeonly><div style="{{#ifeq:{{{2|}}}|center| |float: right; clear: right; margin: 0 2em 0.5em 0.5em;}}">
<includeonly><div style="{{#ifeq:{{{2|}}}|center| |float: right; clear: right; margin: 0 2em 0.5em 0.5em;}}">
{| style="border:2px {{{border|red}}} solid; text-align:center; border-radius: 5px; margin: auto;" class="gpmbox"
{| style="border:2px {{{border|orange}}} solid; text-align:center; border-radius: 5px; margin: auto;" class="gpmbox"
|+ style="color:{{{headercolor|red}}}; text-shadow:1px 1px black;" | '''{{{header|WARNING:}}}'''
|+ style="color:{{{headercolor|orange}}}; text-shadow:1px 1px black;" | '''{{{header|WARNING:}}}'''
|-
|-
| {{{image|[[File:GP Nova.png|120px]]}}} || style="padding: 5px;" | {{{1}}}
| {{{image|}}} || style="padding: 5px;" | {{{1}}}
|}
|}
</div></includeonly><noinclude>{{doc}}
</div></includeonly><noinclude>{{doc}}

Latest revision as of 01:33, 17 December 2019

[view | edit | purge]Documentation

This template is used on the Gamepedia Help wiki to highlight information within documentation.

Syntax[]

{{Message
|border=
|header=
|headercolor=
|image= // image is set to 120px in width by default
|{{{1}}}
|{{{2|}}} // Optional parameter for placement, default behavior is to float the message to the right
}}

Example[]

NOTE:
File:Test.png stuff
{{Message
|border=#F37F20
|header=NOTE:
|headercolor=#57b690
|image=[[file:test.png|100px|link=]]
|stuff
}}

[view | edit | purge]The above documentation is transcluded fromTemplate:Message/doc.