Template:Infomessage: Difference between revisions
From FrathWiki
Jump to navigationJump to search
(Added fake margin and parserfunction so that nothing is visible if no text is specified) |
No edit summary |
||
Line 1: | Line 1: | ||
{{#if:{{{content|{{{text|{{{1|}}}}}}}}}|{{ | {{#if:{{{content|{{{text|{{{1|}}}}}}}}}|<div class="outerpadding">{{{!}}class="boilerplate metadata" id="inuse" 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'''}}}}}}}}} | |||
{{!}}}</div>|}}<noinclude> | |||
== Usage == | == Usage == |
Revision as of 07:11, 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}}
{|class="boilerplate metadata" id="inuse" style="background: #cfc; border: 1px solid #aaa; padding: 0.5em 1em; text-align: center; vertical-align: middle; margin: auto; width:100%"
|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!