Diferencia entre revisiones de «Plantilla:Notice»

328 bytes añadidos ,  hace 3 años
m
(Added more documentation and examples)
 
(No se muestran 11 ediciones intermedias de 3 usuarios)
<includeonly><div {{#if:{{{id|}}}|id="{{{id}}}"}} class="notice hide-for-print {{{class|curved}}}" style="{{{style}}}">{{#if:{{{b|}}}|<div class="notice-main-text" style="font-weight:bold;">{{{b}}}</div>|}}<span class="{{#if:{{{b|}}}|hide-for-multinotice|notice-main-text}}">{{{1}}}</span></div></includeonly><noinclude>
<includeonly>
AThe Notice template is a parent template that helps build [[:Category: Notices|Notice Templates]]. This template should never be used in its raw form on an article, but instead should be used to create new templates.
<div class="notice {{{class|curved}}}" style="{{{style}}}">{{#if:{{{b|}}}|<div style="font-weight:bold;">{{{b}}}</div>|}}{{{1}}}</div>
</includeonly>
 
== Parameters: ==
<noinclude>
 
A template that helps build [[:Category: Notices|Notice Templates]]. This template should never be used in its raw form on an article, but instead should be used to create new templates.
 
Parameters:
 
{{{style}}} - allows the user to set various style elements of the notice box, like background color
}}
 
[[Category: Notices| ]]
 
== Derived Templates ==
{{for|Special:WhatLinksHere/{{FULLPAGENAME}}|a full listing|here}}
{{Special:WhatLinksHere/{{FULLPAGENAME}}|namespace=10}}