Form

Difference between revisions of "News"

From LRDE

Line 3: Line 3:
 
To create a page with this form, enter the page name below;
 
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.
 
if a page with that name already exists, you will be sent to a form to edit that page.
  +
  +
{{#replaceset: <News[title]> | !\[https?://[^ ]* (.*)\]!i=\1 | !\[\[.*\<nowiki>|</nowiki>(.*)\]\]!i=\1 | !\[\[.*:(.*)\]\]!i=\1 }}
   
 
{{#formlink:form=News|link text=Create news|link type=button}}
 
{{#formlink:form=News|link text=Create news|link type=button}}
   
 
</noinclude><includeonly>
 
</noinclude><includeonly>
  +
{{{info
{{{info|page name=<News[title]> (<News[date]>)<unique number>}}}
 
  +
| page name={{#replaceset: <News[title]> | !\[https?://[^ ]* (.*)\]!i=\1 | !\[\[.*\<nowiki>|</nowiki>(.*)\]\]!i=\1 | !\[\[.*:(.*)\]\]!i=\1 }} (<News[date]>)<unique number>
  +
}}}
 
<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|News}}}
 
{{{for template|News}}}

Revision as of 12:01, 17 September 2013

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

{{#replaceset: <News[title]> | !\[https?://[^ ]* (.*)\]!i=\1 | !\[\[.*\|(.*)\]\]!i=\1 | !\[\[.*:(.*)\]\]!i=\1 }}