Form:Newsletter View history

imported>Chayakra
(Created page with "<noinclude> This is the "Newsletter" form. To create a page with this form, enter the page name below; if a page with that name already exists, you will be sent to a form to e...")
 
No edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 10: Line 10:
{{{for template|Newsletter}}}
{{{for template|Newsletter}}}
== Newsletter header section ==
== Newsletter header section ==
{| class="formtable"
{| class="formtable field field-file"
! Image:  
! Image:  
| {{{field|image|uploadable|image preview|values from namespace=File}}}
|<div class="field field-file den-inner-component">{{{field|image|label=upload image|input type=tokens|class=img-src|values from namespace=File|image preview|uploadable}}}</div>
 
|-
|-
! Title:  
! Title:  
| {{{field|title|input type=text|default={{PAGENAME}}}}}
| {{{field|title|input type=text|default={{PAGENAME}}}}}
|-
! Date:
| {{{field|data|input type=datepicker}}}
|-
|-
! Content:  
! Content:  
| {{{field|content|input type=textarea|editor=wikieditor}}}
| {{{field|content|input type=textarea|editor=visualeditor}}}
|-
|-
! Additional categories (optional):  
! Additional categories (optional):  
Line 34: Line 38:
|embed in field=Newsletter[newsletterSections]
|embed in field=Newsletter[newsletterSections]
|multiple
|multiple
|display=table
}}}
}}}
{{newletterSection
{{{field|title|text|label=Section title|placeholder=Section title}}}
{{{field|image|uploadable|image preview|values from namespace=File|label=Section image}}}
{{{field|image|uploadable|input type=combobox|label=upload image|class=img-src|values from namespace=File|image preview|uploadable}}}
{{{field|title|text|label=Section title}}}
=== section content ===
{{{field|content|input type=textarea|editor=wikieditor|label=Section content}}}
{{{field|content|input type=textarea|editor=visualeditor|label=Section content}}}
{{{field|button link|input type=text|label=button link - full URL (optional)}}}
 
{{{field|button text|input type=text|label=Button text (optional)}}}
 
{{{field|button link|input type=text|label=button link - full URL (optional)|placeholder=button link - full URL (optional)}}}
{{{field|button text|input type=text|label=Button text (optional)|placeholder=Button text (optional)}}}
{{{end template}}}
{{{end template}}}
</includeonly>
</includeonly>

Latest revision as of 10:54, 23 November 2022

This is the "Newsletter" form. To create a page with this form, enter the page name below; if a page with that name already exists, you will be sent to a form to edit that page.