Page Templates: Difference between revisions

From My Wiki
Jump to navigation Jump to search
imported>An Adventurer
mNo edit summary
imported>Sanddh
 
(116 intermediate revisions by 7 users not shown)
Line 1: Line 1:
=== Templates ===
{{Exemplar ToC|Page 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></nowiki></nowiki> tags.
{{Related|Wiki Templates|Wiki Markup Reference|Naming Conventions}}


*[[Patch Tree Template]]
== Help the Wiki Look Its Best ==
*[[Quest Guide Template]]
Before creating articles on the AC Community Wiki, please take a moment to read the [[Naming Conventions]] page.  Using standardized article names and image formats/sizes keeps the wiki clean, ensures [[Wiki Templates]] work as expected, and helps avoid duplicate entries.  Thanks!
*[[Creature Entry Template]]
**[[Creature Stat Template]]
***[[Individual Creature Template]]
*[[Item stat Template]]
**[[Weapon Stat Template]]
**[[Armor Stat Template]]
*[[Standard Text Template]]
*[[Translated Text Template]]
*[[Town Page Template]]
*[[Individual Dungeon Template]]
*[[NPC Template]]


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


=== Icons ===
On the template pages code has been provided that is ready to be highlighted and copied. Paste the blank template into the desired page. Fill in the blanks, remove any excess code left over from the template (things that don't apply to that page), preview to check for mistakes, then save.


If you want to add an icon to the description panel, follow these steps:
Page templates are code for an entire page, there are also smaller [[Wiki Templates]] that take big chunks of formatting code and replace it with a simple template. Most page templates use wiki templates in their construction.


Upload the icon image. Icons should be 32x32 pixels. It helps to name all icons with the same pattern: Icon_ItemName.
For [[Related Links|regular contributors]] you may find the [[Wiki Swiss Tool]] useful, it is a helper program that includes one click page template copying that can make editing faster.  


Then stick this code in after the first line of the table but before the name.
And remember, if you aren't comfortable using templates, please feel free to post the information in a way that is comfortable to you. Be aware though that someone may come along and edit it into a template later on. See [[Page Template Template]] for the general template layout.


<nowiki>|align="center"|[[Image:Icon_ItemName.jpg]]</nowiki>
=== Lore and Live Events ===
:*[[Archive of Internet Article Template]]
:*[[Lore Character Template]]
:*[[Live Event Template]]


For an example, see the [[Diamond Shield (pre-patch)]]
=== Patches and Quests ===
:*[[Patch Tree Template]]
:**[[Patch Announcements Template]]
:*[[Quest Guide Template]]


=== Creatures, NPCs and Pets ===
:*[[Creature Class Template]]
:**[[Creature Template]]
:*[[NPC Template]]
:**[[Crafter NPC Template]]
:**[[Quest NPC Template]]
:**[[Shopkeeper NPC Template]]
:*[[Pet Template]]


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.
=== Locations ===
:*[[Dungeon Template]]
:**[[Landblock Template]]
:*[[Geographic Area Template]]
:*[[Housing Settlement Template]]
:*[[Point of Interest Template]]
:*[[Portal Template]]
:*[[Town Template]]


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.
=== Items ===
If you're not sure what template to use, or it's not listed, you can use the [[Item Template]] with the appropriate [[:Category:Item|Item Category]] tags.
<br>'''Note:''' For [[Rares]] and [[Retired Items]] see {{tl|Intro}}.


-----
==== Armor, Weapons and Jewelry ====
:*[[Armor Template]] (Armor, Shields, Clothing, Robes, Guises)
:*[[Jewelry Template]] (Rings, Bracelets, Necklaces)
:*[[Magic Caster Template]]
:*[[Melee Weapon Template]]
:*[[Missile Weapon Template]]


=== Text Colors ===
==== Contracts, Scrolls, Spells and Texts ====
:*[[Contract Template]]
:*[[Scroll Template]]
:*[[Spell Template]]
:*[[Standard Text Template]]
:*[[Translated Text Template]]
 
==== Crafting and Consumables ====
:*[[Crafting Template]]
:*[[Ammunition Template]]
:*[[Essence Template]]
:*[[Food Template]]
:*[[Gem Template]] (Spell gems, Portal gems, Augmentation gems, Weapon gems etc)
:*[[Healing Kit Template]]
:*[[Key Template]]
:*[[Keyring Template]]
:*[[Potion Template]]
 
==== Other ====
:*[[Quest Item Template]]
:*[[Pack Template]] (Packs, Belts and Pouches)
:*[[Housing Item Template]]
:*[[Chest Template]]
:*[[Object Template]]
 
== 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 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):

Latest revision as of 18:03, 22 February 2013

Related topics: Wiki Templates, Wiki Markup Reference, Naming Conventions

Help the Wiki Look Its Best

Before creating articles on the AC Community Wiki, please take a moment to read the Naming Conventions page. Using standardized article names and image formats/sizes keeps the wiki clean, ensures Wiki Templates work as expected, and helps avoid duplicate entries. Thanks!

Page Templates

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

On the template pages code has been provided that is ready to be highlighted and copied. Paste the blank template into the desired page. Fill in the blanks, remove any excess code left over from the template (things that don't apply to that page), preview to check for mistakes, then save.

Page templates are code for an entire page, there are also smaller Wiki Templates that take big chunks of formatting code and replace it with a simple template. Most page templates use wiki templates in their construction.

For regular contributors you may find the Wiki Swiss Tool useful, it is a helper program that includes one click page template copying that can make editing faster.

And remember, if you aren't comfortable using templates, please feel free to post the information in a way that is comfortable to you. Be aware though that someone may come along and edit it into a template later on. See Page Template Template for the general template layout.

Lore and Live Events

Patches and Quests

Creatures, NPCs and Pets

Locations

Items

If you're not sure what template to use, or it's not listed, you can use the Item Template with the appropriate Item Category tags.
Note: For Rares and Retired Items see {{Intro}}.

Armor, Weapons and Jewelry

Contracts, Scrolls, Spells and Texts

Crafting and Consumables

Other

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>