No edit summary
No edit summary
 
(47 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>


This is the '''Show question as 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:


<pre>
</noinclude><includeonly><!--
{{Show question as search result
|Page=
}}
</pre>


</noinclude><includeonly>
--><div class="csp-doc-result-card card">
<div class="card" style="width: 18rem;">
<div class="card-header">[{{fullurl:{{{$namespacename|}}}:{{{$page|}}} }} <span class="h5 text-white"><i class="far fa-file"></i> {{{Doc subject|}}} :: {{{$title|}}}</span>]</div>
  <div class="card-body">
<div class="card-body bg-white">
    <h5 class="card-title">{{{$title|}}}</h5>
<div class="result-card--header">
     <h6 class="card-subtitle mb-2 text-muted">{{{Doc synopsis|}}}</h6>
<div class="col-10"><!--
     <p class="card-text">{{{$snippet|}}}</p>
-->{{#if:{{{Doc synopsis|}}} |<div class="card-title h5"><i class="fas fa-info-circle"></i> {{{Doc synopsis|}}}<br><span class="small">{{{$snippet|}}}</span></div>}}<!--
     [{{{$page|}}}]
--></div>
   </div>
<div class="col-2"><!--
</div>
-->{{#switch:{{{Doc subject|}}}
    |Doc/PageSync=<div class="float-right align-middle">[[File:Pagesync_square.png|link=|x50px]]</div>
    |Doc/FlexForm=<div class="float-right align-middle">[[File:FlexForm-logo_square.png|link=|x50px]]</div>
    |Doc/Open CSP=<div class="float-right align-middle">[[File:Open CSP logo.png|link=|75px]]</div>
    |#default=
  }}<!--
--></div>
</div><!--
     --><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><!--
      -->|<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><!--


 
--><includeonly>
{{{$title|}}}<br>page: {{{$page|}}}<br>Doc Subject:{{{Doc subject|}}}<br>Tag:{{{$tag|}}}<br></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: