Template:FollowerList: Difference between revisions

From UO Outlands Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
Line 3: Line 3:


{{PAGENAME}} generates a list of a group of followers, i.e. summons or tameables.
{{PAGENAME}} generates a list of a group of followers, i.e. summons or tameables.
== Editing ==
This template is generated by [[Module:Creatures]], which formats the creature data into this table, this cannot be edited without a basic understanding of Lua, or at least general programming. However the creature data is either pulled from [[Module:SummonableCreatureData]] alone or [[Module:TameableCreatureData]] and a [[Module:WildCreatureData]] based on the group specified. These module's documentation (linked at the top of its pages) give details on how to structure data in the Lua table, after editing it is recommended that editors make sure the template still functions properly.
These modules were created by [[User:TheGmaster]], feel free to dm any questions/concerns/requests directly via Discord @thegmaster1.


== Template ==
== Template ==
Line 18: Line 13:
</div>
</div>
</noinclude><onlyinclude>{{#invoke:Creatures|listFollowerGroup|group={{{group|{{{1|}}}}}}}}</onlyinclude>
</noinclude><onlyinclude>{{#invoke:Creatures|listFollowerGroup|group={{{group|{{{1|}}}}}}}}</onlyinclude>
== Parameters ==
{| class="wikitable" style="text-align:center"
! Name
! Alias
! Default Value
! Function
! Example
|-
| group
| 1
| all
| style="text-align:left"| The type of follower to list, won't list anything if left blank. Not case-sensitive.
| tame/summon
|}
== Editing ==
This template is generated by [[Module:Creatures]], which formats the creature data into this table, this cannot be edited without a basic understanding of Lua, or at least general programming. However the creature data is either pulled from [[Module:SummonableCreatureData]] alone or [[Module:TameableCreatureData]] and a [[Module:WildCreatureData]] based on the group specified. These module's documentation (linked at the top of its pages) give details on how to structure data in the Lua table, after editing it is recommended that editors make sure the template still functions properly.
These modules were created by [[User:TheGmaster]], feel free to dm any questions/concerns/requests directly via Discord @thegmaster1.

Latest revision as of 22:59, 11 November 2024

Editing this template will not change what the template displays, see #Editing for more information


FollowerList generates a list of a group of followers, i.e. summons or tameables.

Template

The tables are sortable, the sorting arrows are just black... (Click the links on the right to show the tables)


Parameters

Name Alias Default Value Function Example
group 1 all The type of follower to list, won't list anything if left blank. Not case-sensitive. tame/summon

Editing

This template is generated by Module:Creatures, which formats the creature data into this table, this cannot be edited without a basic understanding of Lua, or at least general programming. However the creature data is either pulled from Module:SummonableCreatureData alone or Module:TameableCreatureData and a Module:WildCreatureData based on the group specified. These module's documentation (linked at the top of its pages) give details on how to structure data in the Lua table, after editing it is recommended that editors make sure the template still functions properly.

These modules were created by User:TheGmaster, feel free to dm any questions/concerns/requests directly via Discord @thegmaster1.