Form:Blog: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 2: Line 2:
This is the "Blog" form for adding or editing blog posts on the wiki, using [[Template:Blog]] and storing structured data in the BlogPosts Cargo table.
This is the "Blog" form for adding or editing blog posts on the wiki, using [[Template:Blog]] and storing structured data in the BlogPosts Cargo table.


To create a new blog post, enter the full page name below (e.g., "Catholic Online/Advent Reflection 2025" or "Personal Blog/My Journey").   
To create a new blog post, enter the full page name below (e.g., "Wiki Updates/New Blog System Launched" or "Personal Blog/Advent Reflection 2025").   
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., Portal:Blog/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]]
Line 15: Line 15:
{{{for template|Blog}}}
{{{for template|Blog}}}
{| class="formtable"
{| class="formtable"
! Display Title ''(optional – leave blank to use page name)'':
| {{{field|title|input type=text}}}
|-
! Date:
! Date:
| {{{field|date|mandatory|input type=datetime|date format=yyyy-MM-dd|display format=mdy}}}
| {{{field|date|mandatory|input type=datetime|date format=yyyy-MM-dd|display format=mdy}}}
Line 30: Line 34:
| {{{field|summary|input type=textarea|rows=6|autogrow|optional}}}
| {{{field|summary|input type=textarea|rows=6|autogrow|optional}}}
|}
|}
{{{end template}}}{{{standard input|summary}}}{{{standard input|minor edit}}}{{{standard input|watch}}}{{{standard input|save|label=Publish Post}}}{{{standard input|preview}}}{{{standard input|changes}}}{{{standard input|cancel}}}</includeonly>
{{{end template}}}
 
{{{standard input|summary}}}
{{{standard input|minor edit}}}
{{{standard input|watch}}}
 
{{{standard input|save|label=Publish Post}}}
{{{standard input|preview}}}
{{{standard input|changes}}}
{{{standard input|cancel}}}
</includeonly>