6,566
edits
(Added an example showing the failure of the 'hilit' parameter when 'p' is supplied.) |
(Anchoring fix - the post anchoring is now at the very end of the URI, and only if 'p' has been supplied and 'anchor' has not.) |
||
Line 15: | Line 15: | ||
}}<!-- | }}<!-- | ||
-->{{#if: {{{p|}}} | -->{{#if: {{{p|}}} | ||
| p= | | p={{{p}}}<!-- | ||
-->{{#if: {{{hilit|}}} | &}}<!-- Add an ampersand if hilit is present afterwards --> | -->{{#if: {{{hilit|}}} | &}}<!-- Add an ampersand if hilit is present afterwards --> | ||
}}<!-- | }}<!-- | ||
Line 21: | Line 21: | ||
| hilit={{{hilit}}} | | hilit={{{hilit}}} | ||
}}<!-- | }}<!-- | ||
-->{{#if: {{{anchor|}}} | -->{{#if: {{{anchor|{{{p|}}}}}}<!-- Post anchoring --> | ||
| #{{{anchor}}} | | #{{#if: {{{anchor|}}} | ||
| {{{anchor}}} | |||
| p{{{p}}} | |||
}} | |||
}}<noinclude> | }}<noinclude> | ||
{{Informative template|1= | {{Informative template|1= |