Line 9: | Line 9: | ||
--><h6 class="card-subtitle mb-2 text-muted">{{{Doc synopsis|}}}</h6><!-- | --><h6 class="card-subtitle mb-2 text-muted">{{{Doc synopsis|}}}</h6><!-- | ||
--><p class="card-text">{{{$snippet|}}}</p><!-- | --><p class="card-text">{{{$snippet|}}}</p><!-- | ||
+ | {{#widget:link | ||
+ | |type=a | ||
+ | |style=font-weight:bold; | ||
+ | text={{#if:{{{$title|}}}<!-- | ||
+ | -->|{{{$title|}}}<!-- | ||
+ | -->|{{#vardefine:@topic | ||
+ | |{{#show:{{{$namespacename|}}}:{{{$page|}}} | ||
+ | |?Topic title | ||
+ | }}<!-- | ||
+ | -->}}<!-- | ||
+ | -->{{#if:{{#var:@topic}} | ||
+ | |{{#var:@topic}} | ||
+ | |{{{$namespacename|}}}:{{{$page|}}} | ||
+ | }}<!-- | ||
+ | -->}} | ||
+ | |href={{fullurl:{{{$namespacename|}}}:{{{$page|}}} |term={{{$term|}}} }}<!-- | ||
+ | -->}} | ||
--></div><!-- | --></div><!-- | ||
--></div><includeonly> | --></div><includeonly> |
Revision as of 14:12, 23 September 2022
This is the Show docs search result template. It should be called in the following format: