From: <var...@us...> - 2010-05-20 12:54:43
|
Revision: 7423 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7423&view=rev Author: vargenau Date: 2010-05-20 12:54:36 +0000 (Thu, 20 May 2010) Log Message: ----------- Use Mediawiki table for arguments Modified Paths: -------------- trunk/pgsrc/Help%2FPhpWeatherPlugin Modified: trunk/pgsrc/Help%2FPhpWeatherPlugin =================================================================== --- trunk/pgsrc/Help%2FPhpWeatherPlugin 2010-05-20 12:35:12 UTC (rev 7422) +++ trunk/pgsrc/Help%2FPhpWeatherPlugin 2010-05-20 12:54:36 UTC (rev 7423) @@ -1,4 +1,4 @@ -Date: Wed, 19 May 2010 18:15:54 +0000 +Date: Thu, 20 May 2010 14:54:08 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.4.0RC-20100415) X-Rcs-Id: $Id$ Content-Type: application/x-phpwiki; @@ -16,54 +16,65 @@ == Arguments == -__menu__: - 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##. +{| class="bordered" +|- +! Argument +! Description +! Default value +|- +| **menu** +| +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. +| false +|- +| **icao** +| +Use this to pre-select a specific airport instead of using the +default one which is ##EKAH##. -__icao__: - Use this to pre-select a specific airport instead of using the - default one which is ##EKAH##. If you want the user to be able - to change the station using the menu, then you have to use this as - {{{ -<<PhpWeather menu=true icao||=EKYT>> - }}} - so that the value can be overwritten when the user submits the - form. If you just use - {{{ -<<PhpWeather menu=true icao=EKYT>> - }}} - then nothing will happen when the user selects another station from - the list. +If you want the user to be able +to change the station using the menu, then you have to use this +as ##<~<PhpWeather menu=true icao|~|~=EKYT>>## +so that the value can be overwritten when the user submits the form. -__cc__: - Specify the country code. You can use this if you want pre-select a - different country than the one specified in the ICAO. So using - {{{ -<<PhpWeather menu=true cc||=GB icao||=KTTS>> - }}} - will show the current weather at the NASA Shuttle Facility, United - States (##KTTS##) and at the same time give the user a list of - stations in the United Kingdom. As the example shows, then you - should use ##cc||=XX## when combining it with __menu__ set to - ##true##. +If you just use ##<~<PhpWeather menu=true icao=EKYT>>## +then nothing will happen when the user selects another station from +the list. +| +|- +| **cc** +| +Specify the country code. You can use this if you want pre-select a +different country than the one specified in the ICAO. -__language__: - The default language. When combining __language__ with __menu__ set - to ##true## then remember to use the <code>language||=xx</code> - form. +So using ##<~<PhpWeather menu=true cc|~|~=GB icao|~|~=KTTS>>## +will show the current weather at the NASA Shuttle Facility, United +States (##KTTS##) and at the same time give the user a list of +stations in the United Kingdom. -__units__: - 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. +As the example shows, then you +should use ##cc|~|~=XX## when combining it with **menu** set to ##true##. +|- +| **language** +| +The default language. When combining **language** with **menu** set +to ##true## then remember to use the ##language|~|~=xx## form. +| +|- +| **units** +| +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. - If you only need the metric or imperial units to be shown, then - setting __units__ to =only_metric= or =only_imperial= will do just - that. +If you only need the metric or imperial units to be shown, then +setting **units** to ##only_metric## or ##only_imperial## will do just that. +| +|} <noinclude> ---- This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2016-02-08 09:25:17
|
Revision: 9779 http://sourceforge.net/p/phpwiki/code/9779 Author: vargenau Date: 2016-02-08 09:25:14 +0000 (Mon, 08 Feb 2016) Log Message: ----------- Known Problems: +The plugin does not work through a proxy Modified Paths: -------------- trunk/pgsrc/Help%2FPhpWeatherPlugin Modified: trunk/pgsrc/Help%2FPhpWeatherPlugin =================================================================== --- trunk/pgsrc/Help%2FPhpWeatherPlugin 2016-02-08 09:20:25 UTC (rev 9778) +++ trunk/pgsrc/Help%2FPhpWeatherPlugin 2016-02-08 09:25:14 UTC (rev 9779) @@ -1,4 +1,4 @@ -Date: Thu, 10 Dec 2015 18:48:03 +0000 +Date: Mon, 8 Feb 2016 10:24:27 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.5.5) Content-Type: application/x-phpwiki; pagename=Help%2FPhpWeatherPlugin; @@ -74,6 +74,10 @@ | |} +== Known Problems == + +The plugin does not work through a proxy. + <noinclude> ---- [[PhpWikiDocumentation]] [[CategoryWikiPlugin]] This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2016-02-08 19:32:56
|
Revision: 9785 http://sourceforge.net/p/phpwiki/code/9785 Author: vargenau Date: 2016-02-08 19:32:53 +0000 (Mon, 08 Feb 2016) Log Message: ----------- PhpWeather: fix table, remove links Modified Paths: -------------- trunk/pgsrc/Help%2FPhpWeatherPlugin Modified: trunk/pgsrc/Help%2FPhpWeatherPlugin =================================================================== --- trunk/pgsrc/Help%2FPhpWeatherPlugin 2016-02-08 15:16:52 UTC (rev 9784) +++ trunk/pgsrc/Help%2FPhpWeatherPlugin 2016-02-08 19:32:53 UTC (rev 9785) @@ -1,4 +1,4 @@ -Date: Mon, 8 Feb 2016 10:24:27 +0000 +Date: Mon, 8 Feb 2016 20:29:27 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.5.5) Content-Type: application/x-phpwiki; pagename=Help%2FPhpWeatherPlugin; @@ -34,10 +34,10 @@ If you want the user to be able to change the station using the menu, then you have to use this -as ##<~<PhpWeather menu=true icao|~|~=EKYT>>## +as ##<~<~PhpWeather menu=true icao|~|~=EKYT>>## so that the value can be overwritten when the user submits the form. -If you just use ##<~<PhpWeather menu=true icao=EKYT>>## +If you just use ##<~<~PhpWeather menu=true icao=EKYT>>## then nothing will happen when the user selects another station from the list. | @@ -47,13 +47,14 @@ Specify the country code. You can use this if you want pre-select a different country than the one specified in the ICAO. -So using ##<~<PhpWeather menu=true cc|~|~=GB icao|~|~=KTTS>>## +So using ##<~<~PhpWeather menu=true cc|~|~=GB icao|~|~=KTTS>>## will show the current weather at the NASA Shuttle Facility, United States (##KTTS##) and at the same time give the user a list of stations in the United Kingdom. As the example shows, then you should use ##cc|~|~=XX## when combining it with **menu** set to ##true##. +| |- | **language** | This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2021-06-16 17:03:02
|
Revision: 10287 http://sourceforge.net/p/phpwiki/code/10287 Author: vargenau Date: 2021-06-16 17:03:02 +0000 (Wed, 16 Jun 2021) Log Message: ----------- PhpWeather: no call in the help page, as it does not work through a proxy Modified Paths: -------------- trunk/pgsrc/Help%2FPhpWeatherPlugin Modified: trunk/pgsrc/Help%2FPhpWeatherPlugin =================================================================== --- trunk/pgsrc/Help%2FPhpWeatherPlugin 2021-06-16 16:53:46 UTC (rev 10286) +++ trunk/pgsrc/Help%2FPhpWeatherPlugin 2021-06-16 17:03:02 UTC (rev 10287) @@ -1,4 +1,4 @@ -Date: Fri, 5 Apr 2019 10:48:21 +0000 +Date: Wed, 16 Jun 2021 18:59:47 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.6.0) Content-Type: application/x-phpwiki; pagename=Help%2FPhpWeatherPlugin; @@ -7,11 +7,14 @@ Content-Transfer-Encoding: binary The **~PhpWeather** [[Help:WikiPlugin|plugin]] is a plugin that uses ~PhpWeather to display -a block of text with the current weather for some airport in the -world. It looks like this: +a block of text with the current weather for some airport in the world. -<<PhpWeather menu=true>> +== Usage == +{{{ +<<PhpWeather arguments>> +}}} + == Arguments == {| class="bordered" @@ -82,9 +85,6 @@ <<PhpWeather cc=FR icao=LFRN language=en units=only_metric>> }}} -which is now : -<<PhpWeather cc=FR icao=LFRN language=fr units=only_metric>> - == Known Problems == The plugin does not work through a proxy. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |