Difference between revisions of "Issuepedia:Forms/v1/news/link"

From Issuepedia
(working... just barely.)
(table formatting now works, go figure. Also added "nametplt" parameter.)
Line 1: Line 1:
 +
<table>
 
{{#form:target=newpage|method=GET|
 
{{#form:target=newpage|method=GET|
    Date: {{#input:name=date}}<br>
+
<tr><td align=right>Date:</td><td>{{#input:name=date}}</td></tr>
    Link: {{#input:name=url|size=80}}<br>
+
<tr><td align=right>Link:</td><td>{{#input:name=url|size=80}}</td></tr>
    Topic list: {{#input:name=topics|size=80}}<br>
+
<tr><td align=right>Topic list:</td><td>{{#input:name=topics|size=80}}</td></tr>
    Link title: {{#input:name=linktitle|size=60}}<br>
+
<tr><td align=right>Link title:</td><td>{{#input:name=linktitle|size=60}}</td></tr>
    Page title: {{#input:name=pagetitle|size=60}}<br>
+
<tr><td align=right>Page title:</td><td>{{#input:name=pagetitle|size=60}}</td></tr>
    Commentary: {{#input:name=text|type=textarea}}
+
<tr><td colspan=2>Commentary:{{#input:name=text|type=textarea|rows=4}}</td></tr>
 
     {{#input:type=hidden|name=title|value=Special:CreatePage}}
 
     {{#input:type=hidden|name=title|value=Special:CreatePage}}
 
     {{#input:type=hidden|name=tpltpage|value=Template:Link.news}}
 
     {{#input:type=hidden|name=tpltpage|value=Template:Link.news}}
     {{#input:type=submit|value=Create}}
+
     {{#input:type=hidden|name=nametplt|value=<<date>> <<pagetitle>>}}
 +
<tr><td colspan=2>
 +
{{#input:type=submit|value=Preview}}{{#input:type=reset|value=-clear-}}</td></tr>
 
}}
 
}}
 +
</table>
 
* Page title can be the same as link title, or it can be simplified for a nicer-looking page URL.
 
* Page title can be the same as link title, or it can be simplified for a nicer-looking page URL.
 
* The preview will show up in a separate window or tab. If you have previously created a page from this form and not closed the window or tab, the preview will show up in the same window or tab; you may need to bring that window or tab into the foreground to see the results.
 
* The preview will show up in a separate window or tab. If you have previously created a page from this form and not closed the window or tab, the preview will show up in the same window or tab; you may need to bring that window or tab into the foreground to see the results.

Revision as of 13:35, 30 November 2007

{{#form:target=newpage|method=GET|
   {{#input:type=hidden|name=title|value=Special:CreatePage}}
   {{#input:type=hidden|name=tpltpage|value=Template:Link.news}}
   {{#input:type=hidden|name=nametplt|value=<<date>> <<pagetitle>>}}
}}
Date:{{#input:name=date}}
Link:{{#input:name=url|size=80}}
Topic list:{{#input:name=topics|size=80}}
Link title:{{#input:name=linktitle|size=60}}
Page title:{{#input:name=pagetitle|size=60}}
Commentary:{{#input:name=text|type=textarea|rows=4}}
{{#input:type=submit|value=Preview}}{{#input:type=reset|value=-clear-}}
  • Page title can be the same as link title, or it can be simplified for a nicer-looking page URL.
  • The preview will show up in a separate window or tab. If you have previously created a page from this form and not closed the window or tab, the preview will show up in the same window or tab; you may need to bring that window or tab into the foreground to see the results.