Public Lab Wiki documentation

Comment templates

10 views | Last edited by warren 9 months ago | #17494

« Back to templates

Authors on 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:


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


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



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.


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

Title Updated Version Views Likes
Photo comment template 10 months ago by warren 1 5 0
UI Feedback Template 11 months ago by warren 1 17 0
Wiki Templates 12 months ago by warren 22 322 2
replication-template over 1 year ago by warren 1 100 0
Issue Brief Template over 1 year ago by stevie 5 331 3
activity-template over 1 year ago by warren 1 79 2
method-template-lite almost 2 years ago by warren 5 160 1


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

Ask a question  or help answer future questions on this topic