Difference between revisions of "Template:ContentTemplateModernInline"

From Holdfast: Nations At War
Jump to navigation Jump to search
Line 34: Line 34:
 
   <div class="cpage__main" role="main" style="margin-bottom:{{{gap|1rem}}};">
 
   <div class="cpage__main" role="main" style="margin-bottom:{{{gap|1rem}}};">
 
     {{#if:{{{about_content|}}}|{{SectionTemplate|title={{{about_title|About}}}|content={{{about_content}}}}}|}}<nowiki/><!--trim-->
 
     {{#if:{{{about_content|}}}|{{SectionTemplate|title={{{about_title|About}}}|content={{{about_content}}}}}|}}<nowiki/><!--trim-->
 
    <!-- Featured: explicit, or auto-/Body only when opt-in -->
 
{{#ifeq:{{{auto_featured|no}}}|yes|
 
  {{#if:{{{featured_content|}}}
 
    | {{SectionTemplate|title={{{featured_title|Featured}}}|content={{{featured_content}}}}}
 
    | {{#ifexist:{{FULLPAGENAME}}/Body
 
        | {{#if:{{:{{FULLPAGENAME}}/Body}}|
 
            {{SectionTemplate|title={{{featured_title|Featured}}}|content={{:{{FULLPAGENAME}}/Body}}}}
 
          }}
 
      }}
 
  }}
 
| {{#if:{{{featured_content|}}}|
 
    {{SectionTemplate|title={{{featured_title|Featured}}}|content={{{featured_content}}}}}
 
  |  <!-- nothing -->
 
  }}
 
}}
 
  
 
     {{#if:{{{news_content|}}}|{{SectionTemplate|title={{{news_title|News}}}|content={{{news_content}}}}}|}}<nowiki/><!--trim-->
 
     {{#if:{{{news_content|}}}|{{SectionTemplate|title={{{news_title|News}}}|content={{{news_content}}}}}|}}<nowiki/><!--trim-->

Revision as of 20:29, 18 September 2025

Navigation menu