Template:List entry: Difference between revisions

From FHX Wiki
(Created page with "<includeonly><div style="float:left; margin-right:5px; margin-bottom:5px;"> {| cellpadding="5" cellspacing="0" style="border:1px solid darkgray; width:33em; height:14em;" |- | rowspan="2" align="center" style="width: 130px; height: 130px" | {{#if: {{{image|}}} | [[File:{{{image}}}|120x120px]] | 120x120px }} | style="height:30px" | '''''{{#if: {{{displayname|}}}|[[{{{name|}}}|{{{displayname|}}}]]|{{cname|{{{name}}}}}}}''''' |- | valig...")
 
No edit summary
Line 20: Line 20:
;Example
;Example
{{List entry
{{List entry
|image=https://cdn.fhxrestoration.com/common/entities/characterRaces/icons/highelf.gif
|image=High-Elf Icon.gif
|name=High-Elf
|name=High-Elf
|desc=Humanoid creatures with pointy ears.}}
|desc=Humanoid creatures with pointy ears.}}


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

Revision as of 16:27, 29 May 2024

Description

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

This template is used for listings of things with pictures and an associated short description.

Example
{{#vardefine:smw_name|{{#show:High-Elf|?Has canonical name}}}}{{#var:smw_name}}
Humanoid creatures with pointy ears.