Template:List entry: Difference between revisions
No edit summary |
No edit summary |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><div style="float:left; margin-right:5px; margin-bottom:5px;"> | |||
{| cellpadding="5" cellspacing="0" style="border:1px solid darkgray; width:30em; height:10em;" | {| 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 | | rowspan="2" align="center" style="width: 130px; height: 130px" | {{#if: {{{image|}}} | [[File:{{{image}}}|120x120px|link={{{name}}}]] | ''Image needed.'' }} | ||
| style="height:30px" | ''''' | | style="height:30px" | '''''{{#if: {{{name|}}}|[[{{{name}}}]]|Name required.}}''''' | ||
|- | |- | ||
| valign="top" style="font-size:0. | | valign="top" style="font-size:0.9em" | {{#if: {{{desc|}}}|{{{desc}}}|Description needed.}} | ||
|} | |} | ||
</div></includeonly><noinclude> | </div></includeonly><noinclude> | ||
Line 13: | Line 13: | ||
<pre> | <pre> | ||
{{List entry | {{List entry | ||
| name = | |||
| image = | | image = | ||
| desc = | | desc = | ||
}} | }} | ||
Line 21: | Line 21: | ||
== Parameters == | == Parameters == | ||
; name : Required. Title of the list entry (eg. Bat, Gorgon, Rog Imperial City (V3), etc.) | |||
; image : Required. Image file for the list entry. | ; image : Required. Image file for the list entry. | ||
; desc : Required. Description of the list entry. Include links where appropriate. | ; desc : Required. Description of the list entry. Include links where appropriate. | ||
== Example == | == Example == | ||
<pre> | <pre> | ||
{{List entry|image= | {{List entry|name=Lorem|image=Missing icon.png|desc=Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud...}} | ||
{{List entry|image=Hatti Copper Gorgon-42.png | {{List entry|name=Barbarian|image=Barbarian icon.gif|desc=Large humanoid creatures.}} | ||
{{List entry| | {{List entry|name=:Category:Gorgon{{!}}Gorgon|image=Hatti Copper Gorgon-42.png|desc=Quadrupedal bovine creatures clad in heavy armor. They use a '''Poison Breath''' attack that deals continuous damage to their target.}} | ||
{{List entry|image=Boss-cultpriest.png | {{List entry|name=High-Elf|image=High-Elf Icon.gif|desc=Humanoid creatures with pointy ears.}} | ||
{{List entry | {{List entry|name=Cult Priest|image=Boss-cultpriest.png|desc=Level 65 world boss that spawns in [[Depthless Orifice/50+|50+ pvp]]. She is a taller than average [[High-Elf]].}} | ||
{{List entry|name=Rog Imperial City (V3){{!}}Rog Imperial City|image=Rog Imperial Castle city.png|desc=Capital city of [[South Rog Frontier|South Rog Frontier (Idios)]], the starting location for all new characters, and the hub for [[List of daily quests|level 30+ daily quests]].}} | |||
{{clear}} | {{clear}} | ||
</pre> | </pre> | ||
{{List entry|image= | {{List entry|name=Lorem|image=Missing icon.png|desc=Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud...}} | ||
{{List entry|image=Hatti Copper Gorgon-42.png | {{List entry|name=Barbarian|image=Barbarian icon.gif|desc=Large humanoid creatures.}} | ||
{{List entry| | {{List entry|name=:Category:Gorgon{{!}}Gorgon|image=Hatti Copper Gorgon-42.png|desc=Quadrupedal bovine creatures clad in heavy armor. They use a '''Poison Breath''' attack that deals continuous damage to their target.}} | ||
{{List entry|image=Boss-cultpriest.png | {{List entry|name=High-Elf|image=High-Elf Icon.gif|desc=Humanoid creatures with pointy ears.}} | ||
{{List entry | {{List entry|name=Cult Priest|image=Boss-cultpriest.png|desc=Level 65 world boss that spawns in [[Depthless Orifice/50+|50+ pvp]]. She is a taller than average [[High-Elf]].}} | ||
{{List entry|name=Rog Imperial City (V3){{!}}Rog Imperial City|image=Rog Imperial Castle city.png|desc=Capital city of [[South Rog Frontier|South Rog Frontier (Idios)]], the starting location for all new characters, and the hub for [[List of daily quests|level 30+ daily quests]].}} | |||
{{clear}} | {{clear}} | ||
Latest revision as of 15:32, 12 September 2024
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 | name = | image = | desc = }}
Include {{clear}}
after a group of entries, before starting a new section.
Parameters
- name
- Required. Title of the list entry (eg. Bat, Gorgon, Rog Imperial City (V3), etc.)
- image
- Required. Image file for the list entry.
- desc
- Required. Description of the list entry. Include links where appropriate.
Example
{{List entry|name=Lorem|image=Missing icon.png|desc=Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud...}} {{List entry|name=Barbarian|image=Barbarian icon.gif|desc=Large humanoid creatures.}} {{List entry|name=:Category:Gorgon{{!}}Gorgon|image=Hatti Copper Gorgon-42.png|desc=Quadrupedal bovine creatures clad in heavy armor. They use a '''Poison Breath''' attack that deals continuous damage to their target.}} {{List entry|name=High-Elf|image=High-Elf Icon.gif|desc=Humanoid creatures with pointy ears.}} {{List entry|name=Cult Priest|image=Boss-cultpriest.png|desc=Level 65 world boss that spawns in [[Depthless Orifice/50+|50+ pvp]]. She is a taller than average [[High-Elf]].}} {{List entry|name=Rog Imperial City (V3){{!}}Rog Imperial City|image=Rog Imperial Castle city.png|desc=Capital city of [[South Rog Frontier|South Rog Frontier (Idios)]], the starting location for all new characters, and the hub for [[List of daily quests|level 30+ daily quests]].}} {{clear}}
Lorem | |
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud... |
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. |
Rog Imperial City | |
Capital city of South Rog Frontier (Idios), the starting location for all new characters, and the hub for level 30+ daily quests. |
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