Form:UserPage: Difference between revisions

From Jcastle.info
No edit summary
No edit summary
 
(10 intermediate revisions by the same user not shown)
Line 4: Line 4:
if a page with that name already exists, you will be sent to a form to edit that page.
if a page with that name already exists, you will be sent to a form to edit that page.


{{#forminput:form=UserPage|autocomplete on category=User Pages|namespace=User|super_page={{CURRENTUSER}}}}
 
{{#forminput:form=UserPage|autocomplete on category=User Pages|namespace=UserWiki|super_page={{CURRENTUSER}}}}


</noinclude><includeonly>
</noinclude><includeonly>
Line 10: Line 11:
<div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div>
<div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div>
{{{for template|UserPageInfo}}}
{{{for template|UserPageInfo}}}
{{{field|User Name|hidden|default={{CURRENTUSER}} }}}
{| class="formtable"
 
! PageTitle:
==Article==
| {{{field|PageTitle|input type=text}}}
{{{field|UserPageBody|input type=textarea|rows=5|autogrow|editor=}}}
|-
 
! UserPageBody:
| {{{field|UserPageBody|input type=textarea|size=20|autogrow=}}}
|-
! AuthorName:
| {{{field|AuthorName|hidden|default={{CURRENTUSER}} }}}
|-
! PubDate:
| {{{field|PubDate|input type=datepicker
|date format=yy/mm/dd}}}
|}
{{{end template}}}
{{{end template}}}



Latest revision as of 21:30, 1 July 2017

This is the "UserPage" 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.