Difference between revisions of "Template: Section"
From Genesys Documentation
Line 45: | Line 45: | ||
|image={{{image|}}} | |image={{{image|}}} | ||
|gif={{{gif|}}} | |gif={{{gif|}}} | ||
− | }} | + | }}</includeonly><onlyinclude> |
{{#switch:{{{Type|}}} | {{#switch:{{{Type|}}} | ||
|Unstructured= | |Unstructured= | ||
{{#if:{{{anchor|}}}|{{AnchorDiv|{{{anchor}}}}}|}} | {{#if:{{{anchor|}}}|{{AnchorDiv|{{{anchor}}}}}|}} | ||
− | {{#if:{{{sectionHeading|}}}|{{#switch:{{{Status|}}}|Yes={{#switch:{{NAMESPACENUMBER}}|620=<div style="padding: 0 10px;opacity: 0.5;border-left: solid 2px 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;">}}}} | + | {{#if:{{{sectionHeading|}}}|{{#switch:{{{Status|}}}|Yes={{#switch:{{NAMESPACENUMBER}}|620=<div style="margin-top:40px;padding: 0 10px;opacity: 0.5;border-left: solid 2px 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> |
− | <h2>{{{sectionHeading}}}</h2> | ||
|}} | |}} | ||
{{#if:{{{freetext|}}}| | {{#if:{{{freetext|}}}| | ||
Line 57: | Line 56: | ||
|Structured= | |Structured= | ||
{{#if:{{{anchor|}}}|{{AnchorDiv|{{{anchor}}}}}|}} | {{#if:{{{anchor|}}}|{{AnchorDiv|{{{anchor}}}}}|}} | ||
− | {{#if:{{{sectionHeading|}}}|{{#switch:{{{Status|}}}|Yes={{#switch:{{NAMESPACENUMBER}}|620=<div style="padding: 0 10px;opacity: 0.5;border-left: solid 2px 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;">}}}} | + | {{#if:{{{sectionHeading|}}}|{{#switch:{{{Status|}}}|Yes={{#switch:{{NAMESPACENUMBER}}|620=<div style="margin-top:40px;padding: 0 10px;opacity: 0.5;border-left: solid 2px 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> |
− | <h2>{{{sectionHeading}}}</h2> | ||
|}} | |}} | ||
{{#switch:{{{alignment|}}} | {{#switch:{{{alignment|}}} | ||
Line 93: | Line 91: | ||
}} | }} | ||
}}{{#switch:{{{Status|}}} | }}{{#switch:{{{Status|}}} | ||
− | |Yes={{#switch:{{NAMESPACENUMBER}}|620=</div>|0=</div>}}}} | + | |Yes={{#switch:{{NAMESPACENUMBER}}|620=</div>|0=</div>}}}}<nowiki /></onlyinclude><noinclude>[[Category:Article_Cargo]] |
− | <noinclude>[[Category:Article_Cargo]] | ||
</noinclude> | </noinclude> |
Revision as of 12:26, March 28, 2019
This is the "Section" template.
It should be called in the following format:
{{Section |Type= |alignment= |anchor= |sectionHeading= |FAQHeading= |freetext= |structuredtext= |structuredtextwide= |image= |gif= }}
Edit the page to see the template text.
This template defines the table "Section". View table.