Help:Wiki Templates

From Drunkapedia
(Redirected from Wiki Template)
Jump to: navigation, search

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.

For an auto-generated list of all wiki templates, see All pages with prefix (Template namespace)

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).

Navigation

Quotations

Archive of Printed Materials

See Printed Materials for examples.

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.

Lore Templates

Templates used in various lore pages:

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".

Image License