Difference between revisions of "Template:Curlie/doc"
Jump to navigation
Jump to search
imported>Koavf (There are no profiles on Dmoz) |
imported>Koavf (→Usage) |
||
| Line 5: | Line 5: | ||
== Usage == | == Usage == | ||
| − | |||
| − | |||
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. | 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. | ||
Revision as of 01:32, 20 July 2011
| This is a documentation subpage for Template:Curlie. It contains usage information, categories and other content that is not part of the original template page. |
Function
Link to Open Directory Project categories and profiles.
Usage
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 Open Directory 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: