Template:HOPL: Difference between revisions
Content added Content deleted
(Remove special-case code for C++ and C#. These languages now use the id= parameter. The special case for C# was wrong; it failed to find C# page in HOPL.) |
(Updated with the new hostname.) |
||
Line 1: | Line 1: | ||
{{#if: {{{id|}}} |
{{#if: {{{id|}}} |
||
|[http://hopl. |
|[http://hopl.info/showlanguage.prx?exp={{urlencode: {{{id}}} }} {{{1| {{PAGENAME}} }}} on the HOPL] |
||
|[http://hopl. |
|[http://hopl.info/findlanguages2.prx?language={{urlencode: {{{1| {{PAGENAME}} }}} }}&which=byname {{{1| {{PAGENAME}} }}} on the HOPL] |
||
}}<noinclude> |
}}<noinclude> |
||
Latest revision as of 21:48, 16 December 2015
Usage
- {{HOPL}} creates a link to the HOPL search for the title of the page it is placed on.
- {{HOPL|Ruby}} searches for "Ruby", not the page title.
- {{HOPL|J|id=1558}} or {{HOPL|id=1558}} creates a direct link to language 1558 "J", bypassing the search page.