Forum:What is this function?

So I've come accross a few fuctions that I can get my head around them and I can't find them by googling.

Title:: and

and Gender::

What does the double colon in general mean?

thanks in advance

Dem0n Hunter 09:32, April 20, 2012 (UTC)
 * Those are used in templates. For example, if [[File:]] is included in a template, then it means that you can insert to insert a picture &mdash;  S a m   Wang  09:50, April 20, 2012 (UTC)


 * No no I mean the double colon part. Sorry if it was vague but I asked at the end. and do you know what tags, they mean "reference" &mdash;  S a m  Wang  11:30, April 20, 2012 (UTC)


 * Yea, what confuses me is that I know we have [[File:filename]] for images but I don't know where Title:: or Gender:: came from which is weird.Dem0n Hunter 12:40, April 20, 2012 (UTC)

Double colons are often used with various features of the Semantic MediaWiki extension. If you give a link to where you've seen them, I could tell you if it's indeed SMW that utilizes them there. — Sovq 14:33, April 20, 2012 (UTC)

That looks like code for a semantic template design. In SMW-wikis, Gender:: means that, for a specific page that uses our template, the Attribute:Gender is set with whatever is given with the "sex" parameter of the template call. Read up more on smw:Help:Semantic templates.--PedroM 17:13, April 20, 2012 (UTC)
 * Also, Help:Cite.--PedroM 21:51, April 20, 2012 (UTC)


 * I saw them in WoWwiki http://www.wowwiki.com/Template:Npcbox and sorry I still don't get what's going on. I read the article but it's so vague. Dem0n Hunter 22:23, April 20, 2012 (UTC)


 * The special notation tells the Semantic Media Wiki part of the wiki to store extra information with the page where the template is used. In the example given it associates pages where the template is used with specific NPC titles (like "Mining Supplies") or NPC gender (female/male) so the various pages can be listed based on those properties.
 * WoWWiki isn't a great example of SMW usage, because although it sets lots of properties, there are very few examples of where SMW features are actually used.
 * Maybe someone who has used SMW more deeply can explain more clearly. -- Fandyllic (talk &middot; contr) 20 Apr 2012 4:38 PM Pacific


 * Honestly I doubt I'm gonna need the SMW features or w/e they are but I'd really like to understand how they work so maybe I can use them somewhere. I learn better using example instead of hard to understand words and definitions so if someone could show me a good example I'd appreciate it. Dem0n Hunter 01:16, April 21, 2012 (UTC)