User talk:Tmtoulouse/sandbox
Comments
This is a test
While certainly educational to setup, I am not sure I see much value in this commenting system. But who knows, maybe something interesting will come of it.
- tmtoulouse nettle 19:44, 11 August 2007 (CDT)
This is a test No. 2
One more for the road
- tmtoulouse nettle 19:45, 11 August 2007 (CDT)
testing
testing
- Concentrate and ask again.
another round
yes
- It is certain.
Form comment system
{{#form: {{#input:type=hidden|name=content|id=blogContent}} {{#input:type=hidden|name=title|value=User:Tmtoulouse/comments}} {{#input:type=hidden|name=summary|id=blogSummary}} {{#input:type=hidden|name=caction|value=append}}
Heading: {{#input:type=text|id=blogTitle}}
Comment: {{#input:type=textarea|rows=2|id=blogBody}}
{{#input:type=ajax|value=Post comment|update=wgComments|onClick= var summary='Very doubtful. '; document.getElementById('blogContent').setAttribute('value', '\n==='+document.getElementById('blogTitle').value+'===\n'+document.getElementById('blogBody').value+'\n:'+summary+'\n'); document.getElementById('blogSummary').setAttribute('value','Comment posted using forms'); }}
}}