Commonly Used Templates: Difference between revisions

From HorizonXI Wiki
(Created page with "{{Tocright}} This page is a work in progress. == DPL Templates== * WeaponsTable * ArmorTable == Infoboxes == * Infobox Magic == Item/ Item Pages == * Used in - used on item pages for 'other uses' section. * AH - used on item pages 'how to obtain' via AH. * Synthesis Recipes * rl - use to show "can be used in these recipes" on item pages. * Item Statistics * Item Image (used to generate the images at the top of each item page so they all have the same size) == Tooltip...")
 
Line 27: Line 27:
* Changes - comes with the tooltip.
* Changes - comes with the tooltip.
* Verification - adds a warning triangle that information may not be accurate.
* Verification - adds a warning triangle that information may not be accurate.
* Command - to be used on any Command/??? pages.


== Utility ==
== Utility ==

Revision as of 12:34, 2 October 2023

This page is a work in progress.

DPL Templates

  • WeaponsTable
  • ArmorTable

Infoboxes

  • Infobox Magic

Item/ Item Pages

  • Used in - used on item pages for 'other uses' section.
  • AH - used on item pages 'how to obtain' via AH.
  • Synthesis Recipes
  • rl - use to show "can be used in these recipes" on item pages.
  • Item Statistics
  • Item Image (used to generate the images at the top of each item page so they all have the same size)

Tooltips

  • Location - used to generate maps on hover with coordinate square highlighted. Calls template:position to achieve this, which calls template:Location Tooltip... its a mess
  • Location Tooltip - similar to Location but with more funcationality I think. Calls Template:tooltip
  • Tooltip - this seems to be the base template used by all tooltip functionality. Assigns html id and css classes so some javascript function can pick it up and display a tooltip.

Miscellaneous

  • Item Tooltip - not used commonly but Ill mention here lol. I built that one to generate the tooltips on the ArmorTable and WeaponsTable. Can be used on any Item really. Uses a dpl call to get the icon from the item page by looking into the Item Image template on that page and grabbing the filename. calls template:tooltip to generate the tooltip
  • Stat - used to display stats in a uniform manner on item pages, capital letters, link, bold, ...
  • Changes - comes with the tooltip.
  • Verification - adds a warning triangle that information may not be accurate.
  • Command - to be used on any Command/??? pages.

Utility

  • Delete?? - used so editors can tag pages to be deleted.

Uncategorised (so far)