Age Of Wonders 3 Wiki
Advertisement
Age Of Wonders 3 Wiki

This page is designed as a collection of necessary tips, tricks and other information that are useful when editing the wiki.

Expansion Material[]

When adding Expansion content, be sure to mark it with the Golden Realms marker.

This way everything is in one place, but it still keeps the distinction between the original game and expansions. If this becomes unwieldy or badly designed, a new organization will have to be decided upon.

To place this on the page, just add {{GR}} where the image is to be inserted. This will allow a better image to be used without having to change the image being inserted on each page.

Wiki Markup[]

A good guide to the most useful parts of the Wiki Markup is this page. This is useful for editing pages directly from the source editor, although usually the visual editor will render any wiki markup that is entered into it when previews or published.

TODO Boxes[]

If you notice that something needs to be done with a page, particularly checking details from outside the game match the in-game values (something like Patch Notes), there are TODO boxes that can be added. This documentation page explains how to use the template. Please place these at the top of the page that needs to be fixed or check so it is easily noticed.

There is also a category that is automatically added when a TODO box is put on a page. Any page with a TODO box will be listed under this category page.

Blogs[]

Blogs are enabled on the wiki to allow users to post their ideas about the game and wiki in a different manner to the general articles and talk pages. Only registered users can create blog posts, and only the author and admins can edit blog posts. For more details on how to create blog posts see Help:Blogs. We suggest leaving comments open on blog posts so that conversations can take place and feedback can be given.

Please categorize blog posts so that the blog lists on the website that are filtered will display your posts if they are relevant. For example categories, especially for Strategy posts, please see Strategy Categories. If you think there needs to be a category that doesn't exist, just categorize your page as that and the category page will be accessible and can easily be created soon after.

Categories[]

To add a category to an article or post when editing with one of the visual editors see Help:Category. If you are editing in source mode all you need to do is add the code [[Category: CATEGORY_NAME]] to the page. For example, adding [[Category:Theocrat Strategy]] to an article will allow it to be listed on the Theocrat Strategy page.

Templates[]

Templates are useful for continually adding the same image into text or creating consistent formatting that isn't built into the wiki already. Currently, the primary use of custom templates is for inline images such as Hit Points. A quick explanation and list of these templates is on the Image Templates page.

Another commonly used template on the wiki is the 3ColumnList template, which is convenient for automatically creating a large list in three columns. An explanation of that template and how to use it is located on this documentaion page.

A new template that might take some work of is the ShortLink template. This makes it slightly shorter to link to a header that has the same text as the link. See Template:SL/doc for details.

Tooltips[]

Main Article: Tooltips

Tooltips are used to give additional information without the need to click links or scroll up or down. However, they do provide a link to their own page, from where links within the Tooltip can be followed.

  • For Abilities, use {{Abil|((Ability Name))}}
  • For Units, use {{Unit|((Unit Name))}}
  • For Spells, Empire upgrades and their like, use {{Spell|((Spell Name))}}

For a detailed explanation on how to use or make the tooltips, see Tooltips.

Collapsible Sections[]

To create a collapsible section, the content must be enclosed with the div tags and be assigned the mw-collapsible" class. For the section to start collapsed the mw-collapsed class must also be added. Note that the section with the mw-collapsible-content class collapses and the text preceding it does not. This allows to make a header.

Note: When creating collapsible sections, the preview button in the editor will not render the section collapsible. It will ignore the classes and render the rest of the markup. Publishing is the only way to view the collapsible section.

Note 2: The visual editor seems to always want to add an extra blank line after the uncollapsible part (Boar in the example) upon each edit of the page. This does not seem to happen when Source Editor is the default.

The way the collapsible sections work has been slightly altered. There are now links at the top of all pages and the bigger sections that will collapse all subsequent sections, while they can also be collapsed individually. Note that all of these methods toggle being collapsed rather than expanding/collapsing the parts. The header looks like this:

<div class="collapsible-link mw-customtoggle-ID1 mw-customtoggle-ID2 mw-customtoggle-IDn">'''Show All'''</div>

The ID's given here refer to the ID's in the item's own collapsible sections. Generally speaking, they exist of a prefix indentifying the referred object:

Prefix u b ss cs eu
Item Unit Building Strategic Spell Combat Spell Empire Upgrade

After the prefix, all collapsibles are numbered. After the number, a suffix may follow, depending on the circumstances:

Suffix stats lore s
Item Unit Statistics Lore Entry Strategic Interest

There is a Masterswitch located at the top of the section. In our example, we will use a unit. The Masterswitches for a unit page look like this:

The individual entries will look like the following:

<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-u5stats">
===<div class="collapsible-link mw-customtoggle-u5stats">Boar</div>===
<div class="mw-collapsible-content">
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-u5lore">
<div class="collapsible-link mw-customtoggle-u5lore">'''Show Lore'''</div>
<div class="mw-collapsible-content">

'Boars are fiercely aggressive territorial creatures that like to burrow in holes deep under the ground. They charge down narrow tunnels, goring enemies trapped in their path. Dwarves have domesticated Boars as steeds, allowing them to traverse their underground kingdoms quickly and venture out to the surface. Boars have bad vision, but this is more than made up for with their excellent sense of smell.'

:::--''Boars, Burlap and Boredom'', by Boris the Bore

--------------
</div>
</div>
{{Boar|size=large}}
--------------
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-u5s">
<div class="collapsible-link mw-customtoggle-u5s">'''Strategic Interest'''</div>
<div class="mw-collapsible-content">
Boar are weak units, but fast and in possession of {{Abil|Forestry}}, which can make for an excellent scout in the absence of water. In combat, you need to make good use of {{Abil|Charge}} for maximized effect. The Boar is about as strong as a basic infantry unit, though weaker than shielded Infantry, and dealing less damage than the Overwhelm Infantry.
--------------
</div>
</div>
</div>
</div>

Note that the Boar is a unit, giving the collapsibles the "u" prefix, apparently is the 5th unit on the page, and contains a collapsible for the unit itself, one for its lore, and one for the strategic value, both of which have another masterswitch at the top of the page.

When creating new collapsible sections, be sure to accordingly update the masterswitch with the new ID's. Basically, this means that the mw-customtoggle-u5stats part of the new section has to be included among the other entries. While the order technically doesn't matter, maintaining good order makes life easier for any subsequent editors to the page. The above example will result in the following:

[]

'Boars are fiercely aggressive territorial creatures that like to burrow in holes deep under the ground. They charge down narrow tunnels, goring enemies trapped in their path. Dwarves have domesticated Boars as steeds, allowing them to traverse their underground kingdoms quickly and venture out to the surface. Boars have bad vision, but this is more than made up for with their excellent sense of smell.'

--Boars, Burlap and Boredom, by Boris the Bore

  

Unit: Boar RecruitOrigin: Animals
Tier I: 44 Hit Points 36 Movement 9 Defense 8 Resistance Cost: 40 Gold Upkeep: 4 Gold/Turn
Can be summoned with Summon Wild Animal (40 Casting Points 9 Mana/Turn)
Abilities:
  • The most in-elegant way to force a line break.
  • The most in-elegant way to force a line break.
Experience Ranks:

Boar are weak units, but fast and in possession of Forestry, which can make for an excellent scout in the absence of water. In combat, you need to make good use of Charge for maximized effect. The Boar is about as strong as a basic infantry unit, though weaker than shielded Infantry, and dealing less damage than the Overwhelm Infantry.


For the Boar, the ID's to be implemented in the masterswitches would thus be:

Unit Masterswitch(top of units section):

mw-customcollapsible-u5stats

Lore Masterswitch(top of units section, under the Unit masterswitch):

mw-customcollapsible-u5lore

Strategy Masterswitch(top of units section, under the Lore masterswitch, and top of the page, under the strategy masterswitch):

mw-customcollapsible-u5s

Which gives the total masterswitch:

<div class="collapsible-link mw-customtoggle-loremaster mw-customtoggle-ums mw-customtoggle-u5stats ">'''Click here to show all unit statistics'''</div>

<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-loremaster">
<div class="collapsible-link mw-customtoggle-u5lore">'''Click here to show all unit lore'''</div></div>

<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-ums">
<div class="collapsible-link mw-customtoggle-u5s">'''Click here to show all unit strategic details'''</div></div>

The Lore and Strategic Detail sections are to be shown only when the units are, so they are in a collapsable of their own, and their ID's are in the Mastersswitch. These are always loremaster and (prefix)ms.(stands for: main strategic). This will give the following result:

Note that these entries will manipulate the Boar example given above.

Advertisement