Template:HOPL: Difference between revisions

Updated with the new hostname.
(ready for testing)
 
(Updated with the new hostname.)
 
(8 intermediate revisions by 2 users not shown)
Line 1:
{{#if: {{{id|}}}
[http://hopl.murdoch.edu.au/findlanguages2.prx?language={{#ifeq: {{PAGENAME}} | C++ | C%2B%2B&which=byname C++ on the HOPL] |{{#ifeq: {{PAGENAME}} | C# | C%28&which=byname C# on the HOPL | {{PAGENAME}}&which=byname {{PAGENAME}} on the HOPL]}}}}<noinclude>
|[http://hopl.info/showlanguage.prx?exp={{urlencode: {{{id}}} }} {{{1| {{PAGENAME}} }}} on the HOPL]
|[http://hopl.murdoch.edu.auinfo/findlanguages2.prx?language={{#ifequrlencode: {{PAGENAME}} {1| C++ | C%2B%2B&which=byname C++ on the HOPL] |{{#ifeq: {{PAGENAME}} |}}} C# | C%28}}&which=byname C# on the HOPL {{{1| {{PAGENAME}}&which=byname {{PAGENAME}}} on the HOPL]}}}}<noinclude>
}}<noinclude>
 
== Usage ==
Creates* <nowiki>{{HOPL}}</nowiki> creates a link to the HOPL search for the title of the page it is placed on.
* <nowiki>{{HOPL|Ruby}}</nowiki> searches for "Ruby", not the page title.
* <nowiki>{{HOPL|J|id=1558}} or {{HOPL|id=1558}}</nowiki> creates a direct link to language 1558 "J", bypassing the search page.
 
{{template}}</noinclude>
Anonymous user