Public Lab Wiki documentation



Comment templates

This is a revision from November 08, 2018 22:16. View all revisions
1 | 3 | | #17494

« Back to templates

Authors on PublicLab.org can add a tag to pages to insert a text template into the commenting text input box. This can be useful when soliciting input on an idea, such as in a call for feedback, or a survey.

How it works

First, create a wiki page named ______-template where ______ is something unique.

Once it's saved, go to the page (a note or question page, or blog -- wiki page comments don't have this yet) and add a tag to that page using the name of your template:

comment-template:________

So if your page were created as /wiki/2018-community-survey-template, your template tag would be:

comment-template:2018-community-survey-template

Once you've done this, reload the page and you should see your template appear!

image.png

Advanced

Sometimes you want text that is visible to the commenter as they're writing it, but doesn't appear in the final comment. You can put text in carets in this format, and it'll be hidden once it's posted:

<!-- this text won't appear in the final comment -->

The format of the <!-- and --> are very specific, and if you don't follow this pretty exactly, the text may not be hidden.


Examples

Here are some examples of templates for various purposes (some for pages, not comments):

Title Updated Version Views Likes
Issue Brief Template about 4 years ago by liz 6 1,410 2
Editor Bug Report Template over 4 years ago by asoamarachi 2 174 2
Wiki Templates over 5 years ago by warren 23 7,044 3
Txbr-zine-template almost 6 years ago by warren 1 187 0
Photo comment template about 6 years ago by warren 1 187 0
UI Feedback Template over 6 years ago by warren 1 230 0
replication-template almost 7 years ago by warren 1 250 0
activity-template about 7 years ago by warren 1 287 1
method-template-lite about 7 years ago by warren 5 963 1
Method template almost 8 years ago by warren 36 434 2

Questions

Title Author Updated Likes Comments
Nothing yet on the topic "comment-templates" -- be the first to post something!