Difference between revisions of "Template: Section"
From Genesys Documentation
(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|alt={{{AltText|}}} | + | |Image=[[File:{{{image}}}|1|alt={{{AltText|}}}]] |
|GIF=[[File:{{{image}}}|1|class=gifffer|link=|alt={{{AltText|}}}]] | |GIF=[[File:{{{image}}}|1|class=gifffer|link=|alt={{{AltText|}}}]] | ||
|Video={{#widget:Vimeo|id={{{image}}}|width=100%}} | |Video={{#widget:Vimeo|id={{{image}}}|width=100%}} | ||
Line 67: | Line 67: | ||
|Vertical=<div class="clearfix"> | |Vertical=<div class="clearfix"> | ||
{{#switch:{{{Media|}}} | {{#switch:{{{Media|}}} | ||
− | |Image=[[File:{{{image}}}|1|alt={{{Alt-Text|}}} | + | |Image=[[File:{{{image}}}|1|alt={{{Alt-Text|}}}]] |
|GIF=[[File:{{{image}}}|1|class=gifffer|link=|alt={{{Alt-Text|}}}]] | |GIF=[[File:{{{image}}}|1|class=gifffer|link=|alt={{{Alt-Text|}}}]] | ||
|Video={{#widget:Vimeo|id={{{image}}}|width=100%}} | |Video={{#widget:Vimeo|id={{{image}}}|width=100%}} |
Revision as of 16:10, May 20, 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.