Difference between revisions of "Template:Current weather event/doc"

From blackwiki
Jump to navigation Jump to search
imported>Mr. Guye
(Removed incorrect information. You can't link to the main disaster using the template, you can only link to Portal:Current events.)
imported>Mr. Guye
(→‎Usage: Example)
Line 7: Line 7:
 
=== Usage ===
 
=== Usage ===
 
{{#tag:pre|<nowiki>
 
{{#tag:pre|<nowiki>
{{Current weather event|event type|date=</nowiki>{{CURRENTMONTHNAME}} {{CURRENTYEAR}}<nowiki>}}
+
{{Current weather event|weather|date=</nowiki>{{CURRENTMONTHNAME}} {{CURRENTYEAR}}<nowiki>}}
 
</nowiki>|style=overflow: auto}}
 
</nowiki>|style=overflow: auto}}
  
The "event type" parameter is optional.
+
The "weather" parameter is optional.
 +
 
 +
===Example===
 +
*If the weather event is for example, a [[monsoon]], then. . .
 +
 
 +
{{#tag:pre|<nowiki>{{Current weather event|monsoon|date=</nowiki>{{CURRENTMONTHNAME}} {{CURRENTYEAR}}<nowiki>}}</nowiki>|style=overflow:auto}}
 +
 
 +
:*Will display as:
 +
 
 +
 
 +
{{Current weather event|monsoon|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}|nocat=true}}
  
 
=== See also ===
 
=== See also ===

Revision as of 20:30, 5 September 2017

Use for cyclones, tornadoes, floods, etc. Reminds people information on Wikipedia information may not be up-to-date.

Check main (article) namespace links

Usage

{{Current weather event|weather|date=January 2026}}

The "weather" parameter is optional.

Example

  • If the weather event is for example, a monsoon, then. . .
{{Current weather event|monsoon|date=January 2026}}
  • Will display as:



See also