Difference between revisions of "Template:ContentTemplate"
Jump to navigation
Jump to search
(Created page with "<noinclude><!-- Template:ContentTemplate --></noinclude> <!-- Minimal wrapper for inner pages (guides, docs). Requires ParserFunctions. --> <div class="ct"> <!-- Optional h...") |
|||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | + | <!-- Modern, responsive content layout (div + flexbox) --> | |
| − | <!-- | + | <!-- Based on Paradox-style layout, but using semantic wrappers and CSS classes --> |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | + | {{HeaderTemplate|welcome={{{welcome|}}}|blurb={{{blurb|}}}}} | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | + | <div class="cpage" role="presentation"> | |
| − | + | <div class="cpage__left"> | |
| − | + | {{SectionTemplate | |
| − | + | |title = {{{sections_title|Sections}}} | |
| − | + | |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}}} | ||
| + | </aside> | ||
| + | |}} | ||
</div> | </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> | ||
Latest revision as of 08:41, 18 September 2025
Sections
<main class="cpage__main" role="main">
</main>