Form:Blog: Difference between revisions

152 bytes removed ,  30 December 2025
no edit summary
No edit summary
No edit summary
 
Line 3: Line 3:


To create a new blog post, enter the full page name below (e.g., "Wiki Updates/New Feature" or "Saint Reflections/Advent Joy").   
To create a new blog post, enter the full page name below (e.g., "Wiki Updates/New Feature" or "Saint Reflections/Advent Joy").   
If the page already exists, you will be sent to the form to edit it.
If the page already exists, you will be sent to the form to edit it.
{{#forminput:form=Blog|button text=Create or Edit Blog Post|placeholder=Enter full page name (e.g., Wiki Updates/My New Post)|size=60}}
{{#forminput:form=Blog|button text=Create or Edit Blog Post|placeholder=Enter full page name (e.g., Wiki Updates/My New Post)|size=60}}
[[Category:Forms]]
[[Category:Forms]]
</noinclude>
</noinclude>
Line 15: Line 14:
{{{for template|Blog}}}
{{{for template|Blog}}}
{| class="formtable"
{| class="formtable"
! Post Title ''(optional – leave blank to use page name)'':
! Post Title:
| {{{field|postTitle|input type=text}}}
| {{{field|postTitle|placeholder=Leave blank to use subpage name}}}
|-
|-
! Blog:
! Blog Category:
| {{{field|blog}}}
| {{{field|blog|default={{BASEPAGENAME}}}}}  
|-
|-
! Date:
! Date:
| {{{field|date|mandatory|input type=datetime|date format=yyyy-MM-dd|display format=mdy}}}
| {{{field|date|mandatory|input type=datepicker|display format=yyyymmdd}}}
 
|-
|-
! Author:
! Author:
| {{{field|author|mandatory}}}
| {{{field|author|mandatory|default={{USER}}}}}
 
|-
|-
! Tags ''(optional, comma-separated)'':
! Tags:
| {{{field|tags|input type=tokens|optional}}}
| {{{field|tags|input type=tokens|delimiter=,}}}
 
|-
|-
! Summary/Teaser ''(optional – shown in listings)'':
! Summary/Teaser:
| {{{field|summary|input type=textarea|rows=6|autogrow|optional}}}
| {{{field|summary|input type=textarea|rows=4|autogrow}}}
|}
|}
{{{end template}}}
{{{end template}}}


{{{standard input|summary}}}
{{{standard input|summary}}}
{{{standard input|minor edit}}}
{{{standard input|watch}}}
{{{standard input|save|label=Publish Post}}}
{{{standard input|save|label=Publish Post}}}
{{{standard input|preview}}}
{{{standard input|preview}}}
{{{standard input|changes}}}
{{{standard input|cancel}}}
{{{standard input|cancel}}}
</includeonly>
</includeonly>