[[w:{{{1}}}#History and {{{2}}}|{{{1}}}]]
This sets up a link to ''{{1}}#History and {{{2}}}'' but only ''{{1}}'' is displayed for the link. Note that a following space is generated.