Custom Trovesaurus Tags

We use custom tags (things inside square brackets) to connect to site functionality, you can use this in text areas around the site to do things like creating a link with an icon and a tooltip to a database item.

Notes:

  • Tags inside pre or code blocks will not be processed
  • Smart Tags also won't be processed if there is a = in the line or html

Smart Tags

Generate a link to an item, collection, style, biome or user just using the name in tags. Optionally include extra text after a semicolon to add a label.

Note: Smart tags will not work if they are detected on a line with an = sign.

Code Result
[chaos chest]
Chaos Chest
[sageosaurus]
Sageosaurus
[Trove Topper]
Trove Topper
[etaew]
Etaew
[desert frontier]
Desert Frontier
[etaew;is cool]
Etaew is cool

Item Link

Generate an item link with icons and tooltips, optional additional text.

Links can be identifiers or names, or even without the tag at all. Optionally use a semicolon after the identifier to add some custom text.

Please note that if you are using a tag with just the name or id, it must not include any html with an equals on the line, such as text effects or positions.

Code Result
[item=item/gem/large/blue_adventurer_swap_t110]
[item=item/gem/large/blue_adventurer_swap_t110]
[item=bawk-bomb]
[item=bawk-bomb]
[item=bawk-bomb;32]
[item=bawk-bomb;32]
[bawk-bomb]
Bawk-Bomb
 

Collection Link

Generate a collection link with icons and tooltips, optional adjust icon size.

Links can be identifiers or names, or even without the tag at all. Note identifiers can do a partial left search match. Optionally use a semicolon after the identifier to specify an icon size.

Please note that if you are using a tag with just the name or id, it must not include any html with an equals on the line, such as text effects or positions.

Code Result
[collection=collections/mount/raptor_trovesaurus]
[collection=collections/mount/raptor_trovesaurus]
[collection=sageosaurus]
[collection=sageosaurus]
[sageosaurus]
Sageosaurus
[collection=sageosaurus;64]
[collection=sageosaurus;64]

Style Links

Generate a style link with icons and tooltips, optional additional text.

Links can be identifiers or names. Optionally use a semicolon after the identifier to add some custom text.

Note when using identifiers, you will need to remove the designer info, if there is one, e.g. 

[style=equipment_weapon_staff_018] instead of [style=equipment_weapon_staff_018[Destral]]
Code Result
[style=equipment_weapon_staff_018]
Abyss Gaze
[style=abyss gaze]
Abyss Gaze
[style=abyss gaze;some text]
Abyss Gaze some text
[style=abyss gaze;64]
Abyss Gaze

Spoilers

Generate a spoiler toggle. Optional argument for image URL to replace the text.

Please note that these tags must be used on lines on their own.

[spoiler=First Thing]
there is a first thing here
[/spoiler]

there is a first thing here

[spoiler=you could leave this blank if you want;https://i.imgur.com/ys7GgFr.png]
there is a second thing here
[/spoiler]

there is a second thing here

Item Box

Generate an item box.

Use Code

[itembox=item/gem/large/blue_adventurer_swap_t110]

To Get

Item /

 

User

Generate an icon and link to a user

Code Result
[user=1]
Etaew
[user=etaew]
Etaew
[etaew]
Etaew
[etaew;is cool]
Etaew is cool

User Box

Show a user box

Use Code

[userbox=1]
[userbox=etaew]

To Get

EtaewEditor of Things

Page Box

Show a preview of a page, large.

Use Code

[pagebox=1740]

To Get

Custom Trovesaurus Tags

We use custom tags (things inside square brackets) to connect to site functionality, you can use this in text areas around the site to do things like creating a link with an icon and a tooltip to a database item.

Etaew August 26, 2016 0 1

Page Link

To show an icon and link to page with tooltips.

Code Result
[page=1740]
Custom Trovesaurus Tags

Dungeon Link

To show an icon and link to the dungeon page.

Code Result
[dungeon=1]
Power Generator Dungeon

Mod Link

Show a link to an mod, in green colour with an icon and tooltip.

Code Result
[mod=4795]
Derpasaurus

Mod Box

Create a mod box.

Use Code

[modbox=4795]

To Get

Art Link

Show a link to an art entry, in blue colour with an icon and tooltip.

Code Result
[art=908]
Sageosaurus Sculpture

Art Large

Show a single large art entry.

Use Code

[artlarge=908]

To Get

Art by Tag

Show all art with a tag.

Use Code

[arttag=Pinata]

To Get

Pack Link

Create a link to a pack by ID.

Use Code

[pack=1]
[pack=1;some text]

To Get

Raving Revenant Pack

Raving Revenant Pack some text

Club

Creates a link to a club.

Code Result
[club=1]
Defiant Few
[club=trovesaurus]

Club Box

Creates a box for a club.

Code

[clubbox=trovesaurus]

Example

Trovesaurus (PC) Club: 3595 (#79)

Official Trovesaurus Club, open to all members of our community.

/joinworld trovesaurus View Club

Mod Pack

Creates a mod pack box.

Code

[modpack=68]

Example

Llamafest Pack

Class

Creates a link to a class.

Code Result
[class=adventurer]
Boomeranger
[class=boomeranger]
Boomeranger

Recipe

Creates a recipe box.

Code

[recipe=recipe_bomb]

Example

Recipe Items

Lists recipe items from a category.

Code

[recipeitems=Frameworks]

Example

Recipe Items (Frameworks)

NPC

Links to a NPC

Code Result
[npc=golden beetle]
Golden Beetle
[npc=beetle_golden]
Golden Beetle

Colour

Creates a block of colour.

Code Result
[colour=292015]

Collections

Lists a collections category.

Code

[collections=Dev Dream]

Example

Comments and Likes Comments 2

You must be logged in to add a comment.

Oh my goodness, I am so glad this was mentioned in the August summary post. As a web design fetishist, this page makes me feel all tingly. :-D

I'm going to have to go update my leaderboards guide soon, using some of this!

It's all relatively new so I'd appreciate feedback on new ones to add and appearance. It's mostly so I can move the more intensive queries (icon fetching etc) on the server before the page is rendered.