Page Templates: Difference between revisions

From My Wiki
Jump to navigation Jump to search
imported>Tlosk
imported>Sanddh
 
(119 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. 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]]
{{Related|Wiki Templates|Wiki Markup Reference|Naming Conventions}}
*[[Quest Guide Template]]
*[[Creature Entry Template]]
**[[Creature Stat Template]]
***[[Individual Creature Template]]
*[[Item stat Template]]
**[[Weapon Stat Template]]
**[[Armor Stat Template]]
*[[In-Game Text Template]]
*[[Town Page Template]]
*[[Individual Dungeon Template]]
*[[NPC Template]]
-----


=== Icons ===
== 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!


If you want to add an icon to the description panel, follow these steps:
== 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.


Upload the icon image. Icons should be 32x32 pixels. It helps to name all icons with the same pattern: Icon_ItemName.
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.


Then stick this code in after the first line of the table but before the name.
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.


<nowiki>|align="center"|[[Image:Icon_ItemName.jpg]]</nowiki>
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.


For an example, see the [[Diamond Shield (pre-patch)]]
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 ===
:*[[Archive of Internet Article Template]]
:*[[Lore Character Template]]
:*[[Live Event 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.
=== Patches and Quests ===
:*[[Patch Tree Template]]
:**[[Patch Announcements Template]]
:*[[Quest Guide 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.
=== Creatures, NPCs and Pets ===
:*[[Creature Class Template]]
:**[[Creature Template]]
:*[[NPC Template]]
:**[[Crafter NPC Template]]
:**[[Quest NPC Template]]
:**[[Shopkeeper NPC Template]]
:*[[Pet Template]]


-----
=== Locations ===
:*[[Dungeon Template]]
:**[[Landblock Template]]
:*[[Geographic Area Template]]
:*[[Housing Settlement Template]]
:*[[Point of Interest Template]]
:*[[Portal Template]]
:*[[Town Template]]


=== Text Colors ===
=== 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}}.


For in-game text colors please use the following:
==== 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]]
 
==== 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 tells:''' <font color=darkgoldenrod>Asheron Tells you, "Greetings."</font>
'''For tells:''' <font color=darkgoldenrod>Asheron Tells you, "Greetings."</font>
Line 43: Line 89:
'''For broadcasts, interactions, & "green text":''' <font color=green>Magical energy fills the air as Asheron casts his spell. His spell fizzles.</font>
'''For broadcasts, interactions, & "green text":''' <font color=green>Magical energy fills the air as Asheron casts his spell. His spell fizzles.</font>


'''For spell related text:''' <font color=cornflowerblue>Azaxis tried to cast a spell on you, but was too far away!<br></font>
'''For spell related text:''' <font color=cornflowerblue>Asheron tried and failed to cast a spell on you!</font>


'''For emotes:''' <font color=grey>Asheron looks around.</font>
'''For emotes:''' <font color=grey>Asheron looks around.</font>
Line 59: Line 105:


<nowiki>
<nowiki>
<font color=cornflowerblue>Azaxis tried to cast a spell on you, but was too far away!<br></font>
<font color=cornflowerblue>Asheron tried and failed to cast a spell on you!</font>
</nowiki>
</nowiki>



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>