0

Are there Wiki variables other than $headline$ and $body$? It would be great if information like Created By, Edited By and various dates (created on, last edited) could be added directly to the Wiki template.

flag

1 Answer

3

When editing the template, there should be a "Learn more" link in the instructions. Clicking it will expand to the full list. For reference, here's what I have.

  • $headline$ Headline of current article
  • $body$ Content of current article
  • $url$ URL of current article
  • $home_url$ URL of wiki's home article
  • $home_headline$ Headline of wiki's home article
  • $search$ Search box that lets users search the current wiki
  • $recenturl$ URL of a search that lists all articles in this wiki edited in the past week
  • $lastmodified$ Date and time of current article's last change
  • $lastmodified_by$ Name of user who last changed current article
  • $subscribe_link$ Link allowing users to subscribe to or unsubscribe from changes to current article, including description
  • $subscribe_link_terse$ Link allowing users to subscribe to or unsubscribe from changes to current article
  • $rss_link$ Link allowing users to grab an RSS feed of current article's changes
  • $rss_url$ URL of RSS feed of current article's changes
  • $wiki_name$ Name of current article's wiki
  • $wiki_tagline$ Tagline of current article's wiki
  • $tags$ List of tags that have been applied to current article
  • $tags_vertical$ Vertical list of tags that have been applied to current article
  • $revision_number$ Latest revision number of current article
  • $incoming_links$ List of incoming links from other wiki articles and cases
  • $outgoing_links$ List of outgoing links to other wiki articles and cases
link|flag
Awesome, Ted -- don't know how I missed that link, thanks for pointing it out. – Ken Morse May 26 2010 at 17:38
I'd still like to see something like $created$ and $createdby$ to give the original author credit. – Ken Morse May 26 2010 at 17:39
I've made a note to consider including them. – Ted May 26 2010 at 18:52

Your Answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.