Help:Wiki Templates: Difference between revisions
Line 30: | Line 30: | ||
* {{tl|Related}} - List of related topics. For one to twenty links. | * {{tl|Related}} - List of related topics. For one to twenty links. | ||
* {{tl|Skills}} - Table listing of skills by category. | * {{tl|Skills}} - Table listing of skills by category. | ||
* {{tl|Trivia Links}} - Links for the main trivia pages. | |||
=== Quotations === | === Quotations === |
Revision as of 20:59, 31 January 2016
Related topics: Page Templates, Wiki Markup Reference, Help:Template
List of wiki templates that are used in formatting areas/items that recur frequently across different pages. Their purpose is two-fold, to make using advanced formatting simpler and to allow formatting changes in the future with a single edit (so you don't have to go back and reedit all the pages that use the template). Templates are not only convenient, but they can also "force" a useful uniformity. Some templates are simple and do not require any parameters but most do. If you're new to the term parameter or argument passing in general, see Help:Template for more information.
Unlike the templates listed here, Page Templates are copies of the basic wiki markup code for an entire page and include large areas where unique information is inserted (for example the walkthough on a quest guide). The templates listed here are self-contained, small, and only the specified parameters can be used. Page templates usually contain one or more wiki templates within them, but it is rare for a wiki template to be sufficient to cover the content of an entire page. An analogy would be page templates are like the blue prints of a house, wiki templates are like the lumber and materials, and unique content is like the furniture and people. Also an important technical difference is content using a wiki template looks up the template each time the page is accessed and will reflect the most current version of the template. This is not true for page templates, the content pages do not change if the page template is changed and must be updated manually.
Note: Wikipedia and many other wikis use lower case or first letter upper case (e.g., "Wiki templates" or "wiki templates") in naming articles, templates, images, etc. However due to the specialized nature of ACC Wiki wherein it holds only content related to Asheron's Call, title case is the default for naming because that is what is used in game.
List of Templates
More information for each template can be found by clicking on the template name.
Maps
- {{Spawn Map}} - Formats preexisting map of spawn locations. See Spawn Map for additional information.
- {{Map Point}} - Displays a location on a small map of Dereth given specific coordinates, up to 4 points can be displayed on the same map.
- {{Map Point Plus}} - Displays locations on a large map of Dereth given specific coordinates. The markers on the map can be individually customized for each point, including a popup description which will link to the article of the same name.
Table of Contents
- {{LeftToC}} - Table of contents appears on left side with text wrapping along the right.
- {{RightToC}} - Table of contents appears on right side with text wrapping along the left.
- {{Exemplar ToC}} - Floats an exemplar image and Table of Contents on the right (text will wrap on the left).
- {{Aerbax's Prodigal Quest Links}} - Links for the Aerbax prodigal quest line.
- {{Announcements Navigation Links}} - Group of links that navigate to next, previous, and all announcements.
- {{Currency Links}} - Navigation bar of links to each type of currency.
- {{Elemental Links}} - Link table to the various elemental pages.
- {{Patch Announcements Links}} - Formats links to current, original, and archived pages.
- {{Patch Navigation Links}} - Group of links that navigates to next, previous, and all patches.
- {{Related}} - List of related topics. For one to twenty links.
- {{Skills}} - Table listing of skills by category.
- {{Trivia Links}} - Links for the main trivia pages.
Quotations
- {{Turbine Developer}} - Quote block for a Turbine Developer comment.
Archive of Printed Materials
See Printed Materials for examples.
- {{Printed Material}} - for use with archives of various printed materials.
Archive of Internet Article
See Archive of Internet Article Template for examples.
- {{Turbine 2013}} - Archived internet articles from Turbine's website following the redesign in February 2013 (asheronscall.com)
- {{Turbine 2008}} - Archived internet articles from Turbine's website between the redesigns in August 2008 and February 2013 (ac.turbine.com)
- {{Turbine 2005}} - Archived internet articles from Turbine's website between the redesigns in May 2005 and August 2008 (ac.turbine.com).
- {{Turbine 2003}} - Archived internet articles from Turbine's new website between 2003 and the redesign in April 2005 (ac.turbinegames.com).
- {{Microsoft Games Insider}} - Archived internet articles from Microsoft Games (microsoftgamesinsider.com).
- {{Microsoft Games}} - Archived internet articles from Microsoft Games (microsoft.com/games/zone/asheronscall/).
- {{Microsoft Zone}} - Archived internet articles from the Microsoft Zone (zone.com/asheronscall/).
- {{Zogblaster}} - Archived internet articles from Turbine's pre-release pages before Nov 1999 (zogblaster.com/tweb/asherons-call/).
Elements
Rudimentary components used within many other templates/types of pages.
- {{!}} - Alias for a pipe ( | ) when used within a parameter list for a wiki template.
- {{!-}} - Alias for a pipedash ( |- ) when used within a parameter list for a wiki template.
- {{=}} - Alias for an equals sign ( = ).
- {{Icon}} - Displays Icon, enforces Naming Conventions, sets the Icon popup caption to the item name rather than the full image file name, and links the icon itself to the item rather than the icon's image page.
- {{Locations}} - Creates a whatlinkshere link for creatures and items, for use in the Notes section.
- {{nobr}} - Format a block of text/images so that they will not line break, useful in tables also.
- {{Notes}} - Superscript links for up to 10 other pages or web addresses. Used at the end of a sentence to refer to supporting materials. Footnotes are a more robust solution.
- {{Post}} - Formatting for an individual post with indenting, can be used on talk pages or the Forum.
- {{Sold By}} - Creates a whatlinkshere link for items that are sold by one or more vendors, for use in the Notes section (use even when a single vendor since it will automatically update if more vendors are added in the future).
- {{Strip}} - Remove (trim) leading and trailing white space from a variable.
- {{tl}} - Links to a wiki template showing the name surrounded by curly braces, for use on instructional/help pages.
- {{mtl}} - Nonlink for a wiki template showing the name surrounded by curly braces (used as a parameter that will be turned into a link, such as for {{Related}}.
Page Template Related
Templates that are designed for use on specific Page Templates.
- {{Armor}} - Stats panel and live shot for armor (includes clothing, robes, and shields) as part of the Armor Template.
- {{Calculate PXP}} - Widget to calculate xp % of a given level.
- {{Crafter Item}} - Row within a Crafter Table, part of the Shopkeeper NPC Template.
- {{Crafter Table}} - Table of items accepted for xp or items by a Crafter, part of the Shopkeeper NPC Template.
- {{Crafting Recipe}} - Creates a recipe for crafting. Part of the Crafting Template
- {{Creature}} - Table for individual creature stats. This is a component template and requires additional material for a complete page (Creature Template).
- {{Creature Class}} - Icon image and link to a creature class.
- {{Dungeon Maps}} - Row within a Dungeon Table, part of the Quest Guide Template.
- {{Dungeon Summary}} - Summary table and live shot as part of the Individual Dungeon Template.
- {{Dungeon Table}} - Table of quest related dungeons and any available maps, part of the Quest Guide Template.
- {{Dyed Variations}} - Template to construct a table to present different dyed variations of armor and clothing.
- {{Housing Item}} - Stats panel and live shot as part of the Housing Item Template.
- {{Intro}} - List of patch introduced, related quests, and patches updated.
- {{Item Drops}} - Displays a bulleted list item linking to creatures that drop a particular item, used in the Notes section of of various item sub-category Templates.
- {{Item Table}} - Displays a bulleted list of items in a borderless table four across with their icons.
- {{Item Table Three}} - Displays a bulleted list of items in a borderless table three across with their icons.
- {{Item Table Two}} - Displays a bulleted list of items in a borderless table two across with their icons.
- {{Inventory Item}} - An item within an Inventory Table (icon, name and price).
- {{Inventory Table}} - Used on Shopkeeper NPC pages to list the items sold by the shopkeeper (icon, name, and price).
- {{Magic Caster}} - Stats panel and live image as part of the Magic Caster Template.
- {{Melee Weapon}} - Stats panel and live image as part of the Melee Weapon Template.
- {{Missile Weapon}} - Stats panel and live image as part of the Missile Weapon Template.
- {{MPP Loc}} - A subtemplate that is part of the {{Map Point Plus}} template, calculates the location of coordinates for a point to display.
- {{NPC}} - Stats table and image for a non-player character. This is a component template and requires additional material for a complete page (Quest NPC Template, Crafter NPC Template, Shopkeeper NPC Template, NPC Template).
- {{NPC Row}} - A single row within an {{NPC Table}} that includes the name, location, type and details for that NPC.
- {{NPC Table}} - NPC Table that includes the name, location, type and details for each NPC. Used in the Town Template and anywhere a general list of NPCs is desired.
- {{Pet}} - Stats table and image for a player-controlled "pet" creature. This is a component template and requires additional material for a complete page.
- {{Portal Row}} - A single row within a {{Portal Table}} that includes the location, destination, coordinates, and restrictions for that portal.
- {{Portal Table}} - Portal Table that includes the location, destination, coordinates, and restrictions for each Poratl. Used in the Town Template and anywhere a general list of portals is desired.
- {{Recipe Table}} - Creates single steps for recipes. Part of the Template:Food, Template:Crafting and Template:Crafting Recipe templates
- {{Quest Summary}} - Summary table and live shot as part of the Quest Guide Template.
- {{Sandbox}} - Practice and testing area for new templates.
- {{Settlement}} - Summary table and live shot as part of the Housing Settlement Template.
- {{Shopkeeper Inventory}} - Displays a list of items in a borderless table four across with their icons and prices.
- {{Standard Text}} - Formats a standard text as part of the Standard Text Template.
- {{Translated Text}} - Formats a translated text as part of the Translated Text Template.
Lore Templates
Templates used in various lore pages:
- {{Lore}} - Footer with navigation links to many lore main topic pages.
- {{Character Summary}} - Displays a summary of a lore character.
- {{Auberean Index}} - Displays a table of links to topics related to Auberean.
- {{Ispar Index}} - Displays a table of links to topics related to Ispar.
- {{Lore Citation Needed}} - Placed at the top of a page, flags a page for needing references for much or all of its content.
- {{Specific Citation Needed}} - Place after a specific statement to flag that as needing reference.
Functions
Technically these are not templates, but they are similar in appearance. These modify a string value or perform some operation. A few that are used often in templates are listed below, for a more complete list, see Wiki Markup Reference#Magic Words and Help:Magic words.
- {{lc:words}} - Converts the words to all lower case. Useful for allowing case insensitivity in your parameters.
- {{uc:words}} - Converts the words to all upper case.
- {{PAGENAME}} - Returns the name of the page where used. For example if used on this page, would give "Wiki Templates".