Difference between revisions of "AODB"

From Anarchy Online Wiki [AOWiki]
m
Line 8: Line 8:
 
===Usage===
 
===Usage===
 
Available options, etc.
 
Available options, etc.
 +
<br>
 +
'''Basic Use:''' &lt;aodb&gt;267257&lt;/aodb&gt;<br>
 +
*This provides only the icon, linked to aoitems.com, and the item's name on mouse-over. Default icon size is 48px square.
 +
*Example output: <aodb>267257</aodb>
 +
<br>
 +
'''Adjusting Size/Image Options:''' &lt;aodb opts="24px"&gt;267257&lt;/aodb&gt;<br>
 +
*To pass along wiki specific markup for images to the file, use the ''opts=""'' attribute.
 +
*Example output (opts="24px"): <aodb opts="24px">267257</aodb>
 +
*Example output (opts="24px|frame|none"): <aodb opts="24px|frame|none">267257</aodb>
 +
<br>
 +
'''Include Item's Name:''' &lt;aodb sidetitle="aoi"&gt;267257&lt;/aodb&gt;<br>
 +
*Include the item's name on the right side, and link it--either to itemsite or wiki page.
 +
*Example output, link to aoitems.com (sidetitle="aoi"): <aodb sidetitle="aoi">267257</aodb>
 +
*Example output, link to wiki page of item's name (sidetitle="wiki"): <aodb sidetitle="wiki">267257</aodb>
 +
 +
  
 
[[Category: AOWiki]]
 
[[Category: AOWiki]]
 +
[[Category: Help]]

Revision as of 04:26, 20 November 2017

AODB is a custom extension exclusively for the AO Wiki. This extension provides the tag <aodb> for inserting the name and icons for in-game items.

Update Notes

Icon DB Updates

  • Images/Names updated (AO Patch 18.8.23) as of Nov 17, 2017

Usage

Available options, etc.
Basic Use: <aodb>267257</aodb>

  • This provides only the icon, linked to aoitems.com, and the item's name on mouse-over. Default icon size is 48px square.
  • Example output: Dreadloch Tigress


Adjusting Size/Image Options: <aodb opts="24px">267257</aodb>

  • To pass along wiki specific markup for images to the file, use the opts="" attribute.
  • Example output (opts="24px"): Dreadloch Tigress
  • Example output (opts="24px|frame|none"):
    Dreadloch Tigress


Include Item's Name: <aodb sidetitle="aoi">267257</aodb>

  • Include the item's name on the right side, and link it--either to itemsite or wiki page.
  • Example output, link to aoitems.com (sidetitle="aoi"): Dreadloch Tigress Dreadloch Tigress
  • Example output, link to wiki page of item's name (sidetitle="wiki"): Dreadloch Tigress Dreadloch Tigress