Page Templates: Difference between revisions

From My Wiki
Jump to navigation Jump to search
imported>An Adventurer
mNo edit summary
imported>An Adventurer
mNo edit summary
(No difference)

Revision as of 15:55, 18 June 2008

Templates

Here are some templates designed for easy creation and editing of articles and to give the site a uniform look and feel.

On some of the template pages code has been provided that is ready to be copied and pasted. For other templates, 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, remove any excess code left over from the template, preview to check for mistakes, then save. Be sure to remove any <nowiki></nowiki> tags.


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 (exact colors aren't used because AC text is on a dark background while most wiki text is on a white background):

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 spell related text: Asheron tried and failed to cast a spell on you!

For emotes: Asheron looks around.

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


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

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

<font color=cornflowerblue>Asheron tried and failed to cast a spell on you!</font>

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

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