Template:Newsletter: Difference between revisions
Template page
More actions
Content deleted Content added
LordSkorne7 (talk | contribs) No edit summary Tag: 2017 source edit |
LordSkorne7 (talk | contribs) No edit summary Tag: 2017 source edit |
||
| Line 21: | Line 21: | ||
<div style="display: grid; grid-template-columns: 1fr 1fr; gap: 2em;"> |
<div style="display: grid; grid-template-columns: 1fr 1fr; gap: 2em;"> |
||
<!-- LEFT: Sections |
<!-- LEFT: Sections 1 - 20 --> |
||
<div> |
<div> |
||
| ⚫ | |||
{{#forindex: i | 21 | 40 |}} |
|||
{{#if:{{{ |
{{#if:{{{section2_title|}}}|<div style="font-size: 1.5em; color: {{{titlecolor|#60add5}}}; font-weight: bold; margin-top: 2em;">{{{section2_title}}}</div><hr style="border: none; border-top: 1px solid {{{section2_color|#60add5}}}; margin: 0.5em 0;" /><div>{{{section2_text}}}</div>}} |
||
{{#endforindex}} |
|||
{{#if:{{{section3_title|}}}|<div style="font-size: 1.5em; color: {{{titlecolor|#60add5}}}; font-weight: bold; margin-top: 2em;">{{{section3_title}}}</div><hr style="border: none; border-top: 1px solid {{{section3_color|#60add5}}}; margin: 0.5em 0;" /><div>{{{section3_text}}}</div>}} |
|||
{{#if:{{{section4_title|}}}|<div style="font-size: 1.5em; color: {{{titlecolor|#60add5}}}; font-weight: bold; margin-top: 2em;">{{{section4_title}}}</div><hr style="border: none; border-top: 1px solid {{{section4_color|#60add5}}}; margin: 0.5em 0;" /><div>{{{section4_text}}}</div>}} |
|||
{{#if:{{{section5_title|}}}|<div style="font-size: 1.5em; color: {{{titlecolor|#60add5}}}; font-weight: bold; margin-top: 2em;">{{{section5_title}}}</div><hr style="border: none; border-top: 1px solid {{{section5_color|#60add5}}}; margin: 0.5em 0;" /><div>{{{section5_text}}}</div>}} |
|||
{{#if:{{{section6_title|}}}|<div style="font-size: 1.5em; color: {{{titlecolor|#60add5}}}; font-weight: bold; margin-top: 2em;">{{{section6_title}}}</div><hr style="border: none; border-top: 1px solid {{{section6_color|#60add5}}}; margin: 0.5em 0;" /><div>{{{section6_text}}}</div>}} |
|||
{{#if:{{{section7_title|}}}|<div style="font-size: 1.5em; color: {{{titlecolor|#60add5}}}; font-weight: bold; margin-top: 2em;">{{{section7_title}}}</div><hr style="border: none; border-top: 1px solid {{{section7_color|#60add5}}}; margin: 0.5em 0;" /><div>{{{section7_text}}}</div>}} |
|||
{{#if:{{{section8_title|}}}|<div style="font-size: 1.5em; color: {{{titlecolor|#60add5}}}; font-weight: bold; margin-top: 2em;">{{{section8_title}}}</div><hr style="border: none; border-top: 1px solid {{{section8_color|#60add5}}}; margin: 0.5em 0;" /><div>{{{section8_text}}}</div>}} |
|||
{{#if:{{{section9_title|}}}|<div style="font-size: 1.5em; color: {{{titlecolor|#60add5}}}; font-weight: bold; margin-top: 2em;">{{{section9_title}}}</div><hr style="border: none; border-top: 1px solid {{{section9_color|#60add5}}}; margin: 0.5em 0;" /><div>{{{section9_text}}}</div>}} |
|||
{{#if:{{{section10_title|}}}|<div style="font-size: 1.5em; color: {{{titlecolor|#60add5}}}; font-weight: bold; margin-top: 2em;">{{{section10_title}}}</div><hr style="border: none; border-top: 1px solid {{{section10_color|#60add5}}}; margin: 0.5em 0;" /><div>{{{section10_text}}}</div>}} |
|||
{{#if:{{{section11_title|}}}|<div style="font-size: 1.5em; color: {{{titlecolor|#60add5}}}; font-weight: bold; margin-top: 2em;">{{{section11_title}}}</div><hr style="border: none; border-top: 1px solid {{{section11_color|#60add5}}}; margin: 0.5em 0;" /><div>{{{section11_text}}}</div>}} |
|||
{{#if:{{{section12_title|}}}|<div style="font-size: 1.5em; color: {{{titlecolor|#60add5}}}; font-weight: bold; margin-top: 2em;">{{{section12_title}}}</div><hr style="border: none; border-top: 1px solid {{{section12_color|#60add5}}}; margin: 0.5em 0;" /><div>{{{section12_text}}}</div>}} |
|||
{{#if:{{{section13_title|}}}|<div style="font-size: 1.5em; color: {{{titlecolor|#60add5}}}; font-weight: bold; margin-top: 2em;">{{{section13_title}}}</div><hr style="border: none; border-top: 1px solid {{{section13_color|#60add5}}}; margin: 0.5em 0;" /><div>{{{section13_text}}}</div>}} |
|||
{{#if:{{{section14_title|}}}|<div style="font-size: 1.5em; color: {{{titlecolor|#60add5}}}; font-weight: bold; margin-top: 2em;">{{{section14_title}}}</div><hr style="border: none; border-top: 1px solid {{{section14_color|#60add5}}}; margin: 0.5em 0;" /><div>{{{section14_text}}}</div>}} |
|||
{{#if:{{{section15_title|}}}|<div style="font-size: 1.5em; color: {{{titlecolor|#60add5}}}; font-weight: bold; margin-top: 2em;">{{{section15_title}}}</div><hr style="border: none; border-top: 1px solid {{{section15_color|#60add5}}}; margin: 0.5em 0;" /><div>{{{section15_text}}}</div>}} |
|||
{{#if:{{{section16_title|}}}|<div style="font-size: 1.5em; color: {{{titlecolor|#60add5}}}; font-weight: bold; margin-top: 2em;">{{{section16_title}}}</div><hr style="border: none; border-top: 1px solid {{{section16_color|#60add5}}}; margin: 0.5em 0;" /><div>{{{section16_text}}}</div>}} |
|||
{{#if:{{{section17_title|}}}|<div style="font-size: 1.5em; color: {{{titlecolor|#60add5}}}; font-weight: bold; margin-top: 2em;">{{{section17_title}}}</div><hr style="border: none; border-top: 1px solid {{{section17_color|#60add5}}}; margin: 0.5em 0;" /><div>{{{section17_text}}}</div>}} |
|||
{{#if:{{{section18_title|}}}|<div style="font-size: 1.5em; color: {{{titlecolor|#60add5}}}; font-weight: bold; margin-top: 2em;">{{{section18_title}}}</div><hr style="border: none; border-top: 1px solid {{{section18_color|#60add5}}}; margin: 0.5em 0;" /><div>{{{section18_text}}}</div>}} |
|||
{{#if:{{{section19_title|}}}|<div style="font-size: 1.5em; color: {{{titlecolor|#60add5}}}; font-weight: bold; margin-top: 2em;">{{{section19_title}}}</div><hr style="border: none; border-top: 1px solid {{{section19_color|#60add5}}}; margin: 0.5em 0;" /><div>{{{section19_text}}}</div>}} |
|||
{{#if:{{{section20_title|}}}|<div style="font-size: 1.5em; color: {{{titlecolor|#60add5}}}; font-weight: bold; margin-top: 2em;">{{{section20_title}}}</div><hr style="border: none; border-top: 1px solid {{{section20_color|#60add5}}}; margin: 0.5em 0;" /><div>{{{section20_text}}}</div>}} |
|||
</div> |
</div> |
||
<!-- RIGHT: Sections |
<!-- RIGHT: Sections 21 - 40 --> |
||
<div> |
<div> |
||
{{#if:{{{section21_title|}}}|<div style="font-size: 1.5em; color: {{{titlecolor|#60add5}}}; font-weight: bold;">{{{section21_title}}}</div><hr style="border: none; border-top: 1px solid {{{section21_color|#60add5}}}; margin: 0.5em 0;" /><div>{{{section21_text}}}</div>}} |
|||
{{#forindex: i | 1 | 20 |}} |
|||
| ⚫ | {{#if:{{{ |
||
{{#if:{{{section22_title|}}}|<div style="font-size: 1.5em; color: {{{titlecolor|#60add5}}}; font-weight: bold; margin-top: 2em;">{{{section22_title}}}</div><hr style="border: none; border-top: 1px solid {{{section22_color|#60add5}}}; margin: 0.5em 0;" /><div>{{{section22_text}}}</div>}} |
|||
{{#endforindex}} |
|||
{{#if:{{{section23_title|}}}|<div style="font-size: 1.5em; color: {{{titlecolor|#60add5}}}; font-weight: bold; margin-top: 2em;">{{{section23_title}}}</div><hr style="border: none; border-top: 1px solid {{{section23_color|#60add5}}}; margin: 0.5em 0;" /><div>{{{section23_text}}}</div>}} |
|||
{{#if:{{{section24_title|}}}|<div style="font-size: 1.5em; color: {{{titlecolor|#60add5}}}; font-weight: bold; margin-top: 2em;">{{{section24_title}}}</div><hr style="border: none; border-top: 1px solid {{{section24_color|#60add5}}}; margin: 0.5em 0;" /><div>{{{section24_text}}}</div>}} |
|||
{{#if:{{{section25_title|}}}|<div style="font-size: 1.5em; color: {{{titlecolor|#60add5}}}; font-weight: bold; margin-top: 2em;">{{{section25_title}}}</div><hr style="border: none; border-top: 1px solid {{{section25_color|#60add5}}}; margin: 0.5em 0;" /><div>{{{section25_text}}}</div>}} |
|||
{{#if:{{{section26_title|}}}|<div style="font-size: 1.5em; color: {{{titlecolor|#60add5}}}; font-weight: bold; margin-top: 2em;">{{{section26_title}}}</div><hr style="border: none; border-top: 1px solid {{{section26_color|#60add5}}}; margin: 0.5em 0;" /><div>{{{section26_text}}}</div>}} |
|||
{{#if:{{{section27_title|}}}|<div style="font-size: 1.5em; color: {{{titlecolor|#60add5}}}; font-weight: bold; margin-top: 2em;">{{{section27_title}}}</div><hr style="border: none; border-top: 1px solid {{{section27_color|#60add5}}}; margin: 0.5em 0;" /><div>{{{section27_text}}}</div>}} |
|||
{{#if:{{{section28_title|}}}|<div style="font-size: 1.5em; color: {{{titlecolor|#60add5}}}; font-weight: bold; margin-top: 2em;">{{{section28_title}}}</div><hr style="border: none; border-top: 1px solid {{{section28_color|#60add5}}}; margin: 0.5em 0;" /><div>{{{section28_text}}}</div>}} |
|||
{{#if:{{{section29_title|}}}|<div style="font-size: 1.5em; color: {{{titlecolor|#60add5}}}; font-weight: bold; margin-top: 2em;">{{{section29_title}}}</div><hr style="border: none; border-top: 1px solid {{{section29_color|#60add5}}}; margin: 0.5em 0;" /><div>{{{section29_text}}}</div>}} |
|||
{{#if:{{{section30_title|}}}|<div style="font-size: 1.5em; color: {{{titlecolor|#60add5}}}; font-weight: bold; margin-top: 2em;">{{{section30_title}}}</div><hr style="border: none; border-top: 1px solid {{{section30_color|#60add5}}}; margin: 0.5em 0;" /><div>{{{section30_text}}}</div>}} |
|||
{{#if:{{{section31_title|}}}|<div style="font-size: 1.5em; color: {{{titlecolor|#60add5}}}; font-weight: bold; margin-top: 2em;">{{{section31_title}}}</div><hr style="border: none; border-top: 1px solid {{{section31_color|#60add5}}}; margin: 0.5em 0;" /><div>{{{section31_text}}}</div>}} |
|||
{{#if:{{{section32_title|}}}|<div style="font-size: 1.5em; color: {{{titlecolor|#60add5}}}; font-weight: bold; margin-top: 2em;">{{{section32_title}}}</div><hr style="border: none; border-top: 1px solid {{{section32_color|#60add5}}}; margin: 0.5em 0;" /><div>{{{section32_text}}}</div>}} |
|||
{{#if:{{{section33_title|}}}|<div style="font-size: 1.5em; color: {{{titlecolor|#60add5}}}; font-weight: bold; margin-top: 2em;">{{{section33_title}}}</div><hr style="border: none; border-top: 1px solid {{{section33_color|#60add5}}}; margin: 0.5em 0;" /><div>{{{section33_text}}}</div>}} |
|||
{{#if:{{{section34_title|}}}|<div style="font-size: 1.5em; color: {{{titlecolor|#60add5}}}; font-weight: bold; margin-top: 2em;">{{{section34_title}}}</div><hr style="border: none; border-top: 1px solid {{{section34_color|#60add5}}}; margin: 0.5em 0;" /><div>{{{section34_text}}}</div>}} |
|||
{{#if:{{{section35_title|}}}|<div style="font-size: 1.5em; color: {{{titlecolor|#60add5}}}; font-weight: bold; margin-top: 2em;">{{{section35_title}}}</div><hr style="border: none; border-top: 1px solid {{{section35_color|#60add5}}}; margin: 0.5em 0;" /><div>{{{section35_text}}}</div>}} |
|||
{{#if:{{{section36_title|}}}|<div style="font-size: 1.5em; color: {{{titlecolor|#60add5}}}; font-weight: bold; margin-top: 2em;">{{{section36_title}}}</div><hr style="border: none; border-top: 1px solid {{{section36_color|#60add5}}}; margin: 0.5em 0;" /><div>{{{section36_text}}}</div>}} |
|||
{{#if:{{{section37_title|}}}|<div style="font-size: 1.5em; color: {{{titlecolor|#60add5}}}; font-weight: bold; margin-top: 2em;">{{{section37_title}}}</div><hr style="border: none; border-top: 1px solid {{{section37_color|#60add5}}}; margin: 0.5em 0;" /><div>{{{section37_text}}}</div>}} |
|||
{{#if:{{{section38_title|}}}|<div style="font-size: 1.5em; color: {{{titlecolor|#60add5}}}; font-weight: bold; margin-top: 2em;">{{{section38_title}}}</div><hr style="border: none; border-top: 1px solid {{{section38_color|#60add5}}}; margin: 0.5em 0;" /><div>{{{section38_text}}}</div>}} |
|||
{{#if:{{{section39_title|}}}|<div style="font-size: 1.5em; color: {{{titlecolor|#60add5}}}; font-weight: bold; margin-top: 2em;">{{{section39_title}}}</div><hr style="border: none; border-top: 1px solid {{{section39_color|#60add5}}}; margin: 0.5em 0;" /><div>{{{section39_text}}}</div>}} |
|||
{{#if:{{{section40_title|}}}|<div style="font-size: 1.5em; color: {{{titlecolor|#60add5}}}; font-weight: bold; margin-top: 2em;">{{{section40_title}}}</div><hr style="border: none; border-top: 1px solid {{{section40_color|#60add5}}}; margin: 0.5em 0;" /><div>{{{section40_text}}}</div>}} |
|||
</div> |
</div> |
||
Revision as of 20:49, May 14, 2025
Generates a newsletter block styled in the 'Amaranth Legacy' style with customizable sections, colors, font, and layout.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| title | title | Main header title text
| String | optional |
| titlesize | titlesize | CSS size for title text
| String | optional |
| subtitle | subtitle | Optional subtitle or author/timestamp slot | String | optional |
| overview | overview | Optional overview section displayed beneath subtitle | String | optional |
| leftimage | leftimage | Image on the left side of the title
| String | optional |
| rightimage | rightimage | Image on the right side of the title
| String | optional |
| font | font | CSS font-family for all text
| String | optional |
| bordercolor | bordercolor | Hex color code for border and lines
| String | optional |
| titlecolor | titlecolor | Color for the main title text
| String | optional |
| textcolor | textcolor | Color for all text
| String | optional |
| background | background | Background color of the newsletter box
| String | optional |
| glow | glow | Set to any value to enable outer glow effect
| String | optional |