Template:Warn: Difference between revisions

From Fancade Wiki
(Loose adaptation)
 
m (Migrate to Template:Documentation)
Line 6: Line 6:
|background=rgb(67, 18, 26)
|background=rgb(67, 18, 26)
}}
}}
</includeonly><noinclude>
</includeonly><noinclude>{{Documentation}}</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>

Revision as of 06:33, 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.