No edit summary
No edit summary
 
(31 intermediate revisions by 3 users not shown)
Line 3: Line 3:
This is the '''Show docs search result''' template. It should be called in the following format:
This is the '''Show docs search result''' template. It should be called in the following format:


</noinclude><includeonly>{{{Doc synopsis|}}}<!--
</noinclude><includeonly><!--
--><div class="card text-white bg-primary mb-3" style="width: 18rem;"><!--
 
--><div class="card-body"><!--
--><div class="csp-doc-result-card card">
--><h5 class="card-title">{{{Title|}}}</h5><!--
<div class="card-header">[{{fullurl:{{{$namespacename|}}}:{{{$page|}}} }} <span class="h5 text-white"><i class="far fa-file"></i> {{{Doc subject|}}} :: {{{$title|}}}</span>]</div>
--><h6 class="card-subtitle mb-2 text-muted">{{{Doc synopsis|}}}</h6><!--
<div class="card-body bg-white">
--><p class="card-text">{{{$snippet|}}}</p><!--
<div class="result-card--header">
{{#widget:link
<div class="col-10"><!--
|type=a
-->{{#if:{{{Doc synopsis|}}} |<div class="card-title h5"><i class="fas fa-info-circle"></i> {{{Doc synopsis|}}}<br><span class="small">{{{$snippet|}}}</span></div>}}<!--
|style=font-weight:bold;
--></div>
text={{#if:{{{$title|}}}<!--  
<div class="col-2"><!--
-->|{{{$title|}}}<!--
-->{{#switch:{{{Doc subject|}}}
-->|{{#vardefine:@topic
    |Doc/PageSync=<div class="float-right align-middle">[[File:Pagesync_square.png|link=|x50px]]</div>
|{{#show:{{{$namespacename|}}}:{{{$page|}}}
    |Doc/FlexForm=<div class="float-right align-middle">[[File:FlexForm-logo_square.png|link=|x50px]]</div>
|?Topic title
    |Doc/Open CSP=<div class="float-right align-middle">[[File:Open CSP logo.png|link=|75px]]</div>
}}<!--  
    |#default=
-->}}<!--  
  }}<!--
-->{{#if:{{#var:@topic}}
--></div>
|{{#var:@topic}}
</div><!--
|{{{$namespacename|}}}:{{{$page|}}}
    --><div class="result-card--info"><!--
}}<!--  
    -->{{#if:{{{Doc parent|}}}<!--
-->}}
      -->|<div class="col-6"><p class="card-text"><u>Parent</u><br><small><strong>{{{Doc parent|}}}</strong></small></p></div><!--
|href={{fullurl:{{{$namespacename|}}}:{{{$page|}}} |term={{{$term|}}} }}<!--  
      -->|<div class="col-6"></div><!--
-->}}
    -->}}<!--
      --><div class="col-3"><p class="card-text"><u>Version</u><br><small><strong>{{{Subject version|}}}</strong></small></p></div><!--
      --><div class="col-3"><p class="card-text"><u>Target</u><br><small><strong>{{{Doc target group|}}}</strong></small></p></div><!--
    --></div><!--
  --></div><!--
  --><div class="card-footer p-1 pr-2 bg-light"><!--
      --><small class="text-muted float-right">Last updated <strong>{{{$Modification date|}}}</strong></small><!--
  --></div><!--
--></div><!--
--></div><!--
--></div><includeonly>
 
--><includeonly>

Latest revision as of 15:28, 6 February 2024


This is the Show docs search result template. It should be called in the following format: