|
|
| Line 2: |
Line 2: |
|
| |
|
| === Create New Discussion === | | === Create New Discussion === |
| <form method="post" action="Special:CreatePage">
| | |
| <input type="hidden" name="preload" value="DiscussionPageTemplate" />
| |
| <input type="text" name="title" placeholder="Discussion Title" /><br />
| |
| <textarea name="content" placeholder="Discussion Content" rows="4" cols="50"></textarea><br />
| |
| <input type="submit" value="Create Discussion" />
| |
| </form>
| |
|
| |
|
| === Existing Discussions === | | === Existing Discussions === |
| <div class="discussion-posts">
| |
| <!-- Example of a discussion post -->
| |
| <div class="discussion-post">
| |
| <h3>Discussion Title</h3>
| |
| <p>Discussion content goes here...</p>
| |
| <!-- Reply form -->
| |
| <form method="post" action="Special:CreatePage">
| |
| <input type="hidden" name="preload" value="ReplyTemplate" />
| |
| <textarea name="content" placeholder="Your Reply" rows="4" cols="50"></textarea><br />
| |
| <input type="submit" value="Reply" />
| |
| </form>
| |
| </div>
| |
| <!-- Repeat the above structure for each discussion post -->
| |
| </div>
| |