Difference between revisions of "Template: Section"
From Genesys Documentation
(Created page with "{{#switch:{{{Type|}}} |Unstructured= {{#if:{{{sectionHeading|}}}| <h2>{{{sectionHeading}}}</h2> |}} {{#if:{{{freetext|}}}| {{{freetext}}} |}} |Structured= {{#if:{{{sectionHead...") |
|||
Line 1: | Line 1: | ||
− | {{#switch:{{{Type|}}} | + | <noinclude> |
+ | This is the "Section" template. | ||
+ | |||
+ | It should be called in the following format: | ||
+ | <pre> | ||
+ | {{Section | ||
+ | |Type= | ||
+ | |alignment= | ||
+ | |anchor= | ||
+ | |sectionHeading= | ||
+ | |freetext= | ||
+ | |structuredtext= | ||
+ | |structuredtextwide= | ||
+ | |image= | ||
+ | }} | ||
+ | |||
+ | </pre> | ||
+ | Edit the page to see the template text. | ||
+ | |||
+ | {{#cargo_declare:_table=Section | ||
+ | |Type=String | ||
+ | |alignment=String | ||
+ | |anchor=String | ||
+ | |sectionHeading=Text | ||
+ | |freetext=Wikitext (size=10000) | ||
+ | |structuredtext=Wikitext (size=10000) | ||
+ | |structuredtextwide=Wikitext (size=10000) | ||
+ | |image=String | ||
+ | }} | ||
+ | |||
+ | </noinclude> | ||
+ | <includeonly>{{#cargo_store:_table=Section | ||
+ | |Type={{{Type|}}} | ||
+ | |alignment={{{alignment|}}} | ||
+ | |anchor={{{anchor|}}} | ||
+ | |sectionHeading={{{sectionHeading|}}} | ||
+ | |freetext={{{freetext|}}} | ||
+ | |structuredtext={{{structuredtext|}}} | ||
+ | |structuredtextwide={{{structuredtextwide|}}} | ||
+ | |image={{{image|}}} | ||
+ | }}{{#switch:{{{Type|}}} | ||
|Unstructured= | |Unstructured= | ||
{{#if:{{{sectionHeading|}}}| | {{#if:{{{sectionHeading|}}}| |
Revision as of 12:25, September 20, 2018
This is the "Section" template.
It should be called in the following format:
{{Section |Type= |alignment= |anchor= |sectionHeading= |freetext= |structuredtext= |structuredtextwide= |image= }}
Edit the page to see the template text.
This template defines the table "Section". View table.