Public Lab Wiki documentation



Power Tags

This is a revision from August 23, 2015 16:24. View all revisions
15 | 75 | | #9898

« Back to Authoring Help

Power tags are an advanced feature which can add extra functions and layout options to your wiki pages (and sometimes research notes). They are entered like regular tags but follow the format key:value. After adding a power tag, you must refresh the page.

To add tags, look for this box at the bottom of a wiki page or research note:

tags.png

General power tags

  • events:foo displays a listing of research notes tagged with "event" and "foo", and a link to post new notes with those tags in the left sidebar.
  • sidebar:featured displays "featured" links and images in the sidebar instead of the usual "related content"
  • style:presentation hides the wiki toolbar (with Edit, Talk, Revisions) for more formal pages
  • style:wide removes the 800px width limit from wiki pages, and allows them to flow full page
  • style:fancy is used to style articles from the GrassrootsMappingForum
  • parent:foo adds a bar that links back to a parent wiki page
  • with:username adds a co-author to your research note with a live link to the user's profile page, however, the note itself will not show up under that user's profile.
  • lang:es or iso:es is the way to indicate language in a research note or event. In this example, es indicates Spanish.

List of power tags useful for chapter pages:

  • lat:41.023 and lon:-71.023 latitude and longitude. Together with the simple tag "chapter", the combination of these three tags will create a point for your chapter on the Places map
  • events:foo displays a listing of research notes tagged with "event" and "foo", and a link to post new notes with those tags in the left sidebar. Especially useful where foo = the name of your chapter page.
  • list:foo displays recent posts from a Google Group with the name "foo" and a subscription input box
  • tabbed:notes and tabbed:wikis display a tabbed header which offers tabs with links of related research note and wiki content
  • notes:foo displays 4 recent "popular" research notes tagged "foo" (in grid view, popular means >20 views) at the top of the page, under the tabs if they exist. For example see [Gulf Coast](/wiki/gulf-coast]
  • parent:foo adds a bar that links back to a parent wiki page, especially useful for places within regions

Automated power tags, not for manual adding

You might see some of these being generated automatically, like when checking the box for a Research Note to be an "Event" or a "question" or when awarding Barnstars to someone's Research Note. Don't manually add these:

  • event:rsvp date:YYYY-MM-DD rsvp:username
  • barnstar:barnstarname
  • question:foo response:foo