Difference between revisions of "Template:ContentTemplateModernInline"
Jump to navigation
Jump to search
| Line 1: | Line 1: | ||
| − | <!-- ContentTemplateModernInline — no | + | <!-- ContentTemplateModernInline — MW 1.35 safe (no <main>/<aside>) --> |
{{HeaderTemplate|welcome={{{welcome|}}}|blurb={{{blurb|}}}}} | {{HeaderTemplate|welcome={{{welcome|}}}|blurb={{{blurb|}}}}} | ||
| Line 9: | Line 9: | ||
{{SectionTemplate|title={{{sections_title|Sections}}}|content={{{sections_content|}}}}} | {{SectionTemplate|title={{{sections_title|Sections}}}|content={{{sections_content|}}}}} | ||
</div> | </div> | ||
| − | < | + | <div class="cpage__main" role="main" style="margin-bottom:{{{gap|1rem}}};"> |
{{#if:{{{about_content|}}}|{{SectionTemplate|title={{{about_title|About}}}|content={{{about_content}}}}}|}} | {{#if:{{{about_content|}}}|{{SectionTemplate|title={{{about_title|About}}}|content={{{about_content}}}}}|}} | ||
{{#if:{{{featured_content|}}}|{{SectionTemplate|title={{{featured_title|Featured}}}|content={{{featured_content}}}}}|}} | {{#if:{{{featured_content|}}}|{{SectionTemplate|title={{{featured_title|Featured}}}|content={{{featured_content}}}}}|}} | ||
{{#if:{{{news_content|}}}|{{SectionTemplate|title={{{news_title|News}}}|content={{{news_content}}}}}|}} | {{#if:{{{news_content|}}}|{{SectionTemplate|title={{{news_title|News}}}|content={{{news_content}}}}}|}} | ||
| − | </ | + | </div> |
| − | {{#if:{{{image_content|}}}|< | + | {{#if:{{{image_content|}}}|<div class="cpage__aside" role="complementary">{{{image_content}}}</div>|}} |
</div> | </div> | ||
| #default = | | #default = | ||
| Line 21: | Line 21: | ||
{{SectionTemplate|title={{{sections_title|Sections}}}|content={{{sections_content|}}}}} | {{SectionTemplate|title={{{sections_title|Sections}}}|content={{{sections_content|}}}}} | ||
</div> | </div> | ||
| − | < | + | <div class="cpage__main" role="main" style="flex:1 1 auto;min-width:0;"> |
{{#if:{{{about_content|}}}|{{SectionTemplate|title={{{about_title|About}}}|content={{{about_content}}}}}|}} | {{#if:{{{about_content|}}}|{{SectionTemplate|title={{{about_title|About}}}|content={{{about_content}}}}}|}} | ||
{{#if:{{{featured_content|}}}|{{SectionTemplate|title={{{featured_title|Featured}}}|content={{{featured_content}}}}}|}} | {{#if:{{{featured_content|}}}|{{SectionTemplate|title={{{featured_title|Featured}}}|content={{{featured_content}}}}}|}} | ||
{{#if:{{{news_content|}}}|{{SectionTemplate|title={{{news_title|News}}}|content={{{news_content}}}}}|}} | {{#if:{{{news_content|}}}|{{SectionTemplate|title={{{news_title|News}}}|content={{{news_content}}}}}|}} | ||
| − | </ | + | </div> |
| − | {{#if:{{{image_content|}}}|< | + | {{#if:{{{image_content|}}}|<div class="cpage__aside" role="complementary" style="flex:0 0 {{{aside_width|320px}}};min-width:260px;">{{{image_content}}}</div>|}} |
</div> | </div> | ||
}} | }} | ||
Revision as of 09:09, 18 September 2025
Sections