Difference between revisions of "Template: EPPOHead"

From Genesys Documentation
Jump to: navigation, search
(Undo revision 10727 by Bgrenon (talk))
(Moving RN formatting to separate template)
Line 1: Line 1:
 
<onlyinclude>{{#switch:{{{PageType}}}
 
<onlyinclude>{{#switch:{{{PageType}}}
 
|RNProduct
 
|RNProduct
|RNComponent=
+
|RNComponent={{CloudRNStyle|Platform={{{Platform|}}}|PageType={{{PageType|}}}|Component={{{Component}}}|IntroductorySection={{{IntroductorySection|}}}}}
<div class="icons"><span class="sub-heading">'''Platforms''': </span>{{SMART_Icons|Offering={{{Platform}}}}}</div>
+
|#default=
<div class="col-md-12" style="padding-left:0;">
+
<div class="panel eppo">
<div  style="padding: 30px 35px;background-color: #f5f5f5;margin-bottom: 40px;">
 
<div class="text-center icon hidden-xs" style=" display: table-cell;
 
    padding-right: 35px;
 
    vertical-align: middle;
 
    text-align: center;
 
    font-size:0.75em;">
 
<span class="fa-stack fa-5x" style="position: relative;
 
    display: inline-block;
 
    width: 2em;
 
    height: 2em;
 
    line-height: 2em;
 
    vertical-align: middle;
 
" >
 
<i class="fa fa-circle fa-stack-2x text-primary" style="color: #5d3e5d !important;"></i>
 
<i class="fa fa-bullhorn fa-stack-1x fa-inverse"> </i>
 
</span>
 
</div>
 
<div style="display: table-cell;margin: 0;padding: 0;vertical-align: top; color: #666 !important;line-height: 1.8333333;">
 
{{#cargo_query:
 
tables=RNSection,CloudRN
 
|join on=RNSection._pageName=CloudRN._pageName
 
|fields=CloudRN._pageName=Page,DisplayName,ProductArea,RNShort,Component,Product
 
|format=template
 
|template={{#switch:{{{PageType|}}}|RNProduct=CloudRNLatestCollectionPrint|RNComponent=CloudRNLatestComponentPrint}}
 
|named args=yes
 
|where=Product="{{MINTYDOCSPRODUCT}}" {{#if:{{{Component|}}}|AND Component="{{{Component}}}"|}} AND MintyDocsVersion="{{MINTYDOCSVERSION}}" AND CloudRN._pageNamespace="{{NAMESPACENUMBER}}"
 
|order by=DisplayName DESC
 
|limit=1
 
|more results text=}}</div></div>
 
{{{IntroductorySection|}}}
 
{{#switch:{{{PageType}}}|RNProduct={{#cargo_query:
 
tables=RNSection,CloudRN
 
|join on=RNSection._pageName=CloudRN._pageName
 
|fields=CloudRN._pageName=Page,DisplayName,Component,ProductArea,RNShort,Product
 
|format=template
 
|template=CloudRNCollectionPrint
 
|named args=yes
 
|default=
 
|where=Product="{{MINTYDOCSPRODUCT}}" AND CloudRN._pageNamespace="{{NAMESPACENUMBER}}"
 
|order by=DisplayName DESC
 
|group by=DisplayName
 
|offset=1}}|RNComponent={{#cargo_query:
 
tables=RNSection,CloudRN
 
|join on=RNSection._pageName=CloudRN._pageName
 
|fields=CloudRN._pageName=Page,DisplayName,ProductArea,RNShort,Component
 
|format=template
 
|template=CloudRNPrint
 
|named args=yes
 
|where=Product="{{MINTYDOCSPRODUCT}}" AND Component="{{{Component}}}" AND CloudRN._pageNamespace="{{NAMESPACENUMBER}}"
 
|order by=DisplayName DESC
 
|default=
 
|group by=DisplayName
 
|offset=1}}}}
 
|#default=<div class="panel eppo">
 
 
<div class="panel-body">
 
<div class="panel-body">
 
{{#if:{{{Context|}}}|
 
{{#if:{{{Context|}}}|
{{#if:{{{Dimension|}}}|{{#if:{{{Tags|}}}|
+
{{#if:{{{Dimension|}}}|{{#if:{{{Tags|}}}|
 
<!--{{#cargo_query:
 
<!--{{#cargo_query:
 
tables=MintyDocsManual
 
tables=MintyDocsManual
Line 69: Line 15:
 
|default={{#cargo_query:tables=Article|fields=Role,UI|format=template|template=RoleIcons|where=Role IS NOT NULL|default=}}
 
|default={{#cargo_query:tables=Article|fields=Role,UI|format=template|template=RoleIcons|where=Role IS NOT NULL|default=}}
 
}}-->
 
}}-->
<div class="col-md-5 context">
+
<div class="col-md-5 context">
 
{{{Context}}}
 
{{{Context}}}
</div>
+
</div>
<div class="col-md-5 related">
+
<div class="col-md-5 related">
<div class="col-md-5 tags">
+
<div class="col-md-5 tags">
<span>tags</span>
+
<span>tags</span>
{{#cargo_query:
+
{{#cargo_query:
    tables=Article,Article__Tags
+
  tables=Article,Article__Tags
          |join on=Article._ID=Article__Tags._rowID
+
        |join on=Article._ID=Article__Tags._rowID
          |fields=CONCAT('[[',Article__Tags._value,']]')
+
        |fields=CONCAT('[[',Article__Tags._value,']]')
    |where=Article._pageName="{{FULLPAGENAME}}" AND Article__Tags._value IS NOT NULL
+
    |where=Article._pageName="{{FULLPAGENAME}}" AND Article__Tags._value IS NOT NULL
    |format=ul
+
    |format=ul
          |default=
+
        |default=
    }}
+
    }}
</div>
+
</div>
 
<div class="col-md-5 links">
 
<div class="col-md-5 links">
 
<span>links</span>
 
<span>links</span>

Revision as of 01:44, May 28, 2019

Retrieved from "https://all.docs.genesys.com/Template:EPPOHead (2024-07-28 06:29:21)"