Difference between revisions of "Template:ContentTemplate"
Jump to navigation
Jump to search
| Line 1: | Line 1: | ||
| − | |||
<!-- Modern, responsive content layout (div + flexbox) --> | <!-- Modern, responsive content layout (div + flexbox) --> | ||
<!-- Based on Paradox-style layout, but using semantic wrappers and CSS classes --> | <!-- Based on Paradox-style layout, but using semantic wrappers and CSS classes --> | ||
| + | |||
{{HeaderTemplate|welcome={{{welcome|}}}|blurb={{{blurb|}}}}} | {{HeaderTemplate|welcome={{{welcome|}}}|blurb={{{blurb|}}}}} | ||
| + | |||
<div class="cpage" role="presentation"> | <div class="cpage" role="presentation"> | ||
| − | + | <div class="cpage__left"> | |
| − | + | {{SectionTemplate | |
| − | + | |title = {{{sections_title|Sections}}} | |
| − | + | |content = {{{sections_content|}}} | |
| − | + | }} | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
</div> | </div> | ||
| − | |||
| − | |||
| − | |||
| − | < | + | <main class="cpage__main" role="main"> |
| − | + | {{#if:{{{about_content|}}}| | |
| + | {{SectionTemplate|title={{{about_title|About}}}|content={{{about_content}}}}} | ||
| + | |}} | ||
| − | |||
| − | # | + | {{#if:{{{featured_content|}}}| |
| + | {{SectionTemplate|title={{{featured_title|Featured}}}|content={{{featured_content}}}}} | ||
| + | |}} | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | + | {{#if:{{{news_content|}}}| | |
| − | + | {{SectionTemplate|title={{{news_title|News}}}|content={{{news_content}}}}} | |
| − | + | |}} | |
| − | + | </main> | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | + | {{#if:{{{image_content|}}}| | |
| + | <aside class="cpage__aside" role="complementary"> | ||
| + | {{{image_content}}} | ||
| + | </aside> | ||
| + | |}} | ||
| + | </div> | ||
| − | |||
| − | + | <!-- Optional magic words (default hidden). Set |show_toc=yes or |show_section_edit=yes to enable. --> | |
| − | + | {{#ifeq:{{{show_toc|no}}}|yes||__NOTOC__}} | |
| − | + | {{#ifeq:{{{show_section_edit|no}}}|yes||__NOEDITSECTION__}} | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | + | <noinclude>[[Category:Templates]]</noinclude> | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
Latest revision as of 08:41, 18 September 2025
Sections
<main class="cpage__main" role="main">
</main>