Template:HOPL: Difference between revisions

Updated with the new hostname.
m (Concisified)
(Updated with the new hostname.)
 
(4 intermediate revisions by one other user not shown)
Line 1:
{{#if: {{{id|}}}
[http://hopl.murdoch.edu.au/findlanguages2.prx?language={{#ifeq: {{PAGENAMEE}} | C++ | C%2B%2B&which=byname C++ |{{#ifeq: {{PAGENAMEE}} | C_sharp | C%23&which=byname C# | {{PAGENAMEE}}&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: {{PAGENAMEE}} {1| C++ | C%2B%2B&which=byname C++ |{{#ifeq:PAGENAME}} {{PAGENAMEE}}} | C_sharp | C%23}}&which=byname C# | {{PAGENAMEE}}&which=byname{1| {{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