Template:HOPL: Difference between revisions

From Rosetta Code
Content added Content deleted
m (Concisified)
(Add new arguments. {{HOPL|csh}} uses 'csh' instead of the page title. {{HOPL|id=2458}} links directly to language 2458, bypassing the search.)
Line 1: 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.murdoch.edu.au/showlanguage.prx?exp={{urlencode: {{{id}}} }} {{{1| {{PAGENAME}} }}}]
|[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# | {{urlencode: {{{1| {{PAGENAME}} }}} }}&which=byname {{{1| {{PAGENAME}} }}} }} }} on the HOPL]
}}<noinclude>


Creates a link to the HOPL search for the title of the page it is placed on.
Creates a link to the HOPL search for the title of the page it is placed on.

Revision as of 20:00, 29 September 2011

HOPL on the HOPL

Creates a link to the HOPL search for the title of the page it is placed on.



This is a template. There are many others. See Category:RCTemplates for a complete list of templates.