|
|
(115 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
| {{RightToC}}
| | #REDIRECT [[Help:Wiki Templates]] |
| {{Related|[[Page Templates]]|[[Wiki Markup Reference]]}}
| |
| | |
| List of wiki templates that are used in formatting areas/items that recur frequently across different pages. Some templates are simple and do not require any parameters while others do. A more [[Wiki Templates#Parameters|complete description]] is given below.
| |
| | |
| == List of Templates ==
| |
| ''More information for each template can be found by clicking on the template name.''
| |
| === Table of Contents ===
| |
| * [[Template:LeftToC|<nowiki>{{LeftToC}}</nowiki>]] - Table of contents appears on left side with text wrapping along the right.
| |
| * [[Template:RightToC|<nowiki>{{RightToC}}</nowiki>]] - Table of contents appears on right side with text wrapping along the left.
| |
| | |
| === Navigation ===
| |
| * [[Template:Related|<nowiki>{{Related}}</nowiki>]] - List of related topics, replaces "See also" links. For one to twenty links.
| |
| * [[Template:Patch Navigation Links|<nowiki>{{Patch Navigation Links}}</nowiki>]] - Group of links that navigates to next, previous, and all patches.
| |
| * [[Template:Announcements Navigation Links|<nowiki>{{Announcements Navigation Links}}</nowiki>]] - Group of links that navigate to next, previous, and all announcements.
| |
| | |
| === Quotations ===
| |
| * [[Template:Quotation|<nowiki>{{Quotation}}</nowiki>]]
| |
| * [[Template:Turbine Developer|<nowiki>{{Turbine Developer}}</nowiki>]]
| |
| | |
| == Parameters ==
| |
| A parameter, or argument, is information that the template needs to complete its job. If a parameter is required, you must include it, if it is optional you can omit it if it doesn't apply. For example if someone gives you a to do list, the purpose of the list is clear, you are supposed to do the items on the list. But for any given list, the items will differ. A template that requires parameters is the same idea. Since a to do list can be very long, the template might include 30 option parameters, meaning you could have a list from zero to thirty items long. Parameters are separated with single pipes ( | ). Here's an example of formatting a to do list with three items using the fictional ToDoList template:
| |
| | |
| <pre>
| |
| {{ToDoList|Buy milk.|Return videos.|Wash car.}}
| |
| </pre>
| |
| | |
| How the list is formatted will depend on exactly how the actual template is setup, but here is one possibility:
| |
| | |
| <div style="background-color:#E0E0E0; border:2px solid #C0C0C0;width:50%;padding:30px;margin-bottom:20px;margin-left:10%;margin-right:40%;">
| |
| <font color=#000000><big>'''To Do List'''</big>
| |
| ----
| |
| # Buy milk.
| |
| # Return videos.
| |
| # Wash car.
| |
| </font></div>
| |
| | |
| [[Category:Help]]
| |