Template:Curlie/doc

Revision as of 00:08, August 3, 2021 by en>A876 (-"note that". reworded note and moved it down.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Function

Link to the former DMOZ categories and profiles.

(AOL took DMOZ offline on March 14, 2017. This template maps to Curlie.org, a directory based on DMOZ, and maintained by the same editor community.)

Usage

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

Categories

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.

{{Curlie|Path_to/Category|Category's name}}

Make sure to remove the Curlie.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 Curlie category is:

https://curlie.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:

Markup Renders as
{{Curlie
 |Society/History/By_Region/North_America/United_States/Presidents/Lincoln,_Abraham | Abraham Lincoln}}

Any content in the article namespace which transcludes this template will be added to the tracking category Articles with Curlie links. Link checkers from both projects can ensure that these links work properly and reduce redundancy in our external links sections.

Profiles

To link to profile rather than a category, include |user as a third parameter.

{{Curlie|Your username|Your name|user}}

Example:

Markup Renders as
{{Curlie|skrenta|Rich Skrenta|user}}

Templatedata

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for Curlie

Link to former DMOZ categories and profiles.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Path1

Copy everything after 'https://curlie.org/' in the URL you want to link to. To link to a user profile, enter the username.

Default
Curlie/doc
Example
Society/History/By_Region/North_America/United_States/Presidents/Lincoln,_Abraham
Unknownoptional
Name to display2

no description

Example
Abraham Lincoln
Unknownoptional
Link type3

Put 'user' here to link to a user profile; leave blank to link to a category

Suggested values
user
Unknownoptional

See also