Editing Help:ParserFunctions

From Homestar Runner Wiki

Jump to: navigation, search
Warning: You are not logged in. Your IP address will be recorded in this page's edit history.
This page is 31 kilobytes long.
Current revision Your text
Line 314: Line 314:
=== Template setup ===
=== Template setup ===
-
The template should consist of a simple bulleted list. A template without a list will cause an error. Each item in the list must potentially be a valid wiki title (although it doesn't necessarily have to be a valid wiki ''page''). Do not use brackets. Any invalid characters in the page name portion of a list item will cause an error.
+
The template should consist of a simple bulleted list. A template without a list will cause an error. Each item in the list must be a valid wiki title (if not a valid wiki article). Any invalid characters after the asterisk in a list item will cause an error. (Do not use brackets. Pipes are not currently supported.)
-
 
+
-
A pipe can be used to return a value other than the page name.
+
The template can have other paragraphs or explanatory text. Only list items (wherever they appear outside <code><nowiki><noinclude></nowiki></code> sections) are parsed.
The template can have other paragraphs or explanatory text. Only list items (wherever they appear outside <code><nowiki><noinclude></nowiki></code> sections) are parsed.
-
 
-
<pre>
 
-
* List of
 
-
* Page
 
-
* Names
 
-
* Page name | Return value
 
-
 
-
<noinclude>
 
-
 
-
Explanatory text.
 
-
 
-
* This list
 
-
* Will NOT be included
 
-
 
-
</noinclude>
 
-
</pre>
 
=== Examples ===
=== Examples ===

Your changes will be visible immediately. If you would like to test or practice editing, please do so in the sandbox. You are encouraged to create, expand, and improve upon articles; however, bad edits to articles are watched for and will be quickly removed.


CAPTCHA Image
Image Code:
Cancel | Editing help (opens in new window)
You are required to enter a code from an image in order to perform certain operations. This image is designed to protect the site from vandalism. If the images are too obscured to read, just give it your best shot and a new image will be shown next time. If you are visually impaired or limited to text-based browsing, you can contact the site administrator and something can be arranged. The code is not case-sensitive.

The Homestar Runner Wiki is neither owned by nor affiliated with homestarrunner.com. Much of the material presented here is copyrighted by The Brothers Chaps and/or Harmless Junk, Inc. For more information, see the legal stuff page on the official Homestar Runner website. The proprietor of this site asserts that publication of such material on the wiki qualifies as fair use under United States copyright law.

Material on this site that is not copyrighted by The Brothers Chaps (e.g. opinions and mindless chatter) is licensed to the various authors, where indicated, and is released under a Creative Commons Deed, which simply ensures that none of this information may legally be used for commercial purposes.

Personal tools