Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
You must create an account or log in to edit.

Template:Newsletter: Difference between revisions

Template page
Content deleted Content added
No edit summary
Tag: 2017 source edit
No edit summary
Tag: 2017 source edit
Line 1: Line 1:
<includeonly>
<includeonly>
<templatestyles src="Template:Amaranth Legacy Newsletter/styles.css" />
<templatestyles src="Template:Amaranth Legacy Newsletter/styles.css" />
<div style="background: #120312; border: 4px solid #ff0080; padding: 1.5em; font-family: {{{font|Arial, sans-serif}}}; color: white; max-width: 850px; margin: auto; box-shadow: 0 0 15px #ff0080;">
<div style="background: {{{background|transparent}}}; border: 4px solid {{{bordercolor|#60add5}}}; padding: 1.5em; font-family: {{{font|Arial, sans-serif}}}; color: {{{textcolor|#60add5}}}; max-width: 1100px; margin: auto; {{#if:{{{glow|}}}|box-shadow: 0 0 15px {{{bordercolor|#60add5}}};|}}">


<!-- Header -->
<!-- Header -->
<div style="display: flex; justify-content: center; align-items: center; font-size: 2em; font-weight: bold; color: #ff0080; text-shadow: 0 0 5px #ff0080;">
<div style="display: flex; justify-content: center; align-items: center; font-size: {{{titlesize|2em}}}; font-weight: bold; color: {{{titlecolor|#60add5}}}; text-shadow: {{#if:{{{glow|}}}|0 0 5px {{{titlecolor|#60add5}}}|none}};">
<span style="margin-right: 0.5em;">[[File:{{{leftimage|glypht.png}}}|40px]]</span>
<span style="margin-right: 0.5em;">[[File:{{{leftimage|glypht.png}}}|40px]]</span>
<span style="letter-spacing: 3px;">{{{title|AMARANTH WEEKLY}}}</span>
<span style="letter-spacing: 3px;">{{{title|AMARANTH WEEKLY}}}</span>
Line 10: Line 10:
</div>
</div>


<!-- Timestamp or Author Slot -->
<!-- Subtitle -->
<div style="text-align: center; font-size: 1em; margin-top: 0.2em; font-weight: bold;">{{{subtitle|}}}</div>
<div style="text-align: center; font-size: 1em; margin-top: 0.2em; font-weight: bold;">{{{subtitle|}}}</div>


<!-- Overview -->
<hr style="border: none; border-top: 2px solid #ff0080; margin: 1.5em 0;" />
<div style="text-align: center; font-size: 1.2em; margin-top: 1em; margin-bottom: 1em;">{{{overview|}}}</div>


<hr style="border: none; border-top: 2px solid {{{bordercolor|#60add5}}}; margin: 1.5em 0;" />
<!-- Dynamic Sections Grid -->

<!-- Section Grid -->
<div style="display: grid; grid-template-columns: 1fr 1fr; gap: 2em;">
<div style="display: grid; grid-template-columns: 1fr 1fr; gap: 2em;">


<!-- LEFT COLUMN -->
<!-- LEFT: Sections 21 - 40 -->
<div>
<div>
{{#forindex: i | 21 | 40 |}}
{{#if:{{{section1_title|}}}|<div style="font-size: 1.5em; color: #ff0055; font-weight: bold;">{{{section1_title}}}</div><hr style="border: none; border-top: 1px solid {{{section1_color|#ff0080}}}; margin: 0.5em 0;" /><div>{{{section1_text}}}</div>}}
{{#if:{{{section{{i}}_title|}}}|<div style="font-size: 1.5em; color: {{{titlecolor|#60add5}}}; font-weight: bold; {{#ifexpr:{{i}} > 21|margin-top: 2em;}}">{{{section{{i}}_title}}}</div><hr style="border: none; border-top: 1px solid {{{section{{i}}_color|#60add5}}}; margin: 0.5em 0;" /><div>{{{section{{i}}_text}}}</div>}}

{{#endforindex}}
{{#if:{{{section2_title|}}}|<div style="font-size: 1.5em; color: #ff0055; font-weight: bold; margin-top: 2em;">{{{section2_title}}}</div><hr style="border: none; border-top: 1px solid {{{section2_color|#ff0080}}}; margin: 0.5em 0;" /><div>{{{section2_text}}}</div>}}

{{#if:{{{section3_title|}}}|<div style="font-size: 1.5em; color: #ff0055; font-weight: bold; margin-top: 2em;">{{{section3_title}}}</div><hr style="border: none; border-top: 1px solid {{{section3_color|#ff0080}}}; margin: 0.5em 0;" /><div>{{{section3_text}}}</div>}}

{{#if:{{{section4_title|}}}|<div style="font-size: 1.5em; color: #ff0055; font-weight: bold; margin-top: 2em;">{{{section4_title}}}</div><hr style="border: none; border-top: 1px solid {{{section4_color|#ff0080}}}; margin: 0.5em 0;" /><div>{{{section4_text}}}</div>}}

{{#if:{{{section5_title|}}}|<div style="font-size: 1.5em; color: #ff0055; font-weight: bold; margin-top: 2em;">{{{section5_title}}}</div><hr style="border: none; border-top: 1px solid {{{section5_color|#ff0080}}}; margin: 0.5em 0;" /><div>{{{section5_text}}}</div>}}

{{#if:{{{section6_title|}}}|<div style="font-size: 1.5em; color: #ff0055; font-weight: bold; margin-top: 2em;">{{{section6_title}}}</div><hr style="border: none; border-top: 1px solid {{{section6_color|#ff0080}}}; margin: 0.5em 0;" /><div>{{{section6_text}}}</div>}}

{{#if:{{{section7_title|}}}|<div style="font-size: 1.5em; color: #ff0055; font-weight: bold; margin-top: 2em;">{{{section7_title}}}</div><hr style="border: none; border-top: 1px solid {{{section7_color|#ff0080}}}; margin: 0.5em 0;" /><div>{{{section7_text}}}</div>}}

{{#if:{{{section8_title|}}}|<div style="font-size: 1.5em; color: #ff0055; font-weight: bold; margin-top: 2em;">{{{section8_title}}}</div><hr style="border: none; border-top: 1px solid {{{section8_color|#ff0080}}}; margin: 0.5em 0;" /><div>{{{section8_text}}}</div>}}

{{#if:{{{section9_title|}}}|<div style="font-size: 1.5em; color: #ff0055; font-weight: bold; margin-top: 2em;">{{{section9_title}}}</div><hr style="border: none; border-top: 1px solid {{{section9_color|#ff0080}}}; margin: 0.5em 0;" /><div>{{{section9_text}}}</div>}}

{{#if:{{{section10_title|}}}|<div style="font-size: 1.5em; color: #ff0055; font-weight: bold; margin-top: 2em;">{{{section10_title}}}</div><hr style="border: none; border-top: 1px solid {{{section10_color|#ff0080}}}; margin: 0.5em 0;" /><div>{{{section10_text}}}</div>}}

{{#if:{{{section11_title|}}}|<div style="font-size: 1.5em; color: #ff0055; font-weight: bold; margin-top: 2em;">{{{section11_title}}}</div><hr style="border: none; border-top: 1px solid {{{section11_color|#ff0080}}}; margin: 0.5em 0;" /><div>{{{section11_text}}}</div>}}

{{#if:{{{section12_title|}}}|<div style="font-size: 1.5em; color: #ff0055; font-weight: bold; margin-top: 2em;">{{{section12_title}}}</div><hr style="border: none; border-top: 1px solid {{{section12_color|#ff0080}}}; margin: 0.5em 0;" /><div>{{{section12_text}}}</div>}}

{{#if:{{{section13_title|}}}|<div style="font-size: 1.5em; color: #ff0055; font-weight: bold; margin-top: 2em;">{{{section13_title}}}</div><hr style="border: none; border-top: 1px solid {{{section13_color|#ff0080}}}; margin: 0.5em 0;" /><div>{{{section13_text}}}</div>}}

{{#if:{{{section14_title|}}}|<div style="font-size: 1.5em; color: #ff0055; font-weight: bold; margin-top: 2em;">{{{section14_title}}}</div><hr style="border: none; border-top: 1px solid {{{section14_color|#ff0080}}}; margin: 0.5em 0;" /><div>{{{section14_text}}}</div>}}

{{#if:{{{section15_title|}}}|<div style="font-size: 1.5em; color: #ff0055; font-weight: bold; margin-top: 2em;">{{{section15_title}}}</div><hr style="border: none; border-top: 1px solid {{{section15_color|#ff0080}}}; margin: 0.5em 0;" /><div>{{{section15_text}}}</div>}}

{{#if:{{{section16_title|}}}|<div style="font-size: 1.5em; color: #ff0055; font-weight: bold; margin-top: 2em;">{{{section16_title}}}</div><hr style="border: none; border-top: 1px solid {{{section16_color|#ff0080}}}; margin: 0.5em 0;" /><div>{{{section16_text}}}</div>}}

{{#if:{{{section17_title|}}}|<div style="font-size: 1.5em; color: #ff0055; font-weight: bold; margin-top: 2em;">{{{section17_title}}}</div><hr style="border: none; border-top: 1px solid {{{section17_color|#ff0080}}}; margin: 0.5em 0;" /><div>{{{section17_text}}}</div>}}

{{#if:{{{section18_title|}}}|<div style="font-size: 1.5em; color: #ff0055; font-weight: bold; margin-top: 2em;">{{{section18_title}}}</div><hr style="border: none; border-top: 1px solid {{{section18_color|#ff0080}}}; margin: 0.5em 0;" /><div>{{{section18_text}}}</div>}}

{{#if:{{{section19_title|}}}|<div style="font-size: 1.5em; color: #ff0055; font-weight: bold; margin-top: 2em;">{{{section19_title}}}</div><hr style="border: none; border-top: 1px solid {{{section19_color|#ff0080}}}; margin: 0.5em 0;" /><div>{{{section19_text}}}</div>}}

{{#if:{{{section20_title|}}}|<div style="font-size: 1.5em; color: #ff0055; font-weight: bold; margin-top: 2em;">{{{section20_title}}}</div><hr style="border: none; border-top: 1px solid {{{section20_color|#ff0080}}}; margin: 0.5em 0;" /><div>{{{section20_text}}}</div>}}

</div>
</div>


<!-- RIGHT COLUMN -->
<!-- RIGHT: Sections 1 - 20 -->
<div>
<div>
{{#forindex: i | 1 | 20 |}}
{{#if:{{{section1_title|}}}|<div style="font-size: 1.5em; color: #ff0055; font-weight: bold;">{{{section1_title}}}</div><hr style="border: none; border-top: 1px solid {{{section1_color|#ff0080}}}; margin: 0.5em 0;" /><div>{{{section1_text}}}</div>}}
{{#if:{{{section{{i}}_title|}}}|<div style="font-size: 1.5em; color: {{{titlecolor|#60add5}}}; font-weight: bold; {{#ifexpr:{{i}} > 1|margin-top: 2em;}}">{{{section{{i}}_title}}}</div><hr style="border: none; border-top: 1px solid {{{section{{i}}_color|#60add5}}}; margin: 0.5em 0;" /><div>{{{section{{i}}_text}}}</div>}}

{{#endforindex}}
{{#if:{{{section2_title|}}}|<div style="font-size: 1.5em; color: #ff0055; font-weight: bold; margin-top: 2em;">{{{section2_title}}}</div><hr style="border: none; border-top: 1px solid {{{section2_color|#ff0080}}}; margin: 0.5em 0;" /><div>{{{section2_text}}}</div>}}

{{#if:{{{section3_title|}}}|<div style="font-size: 1.5em; color: #ff0055; font-weight: bold; margin-top: 2em;">{{{section3_title}}}</div><hr style="border: none; border-top: 1px solid {{{section3_color|#ff0080}}}; margin: 0.5em 0;" /><div>{{{section3_text}}}</div>}}

{{#if:{{{section4_title|}}}|<div style="font-size: 1.5em; color: #ff0055; font-weight: bold; margin-top: 2em;">{{{section4_title}}}</div><hr style="border: none; border-top: 1px solid {{{section4_color|#ff0080}}}; margin: 0.5em 0;" /><div>{{{section4_text}}}</div>}}

{{#if:{{{section5_title|}}}|<div style="font-size: 1.5em; color: #ff0055; font-weight: bold; margin-top: 2em;">{{{section5_title}}}</div><hr style="border: none; border-top: 1px solid {{{section5_color|#ff0080}}}; margin: 0.5em 0;" /><div>{{{section5_text}}}</div>}}

{{#if:{{{section6_title|}}}|<div style="font-size: 1.5em; color: #ff0055; font-weight: bold; margin-top: 2em;">{{{section6_title}}}</div><hr style="border: none; border-top: 1px solid {{{section6_color|#ff0080}}}; margin: 0.5em 0;" /><div>{{{section6_text}}}</div>}}

{{#if:{{{section7_title|}}}|<div style="font-size: 1.5em; color: #ff0055; font-weight: bold; margin-top: 2em;">{{{section7_title}}}</div><hr style="border: none; border-top: 1px solid {{{section7_color|#ff0080}}}; margin: 0.5em 0;" /><div>{{{section7_text}}}</div>}}

{{#if:{{{section8_title|}}}|<div style="font-size: 1.5em; color: #ff0055; font-weight: bold; margin-top: 2em;">{{{section8_title}}}</div><hr style="border: none; border-top: 1px solid {{{section8_color|#ff0080}}}; margin: 0.5em 0;" /><div>{{{section8_text}}}</div>}}

{{#if:{{{section9_title|}}}|<div style="font-size: 1.5em; color: #ff0055; font-weight: bold; margin-top: 2em;">{{{section9_title}}}</div><hr style="border: none; border-top: 1px solid {{{section9_color|#ff0080}}}; margin: 0.5em 0;" /><div>{{{section9_text}}}</div>}}

{{#if:{{{section10_title|}}}|<div style="font-size: 1.5em; color: #ff0055; font-weight: bold; margin-top: 2em;">{{{section10_title}}}</div><hr style="border: none; border-top: 1px solid {{{section10_color|#ff0080}}}; margin: 0.5em 0;" /><div>{{{section10_text}}}</div>}}

{{#if:{{{section11_title|}}}|<div style="font-size: 1.5em; color: #ff0055; font-weight: bold; margin-top: 2em;">{{{section11_title}}}</div><hr style="border: none; border-top: 1px solid {{{section11_color|#ff0080}}}; margin: 0.5em 0;" /><div>{{{section11_text}}}</div>}}

{{#if:{{{section12_title|}}}|<div style="font-size: 1.5em; color: #ff0055; font-weight: bold; margin-top: 2em;">{{{section12_title}}}</div><hr style="border: none; border-top: 1px solid {{{section12_color|#ff0080}}}; margin: 0.5em 0;" /><div>{{{section12_text}}}</div>}}

{{#if:{{{section13_title|}}}|<div style="font-size: 1.5em; color: #ff0055; font-weight: bold; margin-top: 2em;">{{{section13_title}}}</div><hr style="border: none; border-top: 1px solid {{{section13_color|#ff0080}}}; margin: 0.5em 0;" /><div>{{{section13_text}}}</div>}}

{{#if:{{{section14_title|}}}|<div style="font-size: 1.5em; color: #ff0055; font-weight: bold; margin-top: 2em;">{{{section14_title}}}</div><hr style="border: none; border-top: 1px solid {{{section14_color|#ff0080}}}; margin: 0.5em 0;" /><div>{{{section14_text}}}</div>}}

{{#if:{{{section15_title|}}}|<div style="font-size: 1.5em; color: #ff0055; font-weight: bold; margin-top: 2em;">{{{section15_title}}}</div><hr style="border: none; border-top: 1px solid {{{section15_color|#ff0080}}}; margin: 0.5em 0;" /><div>{{{section15_text}}}</div>}}

{{#if:{{{section16_title|}}}|<div style="font-size: 1.5em; color: #ff0055; font-weight: bold; margin-top: 2em;">{{{section16_title}}}</div><hr style="border: none; border-top: 1px solid {{{section16_color|#ff0080}}}; margin: 0.5em 0;" /><div>{{{section16_text}}}</div>}}

{{#if:{{{section17_title|}}}|<div style="font-size: 1.5em; color: #ff0055; font-weight: bold; margin-top: 2em;">{{{section17_title}}}</div><hr style="border: none; border-top: 1px solid {{{section17_color|#ff0080}}}; margin: 0.5em 0;" /><div>{{{section17_text}}}</div>}}

{{#if:{{{section18_title|}}}|<div style="font-size: 1.5em; color: #ff0055; font-weight: bold; margin-top: 2em;">{{{section18_title}}}</div><hr style="border: none; border-top: 1px solid {{{section18_color|#ff0080}}}; margin: 0.5em 0;" /><div>{{{section18_text}}}</div>}}

{{#if:{{{section19_title|}}}|<div style="font-size: 1.5em; color: #ff0055; font-weight: bold; margin-top: 2em;">{{{section19_title}}}</div><hr style="border: none; border-top: 1px solid {{{section19_color|#ff0080}}}; margin: 0.5em 0;" /><div>{{{section19_text}}}</div>}}

{{#if:{{{section20_title|}}}|<div style="font-size: 1.5em; color: #ff0055; font-weight: bold; margin-top: 2em;">{{{section20_title}}}</div><hr style="border: none; border-top: 1px solid {{{section20_color|#ff0080}}}; margin: 0.5em 0;" /><div>{{{section20_text}}}</div>}}

</div>
</div>


Line 109: Line 38:


</div>
</div>
</includeonly>
<noinclude>
<noinclude>
<templatedata>
<templatedata>
{
{
"description": "Generates a newsletter block styled in the 'Amaranth Weekly' visual style. All sections, title, divider colors, font, and images are customizable.",
"description": "Generates a newsletter block styled in the 'Amaranth Legacy' style with customizable sections, colors, font, and layout.",
"params": {
"params": {
"title": { "type": "string", "description": "Main header title text", "default": "AMARANTH WEEKLY" },
"title": {
"type": "string",
"titlesize": { "type": "string", "description": "CSS size for title text", "default": "2em" },
"description": "Main header title text",
"subtitle": { "type": "string", "description": "Optional subtitle or author/timestamp slot" },
"overview": { "type": "string", "description": "Optional overview section displayed beneath subtitle" },
"default": "AMARANTH WEEKLY"
"leftimage": { "type": "string", "description": "Image on the left side of the title", "default": "glypht.png" },
},
"rightimage": { "type": "string", "description": "Image on the right side of the title", "default": "glypht.png" },
"subtitle": {
"type": "string",
"font": { "type": "string", "description": "CSS font-family for all text", "default": "Arial, sans-serif" },
"bordercolor": { "type": "string", "description": "Hex color code for border and lines", "default": "#60add5" },
"description": "Optional subtitle or author/timestamp slot"
"titlecolor": { "type": "string", "description": "Color for the main title text", "default": "#60add5" },
},
"textcolor": { "type": "string", "description": "Color for all text", "default": "#60add5" },
"overview": {
"background": { "type": "string", "description": "Background color of the newsletter box", "default": "transparent" },
"type": "string",
"description": "Optional overview section displayed beneath subtitle"
"glow": { "type": "string", "description": "Set to any value to enable outer glow effect", "default": "" }
},
"leftimage": {
"type": "string",
"description": "Image on the left side of the title",
"default": "glypht.png"
},
"rightimage": {
"type": "string",
"description": "Image on the right side of the title",
"default": "glypht.png"
},
"font": {
"type": "string",
"description": "CSS font-family for all text",
"default": "Arial, sans-serif"
},
"bordercolor": {
"type": "string",
"description": "Hex color code for border and horizontal lines",
"default": "#60add5"
},
"titlecolor": {
"type": "string",
"description": "Hex color for the main title text",
"default": "#60add5"
},
"textcolor": {
"type": "string",
"description": "Hex color for the main text body",
"default": "#60add5"
},
"background": {
"type": "string",
"description": "Background color of the newsletter box",
"default": "transparent"
},
"glow": {
"type": "string",
"description": "Set to any value to enable outer glow effect",
"default": ""
},

<!-- Section parameters -->
"section1_title": { "type": "string", "description": "Title for Section 1" },
"section1_text": { "type": "string", "description": "Main content of Section 1" },
"section1_color": { "type": "string", "description": "Divider color for Section 1", "default": "#60add5" },

"section2_title": { "type": "string", "description": "Title for Section 2" },
"section2_text": { "type": "string", "description": "Main content of Section 2" },
"section2_color": { "type": "string", "description": "Divider color for Section 2", "default": "#60add5" },

"section3_title": { "type": "string", "description": "Title for Section 3" },
"section3_text": { "type": "string", "description": "Main content of Section 3" },
"section3_color": { "type": "string", "description": "Divider color for Section 3", "default": "#60add5" },

"section4_title": { "type": "string", "description": "Title for Section 4" },
"section4_text": { "type": "string", "description": "Main content of Section 4" },
"section4_color": { "type": "string", "description": "Divider color for Section 4", "default": "#60add5" },

"section5_title": { "type": "string", "description": "Title for Section 5" },
"section5_text": { "type": "string", "description": "Main content of Section 5" },
"section5_color": { "type": "string", "description": "Divider color for Section 5", "default": "#60add5" },

"section6_title": { "type": "string", "description": "Title for Section 6" },
"section6_text": { "type": "string", "description": "Main content of Section 6" },
"section6_color": { "type": "string", "description": "Divider color for Section 6", "default": "#60add5" },

"section7_title": { "type": "string", "description": "Title for Section 7" },
"section7_text": { "type": "string", "description": "Main content of Section 7" },
"section7_color": { "type": "string", "description": "Divider color for Section 7", "default": "#60add5" },

"section8_title": { "type": "string", "description": "Title for Section 8" },
"section8_text": { "type": "string", "description": "Main content of Section 8" },
"section8_color": { "type": "string", "description": "Divider color for Section 8", "default": "#60add5" },

"section9_title": { "type": "string", "description": "Title for Section 9" },
"section9_text": { "type": "string", "description": "Main content of Section 9" },
"section9_color": { "type": "string", "description": "Divider color for Section 9", "default": "#60add5" },

"section10_title": { "type": "string", "description": "Title for Section 10" },
"section10_text": { "type": "string", "description": "Main content of Section 10" },
"section10_color": { "type": "string", "description": "Divider color for Section 10", "default": "#60add5" },

"section11_title": { "type": "string", "description": "Title for Section 11" },
"section11_text": { "type": "string", "description": "Main content of Section 11" },
"section11_color": { "type": "string", "description": "Divider color for Section 11", "default": "#60add5" },

"section12_title": { "type": "string", "description": "Title for Section 12" },
"section12_text": { "type": "string", "description": "Main content of Section 12" },
"section12_color": { "type": "string", "description": "Divider color for Section 12", "default": "#60add5" },

"section13_title": { "type": "string", "description": "Title for Section 13" },
"section13_text": { "type": "string", "description": "Main content of Section 13" },
"section13_color": { "type": "string", "description": "Divider color for Section 13", "default": "#60add5" },

"section14_title": { "type": "string", "description": "Title for Section 14" },
"section14_text": { "type": "string", "description": "Main content of Section 14" },
"section14_color": { "type": "string", "description": "Divider color for Section 14", "default": "#60add5" },

"section15_title": { "type": "string", "description": "Title for Section 15" },
"section15_text": { "type": "string", "description": "Main content of Section 15" },
"section15_color": { "type": "string", "description": "Divider color for Section 15", "default": "#60add5" },

"section16_title": { "type": "string", "description": "Title for Section 16" },
"section16_text": { "type": "string", "description": "Main content of Section 16" },
"section16_color": { "type": "string", "description": "Divider color for Section 16", "default": "#60add5" },

"section17_title": { "type": "string", "description": "Title for Section 17" },
"section17_text": { "type": "string", "description": "Main content of Section 17" },
"section17_color": { "type": "string", "description": "Divider color for Section 17", "default": "#60add5" },

"section18_title": { "type": "string", "description": "Title for Section 18" },
"section18_text": { "type": "string", "description": "Main content of Section 18" },
"section18_color": { "type": "string", "description": "Divider color for Section 18", "default": "#60add5" },

"section19_title": { "type": "string", "description": "Title for Section 19" },
"section19_text": { "type": "string", "description": "Main content of Section 19" },
"section19_color": { "type": "string", "description": "Divider color for Section 19", "default": "#60add5" },

"section20_title": { "type": "string", "description": "Title for Section 20" },
"section20_text": { "type": "string", "description": "Main content of Section 20" },
"section20_color": { "type": "string", "description": "Divider color for Section 20", "default": "#60add5" },

"section21_title": { "type": "string", "description": "Title for Section 21" },
"section21_text": { "type": "string", "description": "Main content of Section 21" },
"section21_color": { "type": "string", "description": "Divider color for Section 21", "default": "#60add5" },

"section22_title": { "type": "string", "description": "Title for Section 22" },
"section22_text": { "type": "string", "description": "Main content of Section 22" },
"section22_color": { "type": "string", "description": "Divider color for Section 22", "default": "#60add5" },

"section23_title": { "type": "string", "description": "Title for Section 23" },
"section23_text": { "type": "string", "description": "Main content of Section 23" },
"section23_color": { "type": "string", "description": "Divider color for Section 23", "default": "#60add5" },

"section24_title": { "type": "string", "description": "Title for Section 24" },
"section24_text": { "type": "string", "description": "Main content of Section 24" },
"section24_color": { "type": "string", "description": "Divider color for Section 24", "default": "#60add5" },

"section25_title": { "type": "string", "description": "Title for Section 25" },
"section25_text": { "type": "string", "description": "Main content of Section 25" },
"section25_color": { "type": "string", "description": "Divider color for Section 25", "default": "#60add5" },

"section26_title": { "type": "string", "description": "Title for Section 26" },
"section26_text": { "type": "string", "description": "Main content of Section 26" },
"section26_color": { "type": "string", "description": "Divider color for Section 26", "default": "#60add5" },

"section27_title": { "type": "string", "description": "Title for Section 27" },
"section27_text": { "type": "string", "description": "Main content of Section 27" },
"section27_color": { "type": "string", "description": "Divider color for Section 27", "default": "#60add5" },

"section28_title": { "type": "string", "description": "Title for Section 28" },
"section28_text": { "type": "string", "description": "Main content of Section 28" },
"section28_color": { "type": "string", "description": "Divider color for Section 28", "default": "#60add5" },

"section29_title": { "type": "string", "description": "Title for Section 29" },
"section29_text": { "type": "string", "description": "Main content of Section 29" },
"section29_color": { "type": "string", "description": "Divider color for Section 29", "default": "#60add5" },

"section30_title": { "type": "string", "description": "Title for Section 30" },
"section30_text": { "type": "string", "description": "Main content of Section 30" },
"section30_color": { "type": "string", "description": "Divider color for Section 30", "default": "#60add5" },

"section31_title": { "type": "string", "description": "Title for Section 31" },
"section31_text": { "type": "string", "description": "Main content of Section 31" },
"section31_color": { "type": "string", "description": "Divider color for Section 31", "default": "#60add5" },

"section32_title": { "type": "string", "description": "Title for Section 32" },
"section32_text": { "type": "string", "description": "Main content of Section 32" },
"section32_color": { "type": "string", "description": "Divider color for Section 32", "default": "#60add5" },

"section33_title": { "type": "string", "description": "Title for Section 33" },
"section33_text": { "type": "string", "description": "Main content of Section 33" },
"section33_color": { "type": "string", "description": "Divider color for Section 33", "default": "#60add5" },

"section34_title": { "type": "string", "description": "Title for Section 34" },
"section34_text": { "type": "string", "description": "Main content of Section 34" },
"section34_color": { "type": "string", "description": "Divider color for Section 34", "default": "#60add5" },

"section35_title": { "type": "string", "description": "Title for Section 35" },
"section35_text": { "type": "string", "description": "Main content of Section 35" },
"section35_color": { "type": "string", "description": "Divider color for Section 35", "default": "#60add5" },

"section36_title": { "type": "string", "description": "Title for Section 36" },
"section36_text": { "type": "string", "description": "Main content of Section 36" },
"section36_color": { "type": "string", "description": "Divider color for Section 36", "default": "#60add5" },

"section37_title": { "type": "string", "description": "Title for Section 37" },
"section37_text": { "type": "string", "description": "Main content of Section 37" },
"section37_color": { "type": "string", "description": "Divider color for Section 37", "default": "#60add5" },

"section38_title": { "type": "string", "description": "Title for Section 38" },
"section38_text": { "type": "string", "description": "Main content of Section 38" },
"section38_color": { "type": "string", "description": "Divider color for Section 38", "default": "#60add5" },

"section39_title": { "type": "string", "description": "Title for Section 39" },
"section39_text": { "type": "string", "description": "Main content of Section 39" },
"section39_color": { "type": "string", "description": "Divider color for Section 39", "default": "#60add5" },

"section40_title": { "type": "string", "description": "Title for Section 40" },
"section40_text": { "type": "string", "description": "Main content of Section 40" },
"section40_color": { "type": "string", "description": "Divider color for Section 40", "default": "#60add5" }
}
}
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Revision as of 20:42, May 14, 2025


Generates a newsletter block styled in the 'Amaranth Legacy' style with customizable sections, colors, font, and layout.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
titletitle

Main header title text

Default
AMARANTH WEEKLY
Stringoptional
titlesizetitlesize

CSS size for title text

Default
2em
Stringoptional
subtitlesubtitle

Optional subtitle or author/timestamp slot

Stringoptional
overviewoverview

Optional overview section displayed beneath subtitle

Stringoptional
leftimageleftimage

Image on the left side of the title

Default
glypht.png
Stringoptional
rightimagerightimage

Image on the right side of the title

Default
glypht.png
Stringoptional
fontfont

CSS font-family for all text

Default
Arial, sans-serif
Stringoptional
bordercolorbordercolor

Hex color code for border and lines

Default
#60add5
Stringoptional
titlecolortitlecolor

Color for the main title text

Default
#60add5
Stringoptional
textcolortextcolor

Color for all text

Default
#60add5
Stringoptional
backgroundbackground

Background color of the newsletter box

Default
transparent
Stringoptional
glowglow

Set to any value to enable outer glow effect

Default
Stringoptional