Form:BlogPost: Difference between revisions

From ProWiki - Demo and Test Wiki

No edit summary
mNo edit summary
Tag: Manual revert
 
(7 intermediate revisions by the same user not shown)
Line 6: Line 6:
[[Category:Form]]
[[Category:Form]]
</noinclude><includeonly>
</noinclude><includeonly>
{{{info|page name=<BlogPost[title]>}}}
<div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #aaa;"></div>
<div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #aaa;"></div>
{{{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>

Latest revision as of 13:36, 28 November 2023

This is the "Blog Post" form.

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