Curse

Curse Markup

We have completely revamped the markup used on the wiki, forums, and just about everywhere else. Everything is based off of MediaWiki markup. We will hopefully be including a WYSIWYG editor within the next week to make editing and posting a lot easier for beginners. Below are the changes to the mediawiki syntax.

  • The namespaces are portals shortnames (e.g. [[wiki:page]], [[wow:page]]) -- wiki is the current portal
  • The image namespace does not exist, but instead has been replaced with an <image> tag -- <image>id</image> (see below for full documentation)
  • Templates are currently not functioning
  • Categories are not available
  • The url namespacing is a tree -- /wiki/classes/warrior/spells/ puts the "Spells" page inside of Warrior, which is inside of Classes. This automatically creates the breadcrumb navigation. This is our replacement to categories.


<image> tag

The wiki [[Image:]] namespace has been replaced with an <image> tag. The text inside of the tag should be the ID from the image gallery.

Parameters:

  • width -- the width the image should be shown in (does not resample the image); default is ""
  • type -- the view type for the image, options are full, thumb, and default; default is "default"
  • alt -- the text to show for the caption of the image; default is the name of the image
  • align -- the side on which the image should be aligned, options are left and right; default is ""

Example: Characters

<item> tag

The <item> tag is used to call a link (with a mouseover tooltip) or a detailed tooltip for an item from a game database. The text inside of the tag should be the ID from the database.

Parameters:

  • type -- the view type for the item, options are tooltip and default; default is "default"
  • ns -- the namespace (portal) for the database; current values are vg and wow; defaults to whichever site you're on (or none if you're not on one of these portals)

Example:

77
Silver

Soulbound
Two HandsGreat Axe Weapon
Speed 2.8
Damage 148 - 345
(87.86 Damage Per Second)
+9 Strength
+12 Constitution
+7 Dexterity
+125 Hit Points
+54 Melee Damage
+81 Critical Melee Hit Chance
Weapon Bonus:
Critical hits gain double weapon damage.
Weight: 3.00
Item Level: 48
Required Class:

<file> tag

The <file> tag is used to call a link (with a mouseover tooltip) or a detailed tooltip for a file the downloads list. The text inside of the tag should be the ID from the database.

Parameters:

  • type -- the view type for the file, options are tooltip and default; default is "default"

Example:

@import url('v5/styles/core/115-tooltips.css?');
Downloads Today:2,665 Downloads Total:7,718,746

Brought to you by Curse.com

 
  • Comments

Add Comment  

Add

You need to login or register to post.

Benefits of Registration

  • Interact with hundreds of thousands of other gamers on an open social network.
  • Post your stories, news, images, videos, and other content to share.
  • Create a network with your fellow gamers or join an existing one.
  • Gain reputation for everything you do.
 
  • Syndication