Form

Legislation: Difference between revisions

(Created page with "<noinclude> This is the "Legislation" 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...")
 
No edit summary
 
(30 intermediate revisions by the same user not shown)
Line 5: Line 5:




{{#forminput:form=Legislation}}
{{#forminput:form=Legislation|size=50|autocomplete on category=Legislation}}


</noinclude><includeonly>
</noinclude><includeonly>
<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|Legislation}}}
{{{for template|Legislation}}}
{| class="formtable"
! Year:
| {{{field|Year|mandatory|default=test}}}
|-
! Number:
| {{{field|Number}}}
|-
! In force:
| {{{field|In force}}}
|}
{{{end template}}}


'''Free text:'''
<div class="row">
<div class="medium-6 columns">
Free text:
{{{standard input|free text|rows=2|autogrow}}}
 
Type:
{{{field|Type|input type=radiobutton|mandatory|default=UK Public General Act}}}


{{{standard input|free text|rows=10}}}
<div class="row">
<div class="medium-6 columns">
Year:
{{{field|Year|default={{#sub:{{PAGENAME}}|-4}}|input type=year}}}
</div>
<div class="medium-6 columns">
Number: ([https://www.legislation.gov.uk/all?title={{PAGENAMEE}} search])
{{{field|Number}}}
</div>
</div>


In force (first date):
{{{field|In force}}}


{{{standard input|summary}}}
{{{standard input|summary}}}


{{{standard input|minor edit}}} {{{standard input|watch}}}
{{{standard input|save}}} {{{standard input|preview}}} {{{standard input|cancel}}}
</div>
 
<div class="medium-6 columns">
Subject:
{{{field|Subject|mandatory|input type=tokens|list}}}
 
Summary:
{{{field|Summary|input type=textarea|mandatory|rows=2|autogrow}}}
 
Detail:
{{{field|Detail|input type=textarea|rows=10|editor=wikieditor}}}
 
External links:
{{{field|External links|rows=2|autogrow}}}


{{{standard input|save}}} {{{standard input|preview}}} {{{standard input|changes}}} {{{standard input|cancel}}}
<hr/>
 
News
{{{field|News|input type=checkbox}}}
 
RSS pubdate (needed if News) <span style="font-weight:normal">{{page creation date}}</span>
<br/>{{{field|RSS pubdate|input type=datetime|default=now}}}
</div>
</div>
 
{{{end template}}}
</includeonly>
</includeonly>

Latest revision as of 22:45, 12 December 2024

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