Howto:Use the My trinkets template

YPPedia has a set of templates called My trinkets that may be used to show-off your trinket collection.

The list of all the trinkets we currently have templates for can be found at Category:My_trinket_templates. Click on the links to view the available colors and accompanying usage notes. When using the templates, capitalization matters, so you will need to exactly match the capitalization of the template name & colors as listed in the My trinket templates category. Except for the initial "text=", the text field may use whatever capitalization you like.

The sections below detail how to use the My trinkets templates in various ways.

Simple trinket lists
Make a trinket section to the article of your page and follow this example to add the trinket coding to the article:

Two-column trinket listings
When there are a number of trinkets, it can be more visually appealing to show them in a two-column format.

{| !| Code !| Result

Just divide your trinket coding into two and insert in the appropriate column instead of the trinkets in the example above.

To learn more about the coding for the tables including how to add a third column, you can take a peek at our help page on tables.

Show/hide trinket listings
When a list of trinkets is particularly long, it may be useful to place the list on a subpage and use a show/hide template such as is seen at Vova.

If you would like to have that kind of a show/hide box with your trinkets, just edit your pirate page to add a section like this:

{| !| Code

Multiple Trinkets

 * }

Of course, you should replace Yourpiratename with the name of the article. This should give you a red link for a Yourpiratename/Trinkets page. Click on it to get to the edit screen. Or you can go to http://yppedia.puzzlepirates.com/index.php?title=Yourpiratename/Trinkets&action=edit On Yourpiratename/Trinket, just edit in coding for your trinkets as explained in the sections above.

Abbreviating the trinket coding
There is also an option to abbreviate, in a way, the trinket coding by keeping your variables in a certain order without naming them. In the example below, note how "ignored" is used if any of the variables such as primary or secondary are blank: