Template:Colorlink

From Dragon Nest Wiki
Jump to: navigation, search

[[{{{2}}}|{{{2}}}]]

This template was created because there is a lot of places in the item pages whee, though there could be links to other pages, a desire to have the item box formatted as close to the original as possible existed.

This template can be used to list the color, then the article name, and, if necessary, a different text to be used in place of the article name. For example, in Cupid's Treasure Chest, one of the possible rewards are Chocolate Chunk Cookies, listed in yellow. To put that into the template...

{{Colorlink|yellow|Chocolate Chunk Cookie|Chocolate Chunk Cookies}} is used, which produces:

Chocolate Chunk Cookies

One problem so far is that the old trick of leaving plural or possessive markers outside of the square brackets (for example: [[Chocolate Chunk Cookie]]s is not preserved here.

References

http://arnomane.wordpress.com/2007/06/24/mediawiki-tricks-1-custom-link-colors/