(41 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
− | This is the '''Show | + | This is the '''Show docs search result''' template. It should be called in the following format: |
− | < | + | </noinclude><includeonly><!-- |
− | |||
− | |||
− | |||
− | < | ||
− | < | + | --><div class="csp-doc-result-card card"> |
− | --><div class="card" | + | <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- | + | <div class="card-body bg-white"> |
− | -->< | + | <div class="result-card--header"> |
− | -->< | + | <div class="col-10"><!-- |
− | --><p class="card-text">{{{ | + | -->{{#if:{{{Doc synopsis|}}} |<div class="card-title h5"><i class="fas fa-info-circle"></i> {{{Doc synopsis|}}}<br><span class="small">{{{$snippet|}}}</span></div>}}<!-- |
− | --> | + | --></div> |
+ | <div class="col-2"><!-- | ||
+ | -->{{#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><!-- | --></div><!-- | ||
− | -- | + | |
+ | --><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: