The PhpWeatherPlugin is a Help:WikiPlugin that uses PhpWeather to display a block of text with the current weather for some airport in the world. It looks like this:Plugin PhpWeather failed. You have to define PHPWEATHER_BASE_DIR before use. (config/config.ini)
- Set this to true to have the plugin generate a menu after the report. The user will able to select a country from this menu, and after that, an airport and a language. The default value is false.
<?plugin PhpWeather menu=true icao||=EKYT ?>
<?plugin PhpWeather menu=true icao=EKYT ?>
<?plugin PhpWeather menu=true cc||=GB icao||=KTTS ?>
- The default language. When combining language with menu set
to true then remember to use the
You can specify the way the units are printed. The choice is between having both metric and imperial units printed, or just one of them. Setting units to both_metric will print the metric value first and then the imperial value in parenthesis. Using both_imperial instead will do the opposite.