Template:List entry: Difference between revisions

From FHX Wiki
mNo edit summary
mNo edit summary
Line 9: Line 9:
</div></includeonly><noinclude>
</div></includeonly><noinclude>
== Description ==
== Description ==
This is the '''{{PAGENAME}}''' template. This template is used for listings of things with images and an associated short description.
This is the '''{{PAGENAME}}''' template. This template is used for listings things with images and an associated short description.
It should be transcluded in the following format:
It should be transcluded in the following format:
<pre>
<pre>
Line 34: Line 34:
{{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]].}}
== TODO ==
* Separate style formatting into a styles.css page
* Adjust entry cell size to fit 3 across a page


[[Category:Formatting templates]]</noinclude>
[[Category:Formatting templates]]</noinclude>

Revision as of 06:24, 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 =
}}

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]].}}
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