Template:Warn: Difference between revisions

From Fancade Wiki
(Loose adaptation)
 
m (Remove newline)
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
|foreground=rgb(255, 111, 136)
|foreground=rgb(255, 111, 136)
|background=rgb(67, 18, 26)
|background=rgb(67, 18, 26)
}}
}}</includeonly><noinclude>{{Documentation}}</noinclude>
</includeonly><noinclude>
The warn template is a generic [[Template:Page notice|page notice]] loosely adapted from the old wiki.
 
== Example ==
 
<pre>
{{Warn|title=Uh-oh.|This template is not implemented yet!}}
</pre>
 
yields:
 
{{Warn|title=Uh-oh.|This template is not implemented yet!}}
 
== Parameters ==
 
Both positional and keyword:
 
* '''description''': The content of the warning.
 
Keyword only:
 
* '''title''': Title of the warning.
* '''image''': Supplementing image that must be 128px or less.
 
[[Category:Notice templates]]
</noinclude>

Latest revision as of 06:39, 23 August 2025

Description

The warn template is a generic page notice loosely adapted from the old wiki.

Example

{{Warn|title=Uh-oh.|This template is not implemented yet!}}

yields:

Uh-oh.
This template is not implemented yet!

Parameters

Both positional and keyword:

  • description: The content of the warning.

Keyword only:

  • title: Title of the warning.
  • image: Supplementing image that must be 128px or less.