Template:DMOZ

DMOZ at DMOZ

[edit] [history] [purge] Template documentation

FunctionEdit

Link to DMOZ categories and profiles.

UsageEdit

This template has two distinct formats for linking to DMOZ categories and DMOZ profiles.

CategoriesEdit

To link to a category, give the path to the category as the first parameter, and an optional name as the second parameter. If no name is provided, the template will use the name of the page.

{{DMOZ|Path/To/Category|Category's name}}

Make sure to remove the dmoz.org domain name and any leading or trailing slashes from the path; these will be provided by the template. For instance, the URI for Abraham Lincoln's DMOZ category is:

http://www.dmoz.org/Society/History/By_Region/North_America/United_States/Presidents/Lincoln,_Abraham/

so the path should be given as:

Society/History/By_Region/North_America/United_States/Presidents/Lincoln,_Abraham

Example:

{{DMOZ|Society/History/By_Region/North_America/United_States/Presidents/Lincoln,_Abraham|Abraham Lincoln}}

Appears as:

Template:DMOZ

ProfilesEdit

To link to profile rather than a category, include the word 'user' as a third parameter.

{{DMOZ|Your username|Your name|user}}

Example:

{{DMOZ|skrenta|Rich Skrenta|user}}

Appears as:

Template:DMOZ

Last modified on 17 April 2014, at 02:53