Difference between revisions of "Template: Section"

From Genesys Documentation
Jump to: navigation, search
Line 49: Line 49:
 
|Unstructured=
 
|Unstructured=
 
{{#if:{{{anchor|}}}|{{AnchorDiv|{{{anchor}}}}}|}}
 
{{#if:{{{anchor|}}}|{{AnchorDiv|{{{anchor}}}}}|}}
{{#if:{{{sectionHeading|}}}|{{#switch:{{{Status|}}}|Yes={{#switch:{{NAMESPACENUMBER}}|620=<div style="margin-top:40px;padding: 0 10px;opacity: 0.75;border-left: solid 4px chocolate"><div style="background-color:#5d3e5d33; border-color: #ebccd1; color: #5D3E5D; padding: 5px 0 5px 15px; margin-bottom: -30px; border: 1px solid transparent; border-radius: 4px;font-size:90%;width:100%;"><i class="glyphicon glyphicon-flag" style="margin-right:5px;"></i> <strong>Hidden section</strong></div>|0=<div style="display:none;">}}}}<h2>{{{sectionHeading}}}</h2>
+
{{#if:{{{sectionHeading|}}}|{{#switch:{{{Status|}}}|Yes={{#switch:{{NAMESPACENUMBER}}|620=<div style="margin-top: 40px; padding: 0 10px; opacity: .75; border-left: solid 3px lightgrey;"><div style="background-color: lightgrey; padding-left: 15px; margin-bottom: -30px; font-size: 90%; margin: 0 -10px -30px;"><i class="glyphicon-eye-close" style="margin-right:5px;"></i> <strong>Hidden section</strong></div>|0=<div style="display:none;">}}}}<h2>{{{sectionHeading}}}</h2>
 
|}}
 
|}}
 
{{#if:{{{freetext|}}}|
 
{{#if:{{{freetext|}}}|
Line 56: Line 56:
 
|Structured=
 
|Structured=
 
{{#if:{{{anchor|}}}|{{AnchorDiv|{{{anchor}}}}}|}}
 
{{#if:{{{anchor|}}}|{{AnchorDiv|{{{anchor}}}}}|}}
{{#if:{{{sectionHeading|}}}|{{#switch:{{{Status|}}}|Yes={{#switch:{{NAMESPACENUMBER}}|620=<div style="margin-top:40px;padding: 0 10px;opacity: 0.75;border-left: solid 4px chocolate"><div style="background-color:#5d3e5d33; border-color: #ebccd1; color: #5D3E5D; padding: 5px 0 5px 15px; margin-bottom: -30px; border: 1px solid transparent; border-radius: 4px;font-size:90%;width:100%;"><i class="glyphicon glyphicon-flag" style="margin-right:5px;"></i> <strong>Hidden section</strong></div>|0=<div style="display:none;">}}}}<h2>{{{sectionHeading}}}</h2>
+
{{#if:{{{sectionHeading|}}}|{{#switch:{{{Status|}}}|Yes={{#switch:{{NAMESPACENUMBER}}|620=<div style="margin-top: 40px; padding: 0 10px; opacity: .75; border-left: solid 3px lightgrey;"><div style="background-color: lightgrey; padding-left: 15px; margin-bottom: -30px; font-size: 90%; margin: 0 -10px -30px;"><i class="glyphiconglyphicon-eye-close" style="margin-right:5px;"></i> <strong>Hidden section</strong></div>|0=<div style="display:none;">}}}}<h2>{{{sectionHeading}}}</h2>
 
|}}
 
|}}
 
{{#switch:{{{alignment|}}}
 
{{#switch:{{{alignment|}}}

Revision as of 16:49, March 28, 2019

This is the "Section" template.

It should be called in the following format:

{{Section
|Type=
|alignment=
|anchor=
|sectionHeading=op
|FAQHeading=
|freetext=
|structuredtext=
|structuredtextwide=
|image=
|gif=
}}

Edit the page to see the template text.

This template defines the table "Section". View table.


Retrieved from "https://all.docs.genesys.com/Template:Section (2025-06-19 01:31:01)"