Form

Legislation: Difference between revisions

No edit summary
No edit summary
 
(29 intermediate revisions by the same user not shown)
Line 10: Line 10:
<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}}}
'''Free text:'''
 
<div class="row">
<div class="medium-6 columns">
Free text:
{{{standard input|free text|rows=2|autogrow}}}
{{{standard input|free text|rows=2|autogrow}}}
{| class="formtable"
|-
! Subject:
| {{{field|Subject|input type=tokens|list|values from category=Legislation}}}
|-
! Type:
| {{{field|Type|input type=tokens}}}
|-
! Year:
| {{{field|Year|input type=tokens}}}
|-
! Number:
| {{{field|Number}}}
|-
! In force [first date]:
| {{{field|In force}}}
|-
! Summary:
| {{{field|Summary|input type=textarea|mandatory|rows=2|autogrow}}}
|-
! Detail:
| {{{field|Detail|rows=2|autogrow}}}
|-
! External links:
| {{{field|External links|rows=2|autogrow}}}


Type:
{{{field|Type|input type=radiobutton|mandatory|default=UK Public General Act}}}
<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|save}}} {{{standard input|preview}}} {{{standard input|cancel}}}
</div>


|}
<div class="medium-6 columns">
{{{end template}}}
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}}}


<hr/>


{{{standard input|summary}}}
News
{{{field|News|input type=checkbox}}}


{{{standard input|minor edit}}} {{{standard input|watch}}}
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>


{{{standard input|save}}} {{{standard input|preview}}} {{{standard input|changes}}} {{{standard input|cancel}}}
{{{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.