Template talk:LnkWeb: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
(thanks!)
No edit summary
Line 2: Line 2:
:The substitution is possible using another template: Template:Website. So <nowiki>[{{Website|Bach}}BWV4.htm Cantata 4]</nowiki> is what you are looking for, I guess. [[User:Claude T|Claude]] ([[User talk:Claude T|talk]]) 06:46, 18 April 2017 (UTC)  
:The substitution is possible using another template: Template:Website. So <nowiki>[{{Website|Bach}}BWV4.htm Cantata 4]</nowiki> is what you are looking for, I guess. [[User:Claude T|Claude]] ([[User talk:Claude T|talk]]) 06:46, 18 April 2017 (UTC)  
::Merci! [[User:Richard Mix|Richard Mix]] ([[User talk:Richard Mix|talk]]) 02:41, 19 April 2017 (UTC)
::Merci! [[User:Richard Mix|Richard Mix]] ([[User talk:Richard Mix|talk]]) 02:41, 19 April 2017 (UTC)
:::As specified in the documentation, the complement has to be informed in the second paramenter of the template: {{tl|LnkWeb|Bach|BWV130.htm}} displays {{LnkWeb|Bach|BWV130.htm}}
:::But this template is now deprecated, it was used only inside Composer pages, before edition icons were suppressed. —[[User:Carlos|Carlos]] [[User talk:Carlos|(talk)]] 13:05, 27 November 2020 (UTC)

Revision as of 13:05, 27 November 2020

Is there a way to add a subpage to a link? I tried {{LnkWeb|BachBWV130.htm}} expecting the first 4 characters to substitute http://www.bach-cantatas.com/ but got an error message. The full [http://www.bach-cantatas.com/BWVnnn.htm Page on Bach-cantatas website] has the annoyance of a required demonstration of simple math skills… Richard Mix (talk) 05:06, 18 April 2017 (UTC)

The substitution is possible using another template: Template:Website. So [{{Website|Bach}}BWV4.htm Cantata 4] is what you are looking for, I guess. Claude (talk) 06:46, 18 April 2017 (UTC)
Merci! Richard Mix (talk) 02:41, 19 April 2017 (UTC)
As specified in the documentation, the complement has to be informed in the second paramenter of the template: {{LnkWeb|Bach|BWV130.htm}} displays    ( Network.png )
But this template is now deprecated, it was used only inside Composer pages, before edition icons were suppressed. —Carlos (talk) 13:05, 27 November 2020 (UTC)