Difference between revisions of "Template:ContentTemplate"
Jump to navigation
Jump to search
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | <!-- Based on | + | <!-- Modern, responsive content layout (div + flexbox) --> |
| − | < | + | <!-- Based on Paradox-style layout, but using semantic wrappers and CSS classes --> |
| − | + | ||
| − | + | ||
| − | + | {{HeaderTemplate|welcome={{{welcome|}}}|blurb={{{blurb|}}}}} | |
| − | + | ||
| − | {{SectionTemplate|title={{{sections_title}}}|content={{{sections_content}}}}} | + | |
| − | + | <div class="cpage" role="presentation"> | |
| − | + | <div class="cpage__left"> | |
| − | {{SectionTemplate|title={{{about_title}}}|content={{{about_content}}}}} | + | {{SectionTemplate |
| − | {{SectionTemplate|title={{{featured_title}}}|content={{{featured_content}}}}} | + | |title = {{{sections_title|Sections}}} |
| − | {{SectionTemplate|title={{{news_title}}}|content={{{news_content}}}}} | + | |content = {{{sections_content|}}} |
| − | | | + | }} |
| + | </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}}} | {{{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> | <noinclude>[[Category:Templates]]</noinclude> | ||
Latest revision as of 08:41, 18 September 2025
Sections
<main class="cpage__main" role="main">
</main>