HRFWiki2:Templates

From Homestar Runner Fanstuff Wiki 2
Jump to: navigation, search

This is a list of helpful templates you can use. Feel free to add your own templates if you feel they would benefit the wiki.

Notice Templates

These templates notify the viewer of things.

Template Use Code
{{stub}} Put this at the bottom of incomplete pages. The page will be added to the Stubs category. {{stub}}
{{delete}} Put this at the top of pages that you want deleted. The page will be added to the Pages for deletion category, notifying the sysops to delete it. {{delete|Reason}}
{{cleanup}} Put this at the top of pages that need to be cleaned up. The page will be added to the Articles needing cleanup category. {{cleanup|Reason}}
{{abandoned}} Put this at the top of fanstuff you no longer want. Use the "for sale" perameter if you want other people to have your fanstuff. {{abandoned|Your username}}
{{abandoned|Your username|for sale=yes}}
{{welcome}} Put this at the top of new users' talk pages to welcome them. {{welcome|from=Your username}}

Efficiency Templates

These templates make things easier and save time.

Template Use Code Result
{{u}} Creates a piped link to a user page, without the word "User:" appearing, so you don't have to type [[User:Username|Username]]. {{u|SRMX12}} SRMX12
{{sig}}

Puts a signature on a page, so you don't have to type {{User:Username/sig}}.
Note: For this to work, your signature needs to be located at "User:YourUsername/sig".

{{sig|SRMX12}} SRMX12 (talk)
{{l}} Creates a piped link to a subpage, so you don't have to type [[Page/Subpage|Subpage]]. {{l|Pixstar Runner|List of Artwork}} List of Artwork
{{t}} Creates a link to a template, so you don't have to type {{[[Template:name|name]]}}. {{t|stub}} {{stub}}

Visual Templates

These templates change the appearance of something, or add something visible.

Template Use Code Result
{{thumb}} Creates a thumbnail similar to the ones on the Homestar Runner Wiki. {{thumb|http://celebimail.referata.com/w/
skins/common/images/logos/HRFWiki2.png|Wiki logo}}
HRFWiki2.png
magnify-clip.png
Wiki logo
{{linkbox}} Creates a link box similar to the ones on the Homestar Runner Wiki. {{linkbox|www.homestarrunner.com|watch}} watch
{{box}} Creates a text box with adjustable parameters. {{box|bkgd=yellow|border size=2|border=orange|width=50%|roundy=10|text=This is a text box}}
This is a text box
{{e}} Creates an emoticon. {{e|hr}} DaeQMkWDzSBDqrtkDFsL.png
{{big}} Enlarges text. {{big|Text}} Text

Miscellaneous Templates

These templates don't fit into the other categories.

Template Use Code Result
{{yearssince}} Calculates how many years have passed since a certain time. The original book was written {{yearssince|July 1996}} years ago. The original book was written 23 years ago.
{{!}} Use it in place of a vertical pipe when a regular one would be interpreted as a control character (for example, in other templates, parser functions, tables, etc.). [[Main Page{{!}}HRFWiki2]] HRFWiki2