Difference between revisions of "Template: Section"

From Genesys Documentation
Jump to: navigation, search
(Adding Alt-Text handling)
Line 49: Line 49:
 
<div class="col-md-7">
 
<div class="col-md-7">
 
{{#switch:{{{Media|}}}
 
{{#switch:{{{Media|}}}
|Image=[[File:{{{image}}}|1]]
+
|Image=[[File:{{{image}}}|1|alt={{{AltText|}}}|link=]]
|GIF=[[File:{{{image}}}|1|class=gifffer|link=]]
+
|GIF=[[File:{{{image}}}|1|class=gifffer|link=|alt={{{AltText|}}}]]
 
|Video={{#widget:Vimeo|id={{{image}}}|width=100%}}
 
|Video={{#widget:Vimeo|id={{{image}}}|width=100%}}
 
|#default=
 
|#default=
Line 67: Line 67:
 
|Vertical=<div class="clearfix">
 
|Vertical=<div class="clearfix">
 
{{#switch:{{{Media|}}}
 
{{#switch:{{{Media|}}}
|Image=[[File:{{{image}}}|1]]
+
|Image=[[File:{{{image}}}|1|alt={{{Alt-Text|}}}|link=]]
|GIF=[[File:{{{image}}}|1|class=gifffer|link=]]
+
|GIF=[[File:{{{image}}}|1|class=gifffer|link=|alt={{{Alt-Text|}}}]]
 
|Video={{#widget:Vimeo|id={{{image}}}|width=100%}}
 
|Video={{#widget:Vimeo|id={{{image}}}|width=100%}}
 
|#default=
 
|#default=

Revision as of 19:08, April 28, 2021

This is the "Section" template.

It should be called in the following format:

{{Section
|alignment=
|anchor=
|sectionHeading=
|FAQHeading=
|structuredtext=
|structuredtextwide=
|image=
|Media=
|Status=
}}

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 13:46:19)"