Form:BlogPost: Difference between revisions

From ProWiki - Demo and Test Wiki

No edit summary
No edit summary
(6 intermediate revisions by the same user not shown)
Line 9: Line 9:
{{{for template|BlogPost}}}
{{{for template|BlogPost}}}
{| class="formtable"
{| class="formtable"
! Author
|  {{{field|author|input type=dropdown|values from namespace=User}}}
|-
|-
! Title
! Title
| {{{field|title|maxlength=100}}}
| {{{field|title|maxlength=100|size=100}}}
|-
|-
! Subtitle
! Introduction
| {{{field|subtitle|maxlength=100}}}
| {{{field|intro|input type=textarea|rows=3|maxlength=250|size=250|autogrow}}}
|-
|-
! Date
! Date
| {{{field|date|input type=datepicker}}}
| {{{field|date|input type=datepicker|default=now}}}
|}
|}
'''Content'''
'''Content'''
{{{field|content|input type=textarea|editor=wikieditor|placeholder=Write your blog post here}}}
{{{field|content|input type=textarea|editor=wikieditor|placeholder=Write your blog post here|rows=10}}}
{{{end template}}}
{{{end template}}}
</includeonly>
</includeonly>

Revision as of 13:33, 28 November 2023

This is the "Blog Post" form.

To create a new post, visit the your blog or create it first.