Page Templates

From Drunkapedia
Revision as of 10:14, 3 March 2008 by imported>Tlosk (→‎Templates)
Jump to: navigation, search

Templates

Here are some templates designed for easy creation and editing of articles and to give the site a uniform look and feel. To use a template open its page, go the the edit tab, and copy the coded version of the template. Then close the template page without saving, and paste the blank template into the desired page. Fill in the blanks, preview to check for mistakes, then save.


Icons

If you want to add an icon to the description panel, follow these steps:

Upload the icon image. Icons should be 32x32 pixels. It helps to name all icons with the same pattern: Icon_ItemName.

Then stick this code in after the first line of the table but before the name.

|align="center"|[[Image:Icon_ItemName.jpg]]

For an example, see the Diamond Shield (pre-patch)


To change the link behavior of an image so that it goes to another article instead of the image's own entry, edit the first line of the image's entry to redirect to the article you wish to link to.

For example, on the Icon_Axe.jpg page, on the first line add #Redirect [[Axe]]. Now if you add Icon_Axe.jpg to a page, if the reader clicks on the image they will go directly to the Axe article, not the image's page.


Text Colors

For in-game text colors please use the following:

For tells: Asheron Tells you, "Greetings."

For broadcasts, interactions, & "green text": Magical energy fills the air as Asheron casts his spell. His spell fizzles.

For emotes: Asheron looks around.

For NPC open chat: Asheron says, "I'm too old for this."


<font color=goldenrod>Asheron Tells you, "Greetings."</font>

<font color=green>Magical energy fills the air as Asheron casts his spell. His spell fizzles.</font>

<font color=grey>Asheron looks around.</font>

<font color=grey>Asheron says, "I'm too old for this."</font>