Template:List entry: Difference between revisions

From FHX Wiki
mNo edit summary
No edit summary
Line 18: Line 18:
}}
}}
</pre>
</pre>
Include <code><nowiki>{{clear}}</nowiki></code> after a group of entries, before starting a new section header.
== Parameters ==
== Parameters ==
; image : Required. Image file for the list entry.
; image : Required. Image file for the list entry.
Line 29: Line 30:
{{List entry|image=High-Elf Icon.gif|name=High-Elf|desc=Humanoid creatures with pointy ears.}}
{{List entry|image=High-Elf Icon.gif|name=High-Elf|desc=Humanoid creatures with pointy ears.}}
{{List entry|image=Boss-cultpriest.png|name=Cult Priest|desc=Level 65 world boss that spawns in [[Depthless Orifice/50+|50+ pvp]]. She is a taller than average [[High-Elf]].}}
{{List entry|image=Boss-cultpriest.png|name=Cult Priest|desc=Level 65 world boss that spawns in [[Depthless Orifice/50+|50+ pvp]]. She is a taller than average [[High-Elf]].}}
{{clear}}
</pre>
</pre>
{{List entry|image=Barbarian icon.gif|name=Barbarian|desc=Large humanoid creatures.}}
{{List entry|image=Barbarian icon.gif|name=Barbarian|desc=Large humanoid creatures.}}
Line 34: Line 36:
{{List entry|image=High-Elf Icon.gif|name=High-Elf|desc=Humanoid creatures with pointy ears.}}
{{List entry|image=High-Elf Icon.gif|name=High-Elf|desc=Humanoid creatures with pointy ears.}}
{{List entry|image=Boss-cultpriest.png|name=Cult Priest|desc=Level 65 world boss that spawns in [[Depthless Orifice/50+|50+ pvp]]. She is a taller than average [[High-Elf]].}}
{{List entry|image=Boss-cultpriest.png|name=Cult Priest|desc=Level 65 world boss that spawns in [[Depthless Orifice/50+|50+ pvp]]. She is a taller than average [[High-Elf]].}}
{{clear}}


== TODO ==
== TODO ==

Revision as of 06:27, 5 September 2024

Warning:
This template is in draft.

Description

This is the List entry template. This template is used for listings things with images and an associated short description. It should be transcluded in the following format:

{{List entry
| image =
| name =
| desc =
}}

Include {{clear}} after a group of entries, before starting a new section header.

Parameters

image
Required. Image file for the list entry.
name
Required. Title of the list entry (eg. Bat, Gorgon, Rog Imperial City (V3), etc.)
desc
Required. Description of the list entry. Include links where appropriate.

Example

{{List entry|image=Barbarian icon.gif|name=Barbarian|desc=Large humanoid creatures.}}
{{List entry|image=Hatti Copper Gorgon-42.png|name=Gorgon|desc=Quadrupedal bovine creatures clad in heavy armor. They use a '''Poison Breath''' attack that deals continuous damage to their target.}}
{{List entry|image=High-Elf Icon.gif|name=High-Elf|desc=Humanoid creatures with pointy ears.}}
{{List entry|image=Boss-cultpriest.png|name=Cult Priest|desc=Level 65 world boss that spawns in [[Depthless Orifice/50+|50+ pvp]]. She is a taller than average [[High-Elf]].}}
{{clear}}
Barbarian
Large humanoid creatures.
Gorgon
Quadrupedal bovine creatures clad in heavy armor. They use a Poison Breath attack that deals continuous damage to their target.
High-Elf
Humanoid creatures with pointy ears.
Cult Priest
Level 65 world boss that spawns in 50+ pvp. She is a taller than average High-Elf.

TODO

  • Separate style formatting into a styles.css page
  • Adjust entry cell size to fit 3 across a page