Difference between revisions of "Issuepedia:Forms/v2/blog/post"
< Issuepedia:Forms | v2 | blog
Jump to navigation
Jump to search
(saving to prevent work loss; not tested) |
(title-prefix; some clarifications) |
||
Line 1: | Line 1: | ||
− | {{#vardefine:timestamp|{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY2}} {{CURRENTTIME}}}} | + | <!-- {{#vardefine:timestamp|{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY2}} {{CURRENTTIME}}}} --> |
<table> | <table> | ||
{{#form:target=blogpost|method=GET| | {{#form:target=blogpost|method=GET| | ||
− | <tr><td align=right>Time stamp:</td><td>'''{{#var:timestamp}}''' | + | <!-- <tr><td align=right>Time stamp:</td><td>'''{{#var:timestamp}}'''{{#input:type=hidden|name=timestamp|value={{#var:timestamp}}}}</td></tr> --> |
+ | <tr><td align=right>Posting under:</td><td>'''{{{title-prefix|''no prefix; posting as regular wiki page''}}}'''</td></tr> | ||
<tr><td align=right>Post title:</td><td>{{#input:name=pagetitle|size=60}}</td></tr> | <tr><td align=right>Post title:</td><td>{{#input:name=pagetitle|size=60}}</td></tr> | ||
<tr><td align=right>User topic list:</td><td>{{#input:name=topics-user|size=80}}</td></tr> | <tr><td align=right>User topic list:</td><td>{{#input:name=topics-user|size=80}}</td></tr> | ||
Line 11: | Line 12: | ||
{{#input:type=hidden|name=user|value={{#user:}}}} | {{#input:type=hidden|name=user|value={{#user:}}}} | ||
{{#input:type=hidden|name=tpltpage|value=Template:blog.post.gen}} | {{#input:type=hidden|name=tpltpage|value=Template:blog.post.gen}} | ||
− | {{#input:type=hidden|name=nametplt|value=<<timestamp>> <<pagetitle>>}} | + | {{#input:type=hidden|name=nametplt|value={{{title-prefix}}}<<timestamp>> <<pagetitle>>}} |
<tr><td colspan=2> | <tr><td colspan=2> | ||
{{#input:type=submit|value=Preview}}{{#input:type=reset|value=-clear-}}</td></tr> | {{#input:type=submit|value=Preview}}{{#input:type=reset|value=-clear-}}</td></tr> | ||
Line 17: | Line 18: | ||
</table> | </table> | ||
* "topic lists" should look like this: \a topic\another topic\third topic\and so on | * "topic lists" should look like this: \a topic\another topic\third topic\and so on | ||
− | ** You can use whatever character you want as a divider; the first character in the list | + | ** You can use whatever character you want as a divider; the first character in the list becomes the divider. |
− | ** Topics in the "user topic list" will be prefixed with | + | ** Topics in the "user topic list" will be prefixed with your username, to distinguish them from global topics (which are common to the entire wiki) |
* "above the fold" text will appear in summaries/compilations and eventually in the RSS feed (when RSS is implemented); "below the fold" generally only appears when you look at the actual posting page. | * "above the fold" text will appear in summaries/compilations and eventually in the RSS feed (when RSS is implemented); "below the fold" generally only appears when you look at the actual posting page. | ||
* If you want the post to replace the form window instead of showing up in a new window/tab, remove "target=blogpost|" from the 3rd line | * If you want the post to replace the form window instead of showing up in a new window/tab, remove "target=blogpost|" from the 3rd line |
Revision as of 23:42, 24 June 2008
{{#form:target=blogpost|method=GET|
{{#input:type=hidden|name=title|value=Special:CreatePage}} {{#input:type=hidden|name=user|value={{#user:}}}} {{#input:type=hidden|name=tpltpage|value=Template:blog.post.gen}} {{#input:type=hidden|name=nametplt|value={{{title-prefix}}}<<timestamp>> <<pagetitle>>}}}}
Posting under: | no prefix; posting as regular wiki page |
Post title: | {{#input:name=pagetitle|size=60}} |
User topic list: | {{#input:name=topics-user|size=80}} |
Global topic list: | {{#input:name=topics-global|size=80}} |
Above the fold:{{#input:name=text-above|type=textarea|rows=3}} | |
Below the fold:{{#input:name=text-below|type=textarea|rows=20}} | |
{{#input:type=submit|value=Preview}}{{#input:type=reset|value=-clear-}} |
- "topic lists" should look like this: \a topic\another topic\third topic\and so on
- You can use whatever character you want as a divider; the first character in the list becomes the divider.
- Topics in the "user topic list" will be prefixed with your username, to distinguish them from global topics (which are common to the entire wiki)
- "above the fold" text will appear in summaries/compilations and eventually in the RSS feed (when RSS is implemented); "below the fold" generally only appears when you look at the actual posting page.
- If you want the post to replace the form window instead of showing up in a new window/tab, remove "target=blogpost|" from the 3rd line