Template:My trinkets/start

From YPPedia

Usage

These usage notes will not be included in articles bearing this template.

This template is intended to be used with Template:My trinkets and Template:My pets. It marks the start of a trinket or pet table, which are formatted identicaly. Trinket or pet entries are placed after it, followed by a {{My trinkets/end}} marker. While it is possible to mix and match entries, it is more pleasing to have separate sections for the different entries. Use the optional width= parameter to make the smaller pets table as wide as the trinket table.

Example

{{My trinkets/start}}
{{My trinkets|trinket=Lump of coal|text=Happy Holidays}}
{{My trinkets/end}}

Produces:

Happy Holidays
Item box unequip.png
Trinket-Lump of coal.png
{{My pets/start}}
{{My pets|name=Venerable|pet=Rat|primary=white}}
{{My pets/end}}

Produces:

Venerable
Item box unequip.png
Pets-Rat colors.png



{|
|-
|{{My trinkets/start}}
{{My trinkets|trinket=Lump of coal|text=Happy Holidays}}
{{My trinkets/end}}
|-
|{{My pets/start|width=100%}}
{{My pets|name=Venerable|pet=Rat|primary=white}}
{{My pets/end}}
|}

Produces:

Happy Holidays
Item box unequip.png
Trinket-Lump of coal.png
Venerable
Item box unequip.png
Pets-Rat colors.png

As you can see, the listings remain separate, but their width is consistent.