Diferencia entre revisiones de «Plantilla:Notice»
m (-- whitespace) |
m (To accomadate Template:Uncanonical and Template:Deleted) |
||
(No se muestran 8 ediciones intermedias de 2 usuarios) | |||
Línea 1: | Línea 1: | ||
− | <includeonly><div class="notice {{{class|curved}}}" style="{{{style}}}">{{#if:{{{b|}}}|<div style="font-weight:bold;">{{{b}}}</div>|}}{{{1}}}</div></includeonly><noinclude> |
+ | <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> |
The 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. |
The 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. |
||
Línea 42: | Línea 42: | ||
}} |
}} |
||
− | [[Category: Notices]] |
+ | [[Category: Notices| ]] |
+ | |||
+ | == Derived Templates == |
||
+ | {{for|Special:WhatLinksHere/{{FULLPAGENAME}}|a full listing|here}} |
||
+ | {{Special:WhatLinksHere/{{FULLPAGENAME}}|namespace=10}} |
Revisión actual del 01:35 10 may 2021
The Notice template is a parent template that helps build 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
{{{b}}} - optional parameter that creates a bolded title for the notice box
{{{1}}} - the regular text in the notice box
Examples
Here is one example of a potential notice box.
This code on the template page
{{notice|style=background-color:#CCA;
|b=This is the bold title of the box!
|1=This is the regular text with more detail
}}
produces this when the template is used:
Here's another example, this time without the bold line at the top.
This code on the template page
{{notice|style=background-color:#FAA;
|1=This notice doesn't have a bold title
}}
Derived Templates
- Plantilla:Delete (transclusión) (← enlaces)
- Plantilla:Move (transclusión) (← enlaces)
- Plantilla:Copyright (transclusión) (← enlaces)
- Plantilla:Theory (transclusión) (← enlaces)
- Plantilla:Attention (transclusión) (← enlaces)
- Plantilla:Notice (transclusión) (← enlaces)
- Plantilla:Spoilers (transclusión) (← enlaces)
- Plantilla:Complete (transclusión) (← enlaces)
- Plantilla:Uncanonical (transclusión) (← enlaces)
- Plantilla:Deleted (transclusión) (← enlaces)
- Plantilla:Update (transclusión) (← enlaces)
- Plantilla:Cite note (transclusión) (← enlaces)
- Plantilla:Qa ref (transclusión) (← enlaces)
- Plantilla:Unpublished (transclusión) (← enlaces)
- Plantilla:Sapient (transclusión) (← enlaces)
- Plantilla:Merge (transclusión) (← enlaces)
- Plantilla:Missing gallery (transclusión) (← enlaces)
- Plantilla:Objective (transclusión) (← enlaces)
- Plantilla:Quote note (transclusión) (← enlaces)
- Plantilla:Edit note (transclusión) (← enlaces)
- Plantilla:Magical Entities (transclusión) (← enlaces)
- Plantilla:Spoilers español (transclusión) (← enlaces)