The wiki has recently been updated. Please contact me by talk page or email if you encounter any issues.

Template:Infomessage: Difference between revisions

From FrathWiki
Jump to navigationJump to search
mNo edit summary
mNo edit summary
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
{|class="boilerplate metadata" id="inuse" style="background: #cfc; border: 1px solid #aaa; margin: 0 2.5%; padding: 5px 10px; vertical-align: middle; margin: auto; width:{{{width|75%}}}"
{{#if:{{{content|{{{text|{{{1|}}}}}}}}}|<div class="outerpadding"><p class="boilerplate metadata" style="background: #cfc; border: 1px solid #aaa; padding: 0.5em 1em; text-align: {{{text-align|center}}}; vertical-align: middle; margin: auto; width:{{{width|100%}}}">{{{content|{{{text|{{{1|'''Here should be an info message'''}}}}}}}}}</p></div>|}}<noinclude>
|style="font: xx-large sans-serif;" | NB! &nbsp;
|{{{content|{{{1}}}}}}
|}<noinclude>


== Usage ==
== Usage ==
Line 8: Line 5:
<pre><nowiki>
<pre><nowiki>
{{infomessage
{{infomessage
|width= 50% &lt;!-- optional parameter --&;gt
|text-align=left &lt;!-- optional parameter --&;gt
|content=
|content=
Meta-information about the page
Meta-information about the page
Line 18: Line 17:
{{infomessage|Meta-information about the page}}
{{infomessage|Meta-information about the page}}
</nowiki></pre>
</nowiki></pre>
{{infomessage|Meta-information about the page}}
Please do not delete this template and edit it only with care not to remove any existing paramaters.  Doing so may break pages where it is used!
</noinclude>
</noinclude>

Latest revision as of 09:07, 18 November 2009


Usage

{{infomessage
|width= 50% <!-- optional parameter --&;gt
|text-align=left <!-- optional parameter --&;gt
|content=
Meta-information about the page
}}

or

{{infomessage|Meta-information about the page}}

Please do not delete this template and edit it only with care not to remove any existing paramaters. Doing so may break pages where it is used!