Recent Changes for "Help with Macros" - Sycamore Wikihttp://www.projectsycamore.org/Help_with_MacrosRecent Changes of the page "Help with Macros" on Sycamore Wiki.en-us Help with Macroshttp://www.projectsycamore.org/Help_with_Macros2006-05-31 04:00:42PhilipNeustrom <div id="content" class="wikipage content"> Differences for Help with Macros<p><strong></strong></p><table> <tr> <td> <span> Deletions are marked with - . </span> </td> <td> <span> Additions are marked with +. </span> </td> </tr> <tr> <td> Line 1: </td> <td> Line 1: </td> </tr> <tr> <td> </td> <td> <span>+ Macros are ''magic'' things you insert into a page to perform some special function. They look {{{[[LikeThis]]}}}.<br> + <br> + == Macros available ==<br> + * {{{[[Anchor(anchorname)]]}}} --- defines an anchor. Use {{{[#anchorname Link Text]}}} to jump to said anchor. Note that ''everything'' is case senstive and that the anchor is defined with double brackets {{{[[]]}}} but called with single {{{[]}}} brackets.<br> + * {{{[[Comments]]}}} --- comments box that just says "Comments"<br> + * {{{[[Comments(Leave your comments here)]]}}} --- makes a comments box, but with text other than "Comments", like at the bottom of this page.<br> + * {{{[[Date]]}}} --- current date, e.g. [[Date]] '''Note''': These macros are not really relevant on Davis Wiki. They are useful when you want to write a time relative to different timezones.<br> + * {{{[[Date(1)]]}}} --- tomorrow's date (I guess), e.g. [[Date(1)]]<br> + * {{{[[DateTime]]}}} --- current date/time: [[DateTime]]<br> + * {{{[[FootNote(This is the footnote text)]]}}} --- creates a Footnote [[FootNote(This is the footnote text)]]<br> + * {{{[[FootNote]]}}} --- lists the page's footnotes (footnotes appear at the bottom of the page if {{{[[FootNote]]}}} isn't used)<br> + * {{{[[heart]]}}} --- creates a [[heart]]<br> + * {{{[[Image(image_name.jpg, thumbnail, noborder, left/right, "Caption including ["Wiki" links]")]]}}} --- see ["Help with Images"]<br> + * {{{[[Include(pagename)]]}}} -- Includes the contents of page pagename into the current page. People have been using the following, as well:<br> + * {{{[[LinksHere]]}}} provides a list of pages that link to the current page<br> + * {{{[[[LinksHere(pagename)]]}}} provides list of pages that link to an arbitrary wiki page<br> + * {{{[[MailTo(somebody AT yahoo DOT com)]]}}} --- obscures an email address (sort of) from people who aren't logged in (like those harvesting email addresses for spam), looks like [[MailTo(somebody AT yahoo DOT com)]] to you. See [http://moinmoin.wikiwikiweb.de/HelpOnMacros/MailTo MoinMoin's page on MailTo].<br> + * {{{[[PageCount]]}}} How many pages are in the wiki? [[PageCount]]; that's how many.<br> + * {{{[[paypal]]}}} --- "Make a Donation" paypal button<br> + * {{{[[RandomPage(n)]]}}} --- where n is a number of links to randomly selected wiki pages<br> + * {{{[[RandomQuote(pagename)]]}}} --- also works for random images. The page that this references should just be a list of whatever you want to randomly select. See ["Photography"] for an example.<br> + * {{{[[Stats(Username)]]}}}<br> + * {{{[[stop]]}}} -- creates a box to link it to a "/Talk" page. Used when there is a big dispute among ["Wikivangelists" users] on the content of a page.<br> + * {{{[[SystemInfo]]}}} is disabled.<br> + * {{{[[TableOfContents]]}}} creates a table of contents based on the {{{= title =}}} headers on the page. It indents based on the number of equal signs.<br> + <br> + = Style and Formatting "Macros" =<br> + * {{{[[BR]]}}} --- force a hard return (but trouble when formatting near images and thumbnails)<br> + * {{{[[nbsp]]}}} --- adds a single blank space.</span> </td> </tr> </table> </div>