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

From Issuepedia
(preliminary save; not tested yet)
 
(working... just barely.)
Line 1: Line 1:
{{#form:target=newpage|
+
{{#form:target=newpage|method=GET|
 
     Date: {{#input:name=date}}<br>
 
     Date: {{#input:name=date}}<br>
 
     Link: {{#input:name=url|size=80}}<br>
 
     Link: {{#input:name=url|size=80}}<br>
 
     Topic list: {{#input:name=topics|size=80}}<br>
 
     Topic list: {{#input:name=topics|size=80}}<br>
 
     Link title: {{#input:name=linktitle|size=60}}<br>
 
     Link title: {{#input:name=linktitle|size=60}}<br>
 +
    Page title: {{#input:name=pagetitle|size=60}}<br>
 
     Commentary: {{#input:name=text|type=textarea}}
 
     Commentary: {{#input:name=text|type=textarea}}
 
     {{#input:type=hidden|name=title|value=Special:CreatePage}}
 
     {{#input:type=hidden|name=title|value=Special:CreatePage}}
     {{#input:type=submit|value=Create|update=result}}
+
    {{#input:type=hidden|name=tpltpage|value=Template:Link.news}}
 +
     {{#input:type=submit|value=Create}}
 
}}
 
}}
 +
* 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.

Revision as of 03:31, 25 November 2007

{{#form:target=newpage|method=GET|

   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}} {{#input:type=hidden|name=title|value=Special:CreatePage}} {{#input:type=hidden|name=tpltpage|value=Template:Link.news}} {{#input:type=submit|value=Create}}

}}

  • 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.