Template:List entry: Difference between revisions
m (→Description) |
No edit summary |
||
Line 1: | Line 1: | ||
<noinclude>{{page warning|message=This template is in draft.}}</noinclude><includeonly><div style="float:left; margin-right:5px; margin-bottom:5px;"> | <noinclude>{{page warning|message=This template is in draft.}}</noinclude><includeonly><div style="float:left; margin-right:5px; margin-bottom:5px;"> | ||
{| cellpadding="5" cellspacing="0" style="border:1px solid darkgray; width: | {| cellpadding="5" cellspacing="0" style="border:1px solid darkgray; width:30em; height:10em;" | ||
|- | |- | ||
| rowspan="2" align="center" style="width: 130px; height: 130px" | {{#if: {{{image|}}} | [[File:{{{image}}}|120x120px]] | ''Image missing.'' }} | | rowspan="2" align="center" style="width: 130px; height: 130px" | {{#if: {{{image|}}} | [[File:{{{image}}}|120x120px]] | ''Image missing.'' }} | ||
Line 42: | Line 42: | ||
* Separate style formatting into a styles.css page | * Separate style formatting into a styles.css page | ||
* Adjust entry cell size to fit 3 across a page | * Adjust entry cell size to fit 3 across a page | ||
** Might be limited by global page formatting | |||
[[Category:Formatting templates]]</noinclude> | [[Category:Formatting templates]]</noinclude> |
Revision as of 06:40, 5 September 2024
Warning:
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.
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
- Might be limited by global page formatting