Commonly Used Templates: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{Tocright}}<!--{| class="horizon-table editing-table table-lg" | {{Tocright}}<!-- Blank table template for this page. | ||
{| class="horizon-table editing-table table-lg" | |||
! width="15%" | Name | ! width="15%" | Name | ||
! width="15%" | Example Page | ! width="15%" | Example Page | ||
Line 7: | Line 8: | ||
| | | | ||
| | | | ||
|}--> | |} | ||
--> | |||
= Commonly Used Templates = | = Commonly Used Templates = | ||
This page is a list of all the templates we commonly use on the Wiki. In each section you will find categorised lists of our most commonly used templates, an example page where they are in use and a description of their use cases. Some templates may have multiple use cases and as such may appear multiple times. | This page is a list of all the templates we commonly use on the Wiki. In each section you will find categorised lists of our most commonly used templates, an example page where they are in use and a description of their use cases. Some templates may have multiple use cases and as such may appear multiple times. | ||
Line 32: | Line 34: | ||
|- | |- | ||
| [[Template:WeaponsTable|WeaponsTable]] | | [[Template:WeaponsTable|WeaponsTable]] | ||
| [[Warrior#Job_Specific_Equipment|Warrior Page]] | | <ul><li>[[Warrior#Job_Specific_Equipment|Warrior Page]]</li></ul> | ||
| Used to easily create a table for weapons. Editors can filter the table to display certain jobs, weapon types or a custom list of weapons. | | Used to easily create a table for weapons. Editors can filter the table to display certain jobs, weapon types or a custom list of weapons. | ||
|- | |- | ||
| [[Template:ArmorTable|ArmorTable]] | | [[Template:ArmorTable|ArmorTable]] | ||
| [[White_Mage#Job_Specific_Equipment|White Mage Page]] | | <ul><li>[[White_Mage#Job_Specific_Equipment|White Mage Page]]</li></ul> | ||
| Used to easily create a table for armor. Editors can filter the table to dsiplay certain jobs, armor types or a custom list of armor. | | Used to easily create a table for armor. Editors can filter the table to dsiplay certain jobs, armor types or a custom list of armor. | ||
|- | |- | ||
| [[Template:InstrumentTable|InstrumentTable]] | | [[Template:InstrumentTable|InstrumentTable]] | ||
| [[Bard#Job_Specific_Equipment|Bard Page]] | | <ul><li>[[Bard#Job_Specific_Equipment|Bard Page]]</li></ul> | ||
| Used to easily create a table for instruments. Editors can filter to display string instruments, wind instruments or a custom list of intruments. | | Used to easily create a table for instruments. Editors can filter to display string instruments, wind instruments or a custom list of intruments. | ||
|} | |} | ||
Line 50: | Line 52: | ||
! width="70%" | Description | ! width="70%" | Description | ||
|- | |- | ||
| | | [[Template:Infobox Magic|Infobox Magic]] | ||
| | | <ul><li>[[Fire]]</li><li>[[Haste]]</li></ul> | ||
| | | Displays an infobox on the right of a page, designed for the spells of FFXI. Editors shouldn't need to use this template from scratch as spell pages have all been added but they may find the template page useful if editing is required. | ||
|} | |} | ||
== Item/ Item Pages == | == Item/ Item Pages == |
Revision as of 21:03, 5 October 2023
Commonly Used Templates
This page is a list of all the templates we commonly use on the Wiki. In each section you will find categorised lists of our most commonly used templates, an example page where they are in use and a description of their use cases. Some templates may have multiple use cases and as such may appear multiple times.
The page is still a work in progress so please bear with us.
Templates to Assist Editing
Name | Example Page | Description |
---|---|---|
Preview Only Infobox | This template only works in 'preview mode' whilst editing. The template can be attatched to the 'Usage' section of any other template, which will then display instructions on how to fill out each parameter. |
DPL Templates
These tables allow an editor to easily create a table for a list of items from it's corresponding category. An editor can also create a custom list from the names of desired items only. Any item page that uses the Item Statistics template (most do and need converting if not) are eligble for use. I cannot stress enough how amazing and simple these templates are, please try them.
Name | Example Page | Description |
---|---|---|
WeaponsTable | Used to easily create a table for weapons. Editors can filter the table to display certain jobs, weapon types or a custom list of weapons. | |
ArmorTable | Used to easily create a table for armor. Editors can filter the table to dsiplay certain jobs, armor types or a custom list of armor. | |
InstrumentTable | Used to easily create a table for instruments. Editors can filter to display string instruments, wind instruments or a custom list of intruments. |
Infoboxes
Name | Example Page | Description |
---|---|---|
Infobox Magic | Displays an infobox on the right of a page, designed for the spells of FFXI. Editors shouldn't need to use this template from scratch as spell pages have all been added but they may find the template page useful if editing is required. |
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.
Out of Era Content
- TOAU, WOTG, SOA, afterera, noera