Page Templates: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Tlosk
imported>Arkalor
(moved Page Templates to Help:Page Templates: Moving to the Help namespace)
 
(65 intermediate revisions by 7 users not shown)
Line 1: Line 1:
=== Templates ===
#REDIRECT [[Help:Page 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.
 
*[[Patch Tree Template]]
*[[Quest Guide Template]]
*[[Monster Entry Template]]
**[[Monster Stat Template]]
***[[Individual Creature Template]]
*[[Item stat Template]]
**[[Weapon Stat Template]]
**[[Armor Stat Template]]
*[[In-Game Text Template]]
*[[Individual Dungeon Template]]
*[[NPC Template]]
-----
 
=== 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.
 
<nowiki>|align="center"|[[Image:Icon_ItemName.jpg]]</nowiki>
 
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 <nowiki>#Redirect [[Axe]]</nowiki>. 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:''' <font color=goldenrod>Asheron Tells you, "Greetings."</font>
 
'''For broadcasts, interactions, & "green text":''' <font color=green>Magical energy fills the air as Asheron casts his spell. His spell fizzles.</font>
 
'''For emotes:''' <font color=grey>Asheron looks around.</font>
 
'''For NPC open chat:''' <font color=grey>Asheron says, "I'm too old for this."</font>
 
 
<nowiki>
<font color=goldenrod>Asheron Tells you, "Greetings."</font>
</nowiki>
 
<nowiki>
<font color=green>Magical energy fills the air as Asheron casts his spell. His spell fizzles.</font>
</nowiki>
 
<nowiki>
<font color=grey>Asheron looks around.</font>
</nowiki>
 
<nowiki>
<font color=grey>Asheron says, "I'm too old for this."</font>
</nowiki>
-----
 
[[Category:Page Template]]

Latest revision as of 18:35, 8 April 2014