Page Templates: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>An Adventurer
imported>An Adventurer
Line 17: Line 17:
If you want to add an icon to the description panel, follow these steps:
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_Item_Name.
Upload the icon image. Icons should be 32x32 pixels. It helps to name all icons with the same pattern: Icon_ItemName.


Then Make sure the top 3 lines of the table follow this pattern:
Then stick this code in after the first line of the table but before the name.


'''For Armor:
<nowiki>|align="center"|[[Image:Icon_ItemName.jpg]]</nowiki>


<nowiki>{|width="300' border="1" cellspacing="0"</nowiki>
For an example, see the [[Diamond Shield (pre-patch)]]
 
<nowiki>!colspan="2"|Item Name</nowiki>
 
<nowiki>|width="32"|[[Image:Icon.jpg]]</nowiki>


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



Revision as of 17:17, 30 November 2007

Templates

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


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)


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>