The Wikibender's Guide - Basic Templates and Tools
| | Your Majesty, this is nothing more than… a construction project.
This page is under construction. Please contribute in helping this page. |
This is different from most of my help pages in that it is a compilation of minor features. These(in my opinion) are some of the more useful templates and tools on the wiki. If you need any help you can write on my message wall and I will try and help in anyway I can. Also if you have anything to add to the page or if you see an error I would appreciate it if you would let me know.
Contents |
Pagename
Edit
This template will always display the pagename of whatever page it is on. Even if the name of page is changed it will automatically change itself to whatever the pagename is.
{{PAGENAME}}
Age
Edit
- Main article: Template:Age
The age template will automatically calculate your age based on the date you enter in the template. On the date entered it will update itself to be current. The template format is below.
{{age|<year>|<month>|<day>}}
Username
Edit
- Main article: Template:USERNAME
This template will display the user name of whatever user is viewing it. It is commonly used for greetings on user pages.
For the above I typed...
{{USERNAME}}
It can also be used to link to the user page of whatever user is viewing it.
For the above I typed...
[[Special:Mypage|{{USERNAME}}]]
User
Edit
- Main article: Template:User
This template is used to link to user pages without needing a to type out the full hyperlink
Below is a basic user template.
For the above I typed...
{{user|Example}}
Below is a user template with a replacement name.
For the above I typed...
{{user|Example|ExampleUser}}
Below is a user template without the information already entered in it.
{{user|<name of user page without "User:" prefix>}}
Userlinks
Edit
- Main article: Template:Userlinks
The userlinks template shows the user page, talk page, contributions, edit count and logs of a user. It is similar to the vandal template in that it is used for convenience and links to main information about a user.
Below is a userlinks template with a fictional username for example.
Example (wall · contribs · editcount · logs)
For the above I typed...
{{userlinks|Example}}
Vandal
Edit
- Main article: Template:Vandal
This template is used for convenience when determining if someone has been vandalizing the wiki. It shows the user page, talk page, contributions, deleted contributions, logs, and block log of a user suspected of unconstructive activity. You might want to use this when reporting someone to an admin.
User (wall · contribs · deleted contribs · block log · block)
For the above I typed...
{{vandal|User}}
Support
Edit
This template is used to show support for something. It is most often used when something goes to a vote.
Support —
For the above I typed...
{{support}}
Oppose
Edit
This template is used to show opposition for something. It is most often used when something goes to a vote.
![]()
![]()
![]()
For the above I typed...
{{oppose}}
Neutral
Edit
This template is used to show neutral opinion on something. It is most often used when something goes to a vote.
![]()
![]()
![]()
For the above I typed...
{{neutral}}
Done
Edit
This can quickly show that something has been done. It is sometimes used to accept a request.
For the above I typed...
{{done}}
Not Done
Edit
This can quickly show that something has not been done. It is sometimes used to reject a request.
For the above I typed...
{{not done}}
Gradient
Edit
- Main article: Template:Gradient
A gradient template creates a gradient background behind an assigned text in a maximum of three colors.
For the above I typed...
<div style="{{gradient|#008080|#00FF00|horizontal|#00FFFF|50%}}">Example Text</div>
Below is a gradient template without the information already entered in it.
<div style="{{gradient | #start color | #end color | [orientation] | [stop color [| stop position]]}}">Text</div>
start color - Mandatory. The start color of the gradient in CSS notation.
end color - Mandatory. The end color of the gradient in CSS notation.
orientation - Optional. horizontal (default) or vertical, or specify start point: left, top, right or bottom.
stop color - Optional. Intermediate color between the start and end color.
stop position - Optional. Position of the stop color between 0% and 100%. Default is 50%.
Additional Resources
Edit
Many of these can be found in Help:Index and Category:Utility_templates.
| v - dThe Wikibender's Guide | |
|---|---|
| Customized Text • Userboxes • Custom Userboxes • Infoboxes • Tables | |
| Basic Templates and Tools • Custom Signatures | |