Page Templates: Difference between revisions

From My Wiki
Jump to navigation Jump to search
imported>Tlosk
Templates: NPC template link
imported>Sanddh
 
(135 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]]
 
*[[Monster Entry Template]]
== Help the Wiki Look Its Best ==
**[[Monster Stat 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!
***[[Individual Monster Template]]
 
*[[Item stat Template]]
== Page Templates ==
**[[Weapon Stat Template]]
Here are some page templates designed for easy creation and editing of articles and to give the site a uniform look and feel.
**[[Armor Stat Template]]
 
*[[In-Game Text Template]]
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.
*[[Individual Dungeon Template]]
 
*[[NPC Template]]
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 [[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.
 
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]]
 
=== Patches and Quests ===
:*[[Patch Tree Template]]
:**[[Patch Announcements Template]]
:*[[Quest Guide Template]]


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


If you want to add an icon to the description panel, follow these steps:
=== Locations ===
:*[[Dungeon Template]]
:**[[Landblock Template]]
:*[[Geographic Area Template]]
:*[[Housing Settlement Template]]
:*[[Point of Interest Template]]
:*[[Portal Template]]
:*[[Town Template]]


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


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


<nowiki>|align="center"|[[Image:Icon_ItemName.jpg]]</nowiki>
==== Contracts, Scrolls, Spells and Texts ====
:*[[Contract Template]]
:*[[Scroll Template]]
:*[[Spell Template]]
:*[[Standard Text Template]]
:*[[Translated Text Template]]


For an example, see the [[Diamond Shield (pre-patch)]]
==== 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 ===
== Text Colors ==


For in-game text colors please use the following:
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=goldenrod>Asheron Tells you, "Greetings."</font>
'''For tells:''' <font color=darkgoldenrod>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 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>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 43: Line 97:


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


<nowiki>
<nowiki>
<font color=green>Magical energy fills the air as Asheron casts his spell. His spell fizzles.</font>
<font color=green>Magical energy fills the air as Asheron casts his spell. His spell fizzles.</font>
</nowiki>
<nowiki>
<font color=cornflowerblue>Asheron tried and failed to cast a spell on you!</font>
</nowiki>
</nowiki>


Line 59: Line 117:
-----
-----


[[Category:Template]]
[[Category:Page Template]]

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>