Difference between revisions of "Template:ContentTemplateModernInline"

From Holdfast: Nations At War
Jump to navigation Jump to search
Line 34: Line 34:
  
 
<noinclude>[[Category:Templates]]</noinclude>
 
<noinclude>[[Category:Templates]]</noinclude>
 +
 +
<templatedata>
 +
{
 +
  "description": "Modern inline content layout template for Holdfast wiki.",
 +
  "params": {
 +
    "welcome": {
 +
      "label": "Welcome headline",
 +
      "description": "Big page header text",
 +
      "type": "string"
 +
    },
 +
    "blurb": {
 +
      "label": "Blurb",
 +
      "description": "Short tagline under the header",
 +
      "type": "string"
 +
    },
 +
    "sections_title": {
 +
      "label": "Sidebar title",
 +
      "default": "On this page",
 +
      "type": "string"
 +
    },
 +
    "sections_content": {
 +
      "label": "Sidebar links",
 +
      "description": "Bulleted list of links (use * and **)",
 +
      "type": "string",
 +
      "suggested": true
 +
    },
 +
    "featured_content": {
 +
      "label": "Main content",
 +
      "description": "Full article text (headings, sections, etc.)",
 +
      "type": "content",
 +
      "suggested": true
 +
    },
 +
    "image_content": {
 +
      "label": "Right column content",
 +
      "description": "Optional image/thumb or sidebar",
 +
      "type": "content"
 +
    }
 +
  }
 +
}
 +
</templatedata>

Revision as of 09:20, 18 September 2025



Modern inline content layout template for Holdfast wiki.

Template parameters

ParameterDescriptionTypeStatus
Welcome headlinewelcome

Big page header text

Stringoptional
Blurbblurb

Short tagline under the header

Stringoptional
Sidebar titlesections_title

no description

Default
On this page
Stringoptional
Sidebar linkssections_content

Bulleted list of links (use * and **)

Stringsuggested
Main contentfeatured_content

Full article text (headings, sections, etc.)

Contentsuggested
Right column contentimage_content

Optional image/thumb or sidebar

Contentoptional

Navigation menu